css help
- Started
- Last post
- 12 Responses
- monkeyshine
help!! I'm working on this site and had everything working and checked in IE and my right column was pushed down and the nav was all skewed...so I worked on fixing in IE and now the nav looks ok in IE (I still have to fix the spacing) but in all the proper browsers there's all this space on the left. I can't figure it out. What am I missing?!
- kinetic0
looks the same to me in IE as it does in Firefox
i find in css / div layouts that anything that goes wonky is usually due to a sizing issue ... ie. something will be larger than its container, this really causes shit to fuck up
- aguillaume0
hmmm the only thing i could figure out was to give the margin-left a value of -8px instead of setting it to auto. i don't know why the space has showed up.. but i will keep fiddling around with it.
- monkeyshine0
thank you! I'll try the -8 margin. I love css but I hate it too...well, if IE would just die life would be so much easier.
- aguillaume0
yeah no problem. but i agree with kinetic.. actually i hadn't thought of that either about the image sizes. so i'd definitely recheck those. I agree with you too though.. IE should die.
- Dancer0
sorry I'm lost.
You talking about the nav on the left being pushed 20 or so Pixels further thab the input text box??
- monkeyshine0
Yes, Dancer! Without the list tag it was ok (http://www.wnpt.net/site2006/in... but when I started messing with the formatting and the list tag everything went all crazy. :/
- Dancer0
I would start with giving the padding a value of 0px on the navlist id, plus a 0px on the li elemnet as well.
Man do not even look at your site on IE for MAC...
:/
- monkeyshine0
ha! yeah, I just did. oy. The funny thing is that in IE/Mac the nav looks ok but everything else is a mess. I might have to go back to tables. :(
- Dancer0
Nooooo!!!
Trust me when you learn about the glitches and general shiteness of a desparte browser it will be fine. Just be aware of the box model hack and the float issues (IE doubles your margin left value when floated left in a floated div :/)
To iron out problems stripe back all your html using comment tags until you get each element sorted. You learn quick that way.
Trust me XHTML and CSS is the future of web design, learn it or loose out.
Good luck
!!
- jakeyj0
DO NOT GO BACK TO TABLES!
sounds like it might be a box model issue. google it.
i also usually try to use only margin on my layout elements. using various combos of margin and padding seem to screen things up.
- monkeyshine0
Thanks, guys. I'll keep working on it.