vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   <td>, <th>, <p>, <li> (Customized in this Style) (https://vborg.vbsupport.ru/showthread.php?t=113212)

chiaa 04-17-2006 03:18 AM

<td>, <th>, <p>, <li> (Customized in this Style)
 
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 04: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:

Code:

<div id="post_message_141" class="msgfont">
And place the CSS in Main CSS "Additional CSS Definitions" as:

Code:

.msgfont {
  font-family:verdana, helvetica, arial; /* or whatever font type you want */
  }

Or

Code:

<div id="post_message_141" style="font-family:verdana, helvetica, arial">
See if that works.

chiaa 04-17-2006 05: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:
Code:

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

Code:


<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&amp;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?


All times are GMT. The time now is 08:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01377 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete