Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Size of text in replies when showing threads (options)

by ambrus (Abbot)
on Nov 14, 2009 at 18:34 UTC ( #807163=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Size of text in replies when showing threads (options)
in thread Size of text in replies when showing threads

Sadly tr.reply-body ul.indent { font-size: 80% } won't work, because that applies doubly to replies of replies so the font of those is set even smaller, so deep threads get very unreadable. The old font tag worked because it set an absolute font size, whereas the "80%" in CSS is relative to the parent.


Comment on Re^3: Size of text in replies when showing threads (options)
Download Code
Re^4: Size of text in replies when showing threads (relative)
by tye (Cardinal) on Nov 14, 2009 at 18:57 UTC
    The old font tag worked because it set an absolute font size

    No, it wasn't. It worked because it only got inserted once. I feared this might get applied multiple times, hence the suggestion of adding a new div+class so that style can easily be applied and only once.

    - tye        

Re^4: Size of text in replies when showing threads (options)
by jdporter (Canon) on Nov 14, 2009 at 20:58 UTC

    Did you try tr.reply-body > ul.indent { font-size: 80% } ?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2014-09-19 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls