jscix Posted June 13, 2007 Share Posted June 13, 2007 Okay. First off thanks for any help in advance. My problems are: 1. I'm a CSS Noob. 2. My CSS only displays properly on Firefox (Windows) and not on IE (Windows) -- I haven't checked other browsers, yet. 3. When I resize the brower, the navigation will drop down a line, outside of the background box they are inbedded in. Questions: 1. Does anyone know what I need to do, to make this display on internet explorer, as it does on mozilla? 2. How do I fix this so that; when the browser is resized the navigation links, do not move? You can see the page at: http://www.novascene.net/layout.php (CSS is not in an external file.) Also my source is as follows: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Novascene.net</title> <link rel="shortcut icon" href="music.png" type="image/x-icon" /> <style type="text/css" media="screen"><!-- body { font-size: 11px; font-family: Verdana, Arial, SunSans-Regular, Sans-Serif; color:black; padding:0px; margin:0px; } a {color: blue;} a:visited {color:blue;} a:hover {color: blue;} a:active { color:blue;} #nav { display: block; width: 100%; height: 15px; background-color: #C0C0C0; } navlink { display: inline; width: 80px; height; 15px; background-color: #C0C0C0; border: 1px solid black; } navlink:hover { background-color: #C0C2C1; border: 1px dashed #000000 ; color: #000000; } </style> <html> <body> <img src="nvscene2.gif"><br> <div id="nav"> <font style="margin-left: 100px;"><a href="#test"><navlink>Test Link1</a></navlink></font> <a href="#test"><navlink>Test Link2</a></navlink></font> <a href="#test"><navlink>Test Link3</a></navlink></font> <a href="#test"><navlink>Test Link4</a></navlink></font> </div> <br><br> hi </body> </html> I would greatly appreciate ANY help. Thanks much. Quote Link to comment Share on other sites More sharing options...
play_ Posted June 13, 2007 Share Posted June 13, 2007 Not sure if this will solve the problem. But instead of using 'display:inline', do display:block; and put the links on a list. and do this navlist ul, navlist li { padding:0; margin: 0; float: left; list-style-type: none; } Quote Link to comment Share on other sites More sharing options...
Jago6060 Posted June 13, 2007 Share Posted June 13, 2007 I checked the site on IE and FF, both windows versions and it looks identical. Quote Link to comment Share on other sites More sharing options...
jscix Posted June 13, 2007 Author Share Posted June 13, 2007 Thanks for the replies everyone, Someone fixed it for me.. man oh man, I need to do alot more reading on css. ??? 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.