css bug.
- Started
- Last post
- 10 Responses
- mobius
hi there,
any css gurus out there that can help me with this?theres a problem with the list.
it doesnt align in ie6 but fine in other browsers.
- lvl_130
i think your thread title is wrong.
shouldn't it read 'ie6 bug with css.'?i'm pretty sure that if you google that up there^ you will come up with a solution. or try the search
button down there v.
- lvl_130
and by 'search button' i meant 'find', sorry :\
- slappy0
Haha thats a shit load of css for that one page.
- slappy0
oh and have a look at it in firefox on pc, style sheet breaks dude.
Dont have time to go through and fix it though as its beer oclock on friday arvo here.
- mobius0
i'm on pc firefox. no problems here.
the other stylesheet is for other pages you dont see.
- mobius0
isn't it a wee bit too early in perth for beer o'clock?
- Dancer0
Don't have IE but I would advise stripping out (/commenting out) all relevant content/CSS and placing solid 1px borders round each menu item
- Stugoo0
First off id start by declaring all your items at the start of the document that you are going to be using then bring your margins in from there..
i.e (grabbed this from one of my stylesheets)
ul {
margin: 0px 10px 10px 0px;
padding: 0px 0px 0px 0px;
}li {
font-size: 12px;
color: #666666;
font-weight: bold;
list-style: circle outside;
margin: 0px 0px 0px 25px;
}looking at your source code
you have li style=" " on the offending objects. try taking them out. it might save the day.on a further note you should try declaring the majority of the items at the top of the css doc too rg, h1, h2,h3, a, ul, li, p, and i normally have colour changing spans too.
- Stugoo0
ugh repeating myself, shouldnt have started drinking at lunch time yesterday...
- geralddean0
something funky is happening because of the div that is enclosing the image. Might have something to do with float:left.
All i did was add a couple of breaks after the image tag but before the closing div tag for that image. 4 to be exact.
Then the list items lined up properly.
its ugly, yes and unnecessary but it worked.