Jump to content

Probs w/other browsers


mandy1111
 Share

Recommended Posts

in your CSS

.navbar a:link {	color:#EEF3E5;	display: block;	line-height: 30px;}

try playing with the margin-bottom, since it is what you want in IE we can apply a hack to get it to be hte same in other browsers.

.navbar a:link {	color:#EEF3E5;	display: block;	line-height: 30px;                margin-bottom: 10px; /*FF*/                -margin-bottom:0px; /*IE*/}

Do you undersatand what I did? By placing a (-) in front of an attribute IE will only read this line and FF will ignore it. so you can set 2 different values for different browsers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...