View Full Version : <td>, <th>, <p>, <li> (Customized in this Style)
chiaa
04-17-2006, 04:18 AM
I want to change all the fonts except those located here:
<!-- message -->
<div id="post_message_141">I like that font -- the one above showing the titles</div>
<!-- / message -->
ie within a post/message.
If I change it in Extra CSS Attributes under <td>, <th>, <p>, <li> (Customized in this Style) to only one font family everything changes including the messages/post.
Any help will be greatly appreciated.
Freesteyelz
04-17-2006, 05:56 AM
Unless it's a global call, you can override the CSS settings within the <div> or even <span> tags. Since the <div> in your example has an ID you can add a class attribute such as:
<div id="post_message_141" class="msgfont">
And place the CSS in Main CSS "Additional CSS Definitions" as:
.msgfont {
font-family:verdana, helvetica, arial; /* or whatever font type you want */
}
Or
<div id="post_message_141" style="font-family:verdana, helvetica, arial">
See if that works.
chiaa
04-17-2006, 06:55 AM
(This auto edit double post thing sucks so I deleted what was previously written so what help I now need is not lost in the jungle...)
Ok so I have the following in CSS definitions:
.smallfont
{
font-family: comic sans ms;
}
And this affects:
<div>
<a href="forumdisplay.php?f=29"><strong>The Twitching Liver</strong></a>
</div>
<div class="smallfont">Reviews, opinions and disussions on bars, restaurants and clubs in the ROK</div>
</td>
Now with this:
<div class="smallfont" align="left">
<div style="clear:both">
<img class="inlineimg" src="images/icons/icon1.gif" alt="" border="0" />
<a href="showthread.php?goto=newpost&t=23" title="Go to first unread post in thread 'testing'"><strong>testing</strong></a>
</div>
I want to have "testing" not be limited to just comic sans ms so I wrote:
.clear:both
{
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
That did not work (you already know that).
Idea to do what I want to accomplish?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.