I am using CSS2 and several things are not working in IE5.5 such as page-break-after:always. Does anyone know if CSS2 is not supported in IE5.5 or if there is something I need to do to make it work. Thanks.
Leslie
This may not be a problem with CSS2 support and possibly a problem with the media of your stylesheet. The page-break-after style is a print property and hence has to be defined for use a style when printing. To specify the media of your external stylesheet try this
or for a block of style commands for use when printing within an external stylesheet use
@media print{
p{page-break-after:always;}
}
There are two options for the media "screen" or "print". For a print style command to work like page break it must be specified for use when printing.
Also of interest is that NS4 doesnt recognise the @media block in a stylesheet so wont use any of the styles inside it. I actually find this more of a help than a hinderance at it allows me to specify IE and NS6 specific styles without having more than one stylesheet. For example
@media screen{
p{color:#ff0000;}
}
would make paragraphs red on screen but not in NS4 only in IE5+ and NS6
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.