Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By horix on
i created my theme using mostly CSS, where the body of the box is a TD with class=boxbody. in that i set a font size, but for certain modules (i.e. forum, members, poll) when it generates the conetent it ignores those settings and the font is some huge thing. anyone know what the deal is?
p.s. i'm using IE in WinXP Pro. on my friends Linux box with Gaeleon it looks fine...
--
horix
horix@wornpath.net
Comments
Table inheritance
For some reason, tables do not inherit the font properties of their parent element. You could try the CSS rule:
table, tr, td { font-size: inherit; }
But afaik it doesn't work on IE.
This could be a better solution:
td.boxbody td { font-size: your size here; }
re: my hero
yeah, so youre offically my hero. thanks dude i was not looking forward to reading a CSS book to figure out my problem...
One more CSS thing
in my site i have all the blocks in a right column in a TD, and in IE the width tag isnt inherited.. i tried using
td.rightcolumn td { width: 150px; }
but that didnt work.. is it different for width?
horix