3 replies [Last post]
asengh
asengh's picture
Offline
Enthusiast
Last seen: 15 years 20 weeks ago
Joined: 2006-11-25
Posts: 107
Points: 0

site: http://kttm.freehostia.com/sikhsoul/index.html

Problem: on both IE and FF you can see that I have some kind of a UL or LI problem. I can't get my head round it? I thought it would be colapsing margins but when I style the lists and unordered lsists to margin: 0 then still it is to no avail. And I think IE has an extra problem on having a gap between the bottom of the navs and the top of the serach div.

Please assist.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 1 year 40 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

You have to control both the

You have to control both the left padding and left margins on ULs because browsers are at liberty to use either for an indent and IE uses one while the others use, er, the other. This is perfectly valid and allowed but you must therefore allow for both in your CSS if you want to remove the indents.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 8 years 39 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

add this to your

add this to your stylesheet:

ul li a img {
vertical-align: bottom;
}

asengh
asengh's picture
Offline
Enthusiast
Last seen: 15 years 20 weeks ago
Joined: 2006-11-25
Posts: 107
Points: 0

Sorted!!!! Thanks for all

Sorted!!!!

Thanks for all your help.