...

View Full Version : FF IE and Opera css differences



likon
12-27-2007, 08:49 PM
could somebody help me to make this left pop out menus come up in the same line as IE and Opera ?
if you notice in FF, the pop out menus is down a lil bit...... from the parent. Idk how to describe this.. hahaa.. please look at this pic

http://img86.imageshack.us/img86/7894/aaxj2.jpg

and here is the css....i also have problem on text-indent:... why is it not working? does my css work effectively? any suggestion?THANKS guYs

<style type="text/css">

#dropmenudiv{
position:absolute;
font:normal 11px Arial;
line-height:25px;
z-index:100;
border-style: solid;
border-width: 1px 1px;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
padding: 0;
text-decoration: none;
font-weight: normal;
color: black;
border-bottom-width: thin;
border-top-width: thin;
background-color:white;
z-index:100;

}

#dropmenudiv a:hover{ /*hover background color*/
background-color: #A07E40;
}

</style>

effpeetee
12-27-2007, 09:00 PM
We really need either the full code or better still a url (site) address to view the page.
How do you expect us to help you with only the css.

Frank

VIPStephan
12-27-2007, 11:37 PM
Put a proper doctype (http://www.alistapart.com/stories/doctype/) in your document ((X)HTML strict) and then validate your code (http://validator.w3.org/). Clean, valid, and semantic code (http://brainstormsandraves.com/articles/semantics/structure/) is the foundation to a cross browser compatible website.

For more specific advice refer to Frank’s reply.

felgall
12-28-2007, 08:59 AM
If that is all the relevant CSS then default margins and padding may explain the different placement.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum