hansolo Posted August 9, 2009 Share Posted August 9, 2009 <html><head><text type="text/css">body {color:black}</head><body><h1>hello</h1></body></html>same problem im having for some reason to my error in my code the css is not recognised (body {color:black}) Link to comment Share on other sites More sharing options...
jeffman Posted August 9, 2009 Share Posted August 9, 2009 <style type="text/css">body {color:black}</style> Link to comment Share on other sites More sharing options...
hansolo Posted August 9, 2009 Author Share Posted August 9, 2009 thanks alot <head><style type="text/css">body {color:black}</head>thanks you very much thats sorted the problem...do u know how i can make the rollover on href tag with underline to appear h1{text-decoration:underline; color:red; font-size:"14"; font-family:"Times New Roman Georgia";}cheers Link to comment Share on other sites More sharing options...
jeffman Posted August 9, 2009 Share Posted August 9, 2009 The color property changes the text. Use background-color for the background color:<style type="text/css">body {background-color:black}</style>Be sure to use the closing </style> tag, also.A good CSS reference can be found here: http://www.w3schools.com/css/css_reference.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.