http://www.perlmonks.org?node_id=357941


in reply to Re: Re: Setting font size for reading nodes
in thread Setting font size for reading nodes

the visible root node is in a td of class main_content.

the replies are in table tags inside that same td.

This CSS will do the trick
td.main_content, td.main_content table { font-size: 14px; }

He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/

Replies are listed 'Best First'.
Re: Re: Re: Re: Setting font size for reading nodes
by ggg (Scribe) on Jun 01, 2004 at 14:09 UTC
    I presume your code goes into an external style sheet rather than "On-Site CSS Markup"?

    Do you know whether th On-Site code or the external stylesheet will take precedence?

      I'd say it would depend on how the browser loads the css (?)

      AFAIK, CSS is processed linearly, so if an entry appears twice, the last one will overwrite the previous ones. Since here the link for the external css is above the onsite markup, I would assume that the onsite markup should overwrite any of the external settings.

      Of course, this is all just guessing, so don't quote me on that.

      you can test this by setting certain values in both an external file and the onsite css and see who's got final word.


      He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

      Chady | http://chady.net/
        I tried that, Chady, but there is something about external CSS files that I haven't gotten right yet, so I couldn't make the determination. I'll get back to it when I have more time. Thanks for your input!
        ggg