[OFF TOPIC] CSS text-align property

Chris Bunch chris at bayswaterfarm.com
Wed May 15 22:55:36 PDT 2002


A few things you might check:

1. Have you balanced your <p align="justify"> tags with a </p> tag at the
end of each paragraph?

2. Validate your CSS at http://jigsaw.w3.org/css-validator/

3. Validate your HTML at http://validator.w3.org/

4. http://www.webreview.com/style/ has browser compatibility charts which
detail which CSS feature are and are not supported by various browsers

hth

C
____________________



> 
> I'm preparing to release a new Frontier-driven web app within our intranet.
> But I'm still struggling with browser-dependent interpretation of
> stylesheets.
> 
> For MSIE I am rendering justified text blocks using:
> 
> <p align="justify">
> 
> And it works all the time.
> 
> 
> With Netscape (windows, version 4.75), the standard CSS format gives
> inconsistent results:
> 
> text-align: justify;
> 
> For some reason, only some of the text blocks in Netscape are fully
> justified. Others are left justified. Nothing seems amiss when viewing the
> HTML. If I resize the window to force Netscape to re-render, the text blocks
> which render properly will change.
> 
> Any ideas of what would cause this?
> 
> 
> The full CSS spec is:
> 
> .abstract { font-size: 100%;
>           line-height: 140%;
>           font-family: Verdana, Arial, Helvetica, sans-serif;
>           text-align: justify;
>           text-indent: 15px }
> 
> I apply it within a <span class="abstract"> tag.
> 
> TIA,
> 
> mpm
> 
> 




More information about the Frontier-Users mailing list