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

Re: Re: Re: Setting font size for reading nodes

by Chady (Priest)
on Jun 01, 2004 at 06:08 UTC ( #357941=note: print w/ replies, xml ) Need Help??


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/


Comment on Re: Re: Re: Setting font size for reading nodes
Download Code
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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (15)
As of 2014-08-27 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (247 votes), past polls