sarahstrange
01-02-2007, 10:42 PM
my font and background wont work. could you please tell me what im doing wrong?
http://www.geocities.com/sorrowstrange/index.html
http://www.geocities.com/sorrowstrange/index.html
|
View Full Version : my font and background wont work? sarahstrange 01-02-2007, 10:42 PM my font and background wont work. could you please tell me what im doing wrong? http://www.geocities.com/sorrowstrange/index.html newbi 01-02-2007, 11:47 PM Try closing the bracket - } - after your A:hover declaration. A:hover { text-decoration: line-through; color:#000000; } body etc. Hope that helps. sarahstrange 01-03-2007, 09:07 PM thanks! the brakets were the problem. newbi 01-03-2007, 10:28 PM You're welcome, Sarah. Glad I could help. Just a few more observations for your page: All the style declarations should generally go into the <head> section of your html, not in the <body>, as they are at the moment. You gave the same id to both of your divs (and I can't find where you actually refer back to them). Ideally, you should avoid using the same id multiple times within one page and instead, use either different ids or a class. Most of the style declarations for your two divs (with the exception of some positioning unique to each) are identical - you might want to move those into a single declaration for any div (as those two are your only divs at the moment) and then use ids to specify the positioning for each div. And finally, you could move all of the style declarations together - i.e. move it from inline by your divs to within the <style> </style> tags with the rest. I hope you don't mind me taking a look. These are purely suggestions to perhaps give you a bit lighter and cleaner code. Good luck. |