PDA

View Full Version : IE6 crash with CSS



dvilimek
Jan 14th, 2009, 04:37 AM
Hi there,

I'm having issues with a webpage of mine. I've isolated the issue to the CSS code (below). I've tried researching this, but to no avail. The page works perfectly with IE7, Firefox, and Safari. But it crashes in IE6 (tested on two computers). Any suggestions?

Thanks.





body {
background-color: #000000;
padding:20px;
margin:0px;
text-align: center;
}

#content {
text-align: left;
vertical-align: middle;
width:1020px;
margin: 0px auto;
padding: 0px;
background-color: #bed876;
}

#index-01_ {
height:50px;
width:1020px;
background-color: #bed876;

}

#index-02_ {
position:inline;
left:0px;
}

#index-03_ {
position:inline;
background-color: #bed876;

}

#index-04_ {
position:inline;
text-align: center;
}

#index-05_ {
position:inline;
background-color: #bed876;

}

#index-06_ {
position:inline;
text-align: center;
}

#index-07_ {
position:inline;
text-align: center;
}

#index-08_ {
position:inline;
background-color: #bed876;
height:30px;
width:1020px;


}

Excavator
Jan 14th, 2009, 04:44 AM
Hello dvilimek,
Have a look at the validator -http://jigsaw.w3.org/css-validator/validator -more about validating in the links in my sig below.

Where did you come up with position:inline;? What is it your wanting it to do for you?

dvilimek
Jan 15th, 2009, 04:02 AM
Thanks Excavator -- the CSS validation tool is a great resource.
Much appreciated.