Peter Bradley wrote:
> I have a problem again with IE6 and 7. I'm doing a demonstration form
> but can't get the second fieldset to right align in either IE6 or IE7.
> The HTML and CSS both validate and I've tried some conditional comments,
> which have worked for some other problems, but not for this.
>
> Also, the conditional comments opening and closing lines are showing in
> all versions of IE including IE8 (but not in other browsers). This
> suggests a mistake in the conditional comments, but I've looked at it
> all ways and I can't see it.
>
>
>
> http://www.peredur.net/tt280/pb88_sp.htm
>
>
>
> Peter
>
>
In your style sheet you have this hack from a couple of weeks ago:
/*Bit of nonsense for IE6 */
* html #wrapper {
width:975px;
margin: 0 auto;
}
Leave that hack in the style sheet. Immediately above it put these hacks:
*:first-child+html #wrapper {
width:975px;
margin: 0 auto;
} /*4 IE/7.0)*/
*:first-child+html fieldset.top-positioned {float: left; } /*4 IE/7.0)*/
* html fieldset.top-positioned { position: relative; zoom: 1;} /*4
IE/76.0)*/
Delete the CC and its content. If you actually need those hacks (I
didn't check) put them in the style sheet for now.
Reference: spend some time here...
<http://www.satzansatz.de/cssd/onhavinglayout.html>
<aside>
Points are not used to set type for the screen.
</aside>
Best,
~d
--
desktop
http://chelseacreekstudio.com/
mobile
http://chelseacreekstudio.mobi/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/