Old 29-05-2008, 21:08   #1 (permalink)
Ehab
Registered User
 
Ehab's Avatar
 
Join Date: Apr 2008
Location: San Diego, CA
Posts: 55
ie6 horror

after finally double-checking everything, testing in firefox and ie7 as i thought most sane ppl would do, zipping everything together and sending it over to the client and getting half-paid, i was told yesterday that the website does not work in IE6 as it should. and surely enough, i checked it and it looks like crap. i wanted to make the argument that not too many ppl use ie6 anymore and then i checked the w3school statistics on it and theres a considerable percentage of ppl out there still using that shit-rendering browser. so i think im gonna have to fix this. the thing is, i have no idea what i coded wrong, it is my first attempt at hand-coding xhtml and css. i was wondering if anybody here can give me a hand or point me in the right direction ?? or do i just trial and error different things until i get it right ?? the website i need to fix is here. everything is thrown very nicely to the right in ie6 and a lot of divs are not aligned properly and some are pushed all the way down to the next line making it all very abstract looking..
  Reply With Quote
Old 29-05-2008, 21:24   #2 (permalink)
Shiro
shiro
 
Shiro's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,551
You can use the Internet Explorer Web Developer Toolbar to see what is going on on the page. It's not as good as the web developer toolbar for FF, but it's better than nothing.

Then, you can use conditional comments to create an IE6 only stylesheet, making whatever changes necessary to make your site work in IE6. By using conditional comments, anything you put in that stylesheet will only affect IE6 and nothing else (as long as you make it an IE6 conditional comment).
__________________
This space for rent.

Dads Japan
Dudes Japan
  Reply With Quote
Old 29-05-2008, 21:50   #3 (permalink)
karmedic
id
 
Join Date: May 2008
Location: Ottawa
Posts: 217
I seem to recall margin: auto not getting computed correctly in some modes for IE6. Getting around that (with CSS) involved setting the text-align to center. Could be wrong on that ...

More importantly, though, is the float: left on each container. Any particular reason for that? All containers are block (i see you are not floating the li's in the ul's so the i think the ul should still be inline) so you should get a natural wrap of content. This might be more palatable to IE6 - it needs all the help it can get

Those are my guesses ... hope it helps.
  Reply With Quote
Old 29-05-2008, 22:25   #4 (permalink)
Shiro
shiro
 
Shiro's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,551
text-align is deprecated and as such shouldn't be used.
__________________
This space for rent.

Dads Japan
Dudes Japan
  Reply With Quote
Old 29-05-2008, 23:30   #5 (permalink)
roto
Floating libation anyone?
 
roto's Avatar
 
Join Date: Apr 2003
Location: El Barco del Amor
Posts: 4,600
Send a message via AIM to roto Send a message via Yahoo to roto
Browsershots will be your friend through this process. Good luck!
__________________
fun: HGC v.4 | last.fm: DT | me | oi! f*ck u roto: ...via meebo!

New to interweb design? Your friends at dt can help.
  Reply With Quote
Old 30-05-2008, 06:59   #6 (permalink)
karmedic
id
 
Join Date: May 2008
Location: Ottawa
Posts: 217
@haku - text-align is deprecated? I see that <center> and <div align="center> is deprecated on the W3C (Alignment, font styles, and horizontal rules in HTML documents) but they do list the CSS property of text-align as valid for 2.1 (Text and on preceding link).
  Reply With Quote
Old 30-05-2008, 09:44   #7 (permalink)
Shiro
shiro
 
Shiro's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,551
I don't know what I was talking about when I wrote that post! Text-align isn't deprecated, and I actually use it a fair bit myself!

Chalk it up to a temporary attack of stupidity.
__________________
This space for rent.

Dads Japan
Dudes Japan
  Reply With Quote
Old 30-05-2008, 21:17   #8 (permalink)
Ehab
Registered User
 
Ehab's Avatar
 
Join Date: Apr 2008
Location: San Diego, CA
Posts: 55
thanks for the input guys, i think i figured it out. IE6 was doubling all the margins i put on for some reason, it doesnt do good with margins i think. so i padded the main containers instead and took the margin settings off. looks ok for now, good enough for the client. good call on that unreasonable floating of everything, karmedic.. i got a little trigger happy with the 'float' thing thought i needed it for every div. i took it off most of them and they still look fine. and that browsershots website was very usefull too, thanks roto. i actually had to install ms virtual pc and downloaded a 1.3GB windows xp image loaded with ie6 just so i could test everything locally. but i guess all i need with browsershots is a little hosting space somewhere, signed up for some on 110mb.com. thanks again guys, this forum continues to prove very helpful indeed
  Reply With Quote
Old 31-05-2008, 09:16   #9 (permalink)
karmedic
id
 
Join Date: May 2008
Location: Ottawa
Posts: 217
Excellent! For different flavours of IE on the same machine you can also try:

evolt.org - Browser Archive

browsershots + 110mb is certainly a great way to go too.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8