FlyingIsFun1217 Posted June 10, 2008 Share Posted June 10, 2008 Hey! Kinda strange; I've got some css that was working before, but seems to only want to do certain things now. In the following code: div.boxSingle { padding: 5px; background: #E4E3FE; border: 2px solid #666581; width: 100px; font-family: georgia; color: #47465A; } div.boxDouble { padding: 5px; background: #E4E3FE; border: 2px solid #666581; width: 200px; font-family: georgia; color: #47465A; div.imageTitle { color: #47465A; text-decoration: underline; font-weight: bold; } body { background-color: #F1F1FE; } p { color: #47465A; } h1 { color: #47465A; } a:link { color: #4F6A90; text-decoration: underline; font-family: georgia; } a:visited { color: #374A64; text-decoration: underline; font-family: georgia; } a:active { color: #374A64; text-decoration: underline; font-family: georgia; } a:hover { color: #374A64; text-decoration: underline; font-family: georgia; } <html> <head> <link rel="stylesheet" type="text/css" href="styles.css"> <title>Simple PHP Gallery</title> <meta name="description" content="Simple image gallery using PHP"/> </head> <body> <center><h1><a href="http://flyingisfun1217.byethost9.com/gallery/">Simple PHP Gallery</a></h1></center> <hr> <center><table><tr><td><table><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=For Me.jpg">For Me</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=Gardening.jpg">Gardening</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=Grass.jpg">Grass</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=Mellow.jpg">Mellow</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=River.jpg">River</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=Sunglasses.jpg">Sunglasses</a></td></tr></table></td></tr></table><br><br><div class="boxSingle"><a href="http://flyingisfun1217.byethost9.com/gallery/index.php?page=2">Next Page</a></div></center><hr><center><p>Site created by <a href="http://www.MechGame.co.nr/">FlyingIsFun1217</a> <b>|</b> <a href="http://flyingisfun1217.byethost9.com/gallery/logout.php">Log Out</a> <b>|</b> <a href="http://flyingisfun1217.byethost9.com/gallery/admin.php">Admin Interface</a></p></center></body></html> It should be changing the fonts and colors for links, the background color, etc., but all it seems to do now is give me a div box for my links at the bottom... Thanks for the help! FlyingIsFun1217 Quote Link to comment Share on other sites More sharing options...
FlyingIsFun1217 Posted June 10, 2008 Author Share Posted June 10, 2008 Well, IE seems to display it as expected, just not mozilla. Even tried clearing out my user data, and it still shows up like that... Is some of the CSS non-mozilla conformant (or not strict CSS)? I'll check with some other sites. Thanks! FlyingIsFun1217 Quote Link to comment Share on other sites More sharing options...
FlyingIsFun1217 Posted June 10, 2008 Author Share Posted June 10, 2008 Good 'ol IE, fixing my errors... Just missing a closing bracket. Thanks guys! FlyingIsFun1217 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.