garyblackpool Posted October 20, 2009 Share Posted October 20, 2009 hi there is probably a very simple anser but i just cant figure it out. Css does not seem to be applying to my text.Thanks for help. <style type="css/text">p#title { color:red; } </style> </head> <body> <div><img src="../images/logopipa.jpg" /> <p id="title">The Origanal Fashion Doll</p> </div> </body></html> Link to comment Share on other sites More sharing options...
dsonesuk Posted October 20, 2009 Share Posted October 20, 2009 it looks, and works fine for me?whoa? wait! problem is type="css/text" should be type="text/css". Link to comment Share on other sites More sharing options...
jeffman Posted October 20, 2009 Share Posted October 20, 2009 Oops. dsonesuk is onto something. Link to comment Share on other sites More sharing options...
garyblackpool Posted October 20, 2009 Author Share Posted October 20, 2009 Yes its working fine now, thanks very much did not notice that at all. Link to comment Share on other sites More sharing options...
sempervirent Posted October 20, 2009 Share Posted October 20, 2009 If you want to make your life a little easier (and make your code a bit more semantically correct) you can also use an H1 tag instead of using paragraph tags for page title. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.