PDA

View Full Version : [CSS] Site does not work in IE6



NeoDreamer
September 3rd, 2007, 11:45 PM
My CSS works for FF and IE7, but not IE6. So I validated my CSS at http://www.hermish.com/css_form.cfm . It said that I should not use the following for IE6:

1) Dynamic pseudo class selectors
2) Min-width

First of all, what does "dynamic psuedo class selectors" mean?

Also, if I'm not allowed to use min-width, what are ways around it? I don't want the page to crunch up when the user's browser width gets too small.

MTsoul
September 4th, 2007, 07:03 PM
You got a specific piece of code or problem?

Esoltas
September 4th, 2007, 07:17 PM
Well, these are pseudo classes:
http://www.htmldog.com/guides/cssintermediate/pseudoclasses/
Do you have anything that could be considered a dynamic selector, or just a selector, for any of these? Yes, W3c's validator puts out enigmatic results, but you have to take it apart.
I'm assuming that you're not willing to use width because your layout is partially liquid. What I would do is just use min-width anyway and let IE6 users squish their layout as they please. Most don't read that condensed anyway.
If you're really concerned, http://www.alistapart.com/articles/switchymclayout "SwitchyMcLayout" is a good article for you. :beer:

NeoDreamer
September 5th, 2007, 12:16 AM
I took those two forbidden items out and the site is still crippled in IE6.

Does anyone know a website that tells you the rules of how to get your site to work in all browsers? I never could figure this out.

MTsoul
September 5th, 2007, 12:05 PM
You test it in every browser.

MaggieBroon
September 5th, 2007, 12:28 PM
I've come to learn that a lot of IE6 issues that happen to me are either because of not clearing floats or because of margin/padding inconsistencies with other browsers.

Im not saying that all thats ever wrong, just that those are the things that cause IE6 to break most with sites Ive done.

NeoDreamer
September 5th, 2007, 04:45 PM
The problem with testing it on all browsers is that a standalone browser will run differently from an installed one. Take a look at how Digg runs on a standalone IE6 browser downloaded from eVolt.

http://img394.imageshack.us/img394/5820/untitled1ox1.th.gif (http://img394.imageshack.us/my.php?image=untitled1ox1.gif)

It looks fine when I view it on my friends installed IE6. I think that only one installed version of IE may be installed at one time, so you cannot possibly test on multiple installed versions of IE. I just happened to have IE7 installed.

Basically, any liquid layout site will not work on a standalone IE6, and one of the requirements from my boss is that I have to make liquid layouts.

ratherblue
September 5th, 2007, 05:43 PM
to get around min-height issues you can use javascript to set the height of a div after you load the page.

psuedo class selectors you dont really need to worry about imo.