When you load the following code in I.E it comes with the desired effect. But when it comes to Chrome it all overlaps.
My main browser is chrome and I never normally get any problems.
CSS CodeCode:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15"> <link rel="stylesheet" type= "text/css" href="mystyle.css"> <title>What the Digerati Know</title> </head> <body> <ul id=”button”> <li><a href="index.html">Advatnages of Goats</a></li> <li><a href="bof.html">Benefits Of Goats</a></li> <li><a href="cmos.html">Common Methods of Goat Herding 1</a></li> <li><a href="cmos.html">Common Methods of Goat Herding 2</a></li> </ul> <p> TEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTXT TEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTXT TEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTXT VTEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTX TEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTXT TEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTXT TEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTXT TEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTXT TEXTTEXTETXTETXTXTXTXTXTXTXTXTXTXTXT </p> </body> </html>
Anyone who can help it would be grateful.Code:body { background-color:#B0B0B0; text-align: center; /* For IE */ } #button { padding: 0; margin: 0 auto; width: 900px; } #button li { display: inline; } #button li a { font-family: Arial; font-size:16px; text-decoration: none; float:left; padding: 15px; background-color: #2175bc; color: #fff; } #button li a:hover { background-color: #2586d7; margin-top:2px; padding-bottom:13px; } p { border-style: solid; width: 800px; margin: 0 auto; padding-top:25px; padding-bottom:25px; padding-right:50px; padding-left:50px; margin-left:auto; margin-right:auto; }


Reply With Quote




Bookmarks