[LDraw-tech] Firefox unable to handle our formating?

Dan Boger dan at peeron.com
Mon May 1 10:15:41 EDT 2006


On Mon, May 01, 2006 at 01:31:33PM +0200, LDraw wrote:
> hi, 
> with firefox 1.5.0.2 I get no bold/large text. for example check out
> the heading: "James Jessiman Memorial Award" on page:
> http://www.ldraw.org/modules.php?op=modload&name=News&file=article&sid=222
> though I formated it with: <p><div style="font-size:large;
> font-weight:bold;">James Jessiman Memorial Award</div><br> see also
> the headings on the tutorial pages. all plain text! it works fine with
> explorer. 

Dumping the style info FF sees for that line, it doesn't seem to see
your div apply at all.  Probably because there's the two "font" tags
within the div - so they are overriding it, I guess?

Style Information - http://www.ldraw.org/modules.php?op=modload&name=News&file=article&sid=222
http://www.ldraw.org/themes/Ldraw/style/styleNN.css

.pn-art    (line 58)
{
    background-color: transparent;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    -x-background-x-position: 0%;
    -x-background-y-position: 0%;
    -moz-background-clip: -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 8pt;
    line-height: 1.5;
    font-size-adjust: none;
    font-stretch: normal;
    color: rgb(25, 25, 25);
    text-decoration: none;
}


http://www.ldraw.org/themes/Ldraw/style/style.css

.pn-art    (line 193)
{
    background-color: transparent;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    -x-background-x-position: 0%;
    -x-background-y-position: 0%;
    -moz-background-clip: -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 10pt;
    line-height: 1.5;
    font-size-adjust: none;
    font-stretch: normal;
    color: rgb(25, 25, 25);
    text-decoration: none;
}

-- 
Dan Boger
dan at peeron.com


More information about the LDraw-tech mailing list