CSS in XTMLH

Reply

Join Date: Apr 2007
Posts: 10
Reputation: SAMSEIED is an unknown quantity at this point 
Solved Threads: 0
SAMSEIED SAMSEIED is offline Offline
Newbie Poster

CSS in XTMLH

 
0
  #1
Apr 20th, 2008
Hi


I have no clue why I am not able to color the <p> </p> portion of this website. This code: p { Color: red;} should make all paragrahps red color, but I have no clue why it does not work Here is the entire code below:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  4.  
  5.  
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  8. <title>S&Z Autos, LLC</title>
  9. <style type="texte/css">
  10. p { Color: red;}
  11.  
  12.  
  13.  
  14.  
  15. </style>
  16. </head>
  17. <body>
  18. <h1>Welcome to S&Z Autos</h1>
  19. <p>
  20. Our mission is to make sure our customers are satisfied for the vehicle they purchase from us.
  21. more that 60% of our customers are repeat customers. Our mission is to tell our customers everything we know about the vehicle that he/she is
  22. interested in.
  23. </p>
  24. </body>
  25. </html>

thanks

Sam
Last edited by peter_budo; Apr 20th, 2008 at 7:25 am. Reason: Keep It Organized - please use [code] tags
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 3
Reputation: ozwebfx is an unknown quantity at this point 
Solved Threads: 1
ozwebfx's Avatar
ozwebfx ozwebfx is offline Offline
Newbie Poster

Re: CSS in XTMLH

 
0
  #2
Apr 20th, 2008
G'day! Simply replace "texte" with "text"
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: CSS in XTMLH

 
0
  #3
Apr 22nd, 2008
Upper case is also not allowed in tag, style, and attribute names and values. Replace Color with color.
Last edited by MidiMagic; Apr 22nd, 2008 at 3:52 am.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC