Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Setting font size for reading nodes

by ggg (Scribe)
on Jun 01, 2004 at 05:01 UTC ( [id://357931]=note: print w/replies, xml ) Need Help??


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

Thanks for the suggestion, davido, but it doesn't seen to change anything - not even stuff in "code" tags. >sigh<
ggg
  • Comment on Re: Re: Setting font size for reading nodes

Replies are listed 'Best First'.
Re: Re: Re: Setting font size for reading nodes
by Chady (Priest) on Jun 01, 2004 at 06:08 UTC

    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/
      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/

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://357931]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-23 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found