garyblackpool Posted October 20, 2009 Report 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 Report Share Posted October 20, 2009 (edited) it looks, and works fine for me?whoa? wait! problem is type="css/text" should be type="text/css". Edited October 20, 2009 by dsonesuk Link to comment Share on other sites More sharing options...
jeffman Posted October 20, 2009 Report Share Posted October 20, 2009 (edited) Oops. dsonesuk is onto something. Edited October 20, 2009 by Deirdre's Dad Link to comment Share on other sites More sharing options...
garyblackpool Posted October 20, 2009 Author Report 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 Report 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now