Connect with Facebook
Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Hacks & Questions


Please Register to get full access to the forums.
Reply
 
LinkBack Thread Tools Display Modes
Old 12-04-2008, 04:50 PM   #1
vBulletin Owner
 
Join Date: Dec 2008
Posts: 8
Techmonkey will become famous soon enough
Any ideas why this CSS has no affect on FF but does on IE?

I am customising some menu's and have the following code:

Code:
<td class="thead"><div id="tm_forumnav_head"><a href="http:www.mysite.co.uk/dev2/forums/forumdisplay.php?f=3">Information</a></div></td>
In my header template.

Then I have this CSS in the "Additional CSS Definitions" section:

Code:
#tm_forumnav_head { font-weight: bold; font-size: 30pt; }
In IE7 everything is fine. In Firefox, it is as though the CSS is completely ignored?

Any ideas?

Last edited by Techmonkey; 12-04-2008 at 04:52 PM. Reason: ooops
Techmonkey is offline   Reply With Quote
Old 12-05-2008, 01:17 AM   #2
vBulletin Owner
 
MsJac's Avatar
 
Join Date: Jan 2008
Location: Oak Ridge, TN
Posts: 162
MsJac is on a distinguished road
Send a message via AIM to MsJac Send a message via MSN to MsJac Send a message via Yahoo to MsJac
Re: Any ideas why this CSS has no affect on FF but does on IE?

hmmm - could be because the thead already has font-weight and font-size set... Also - you might try using pixels for the size attribute = 30px instead of 30pt --- Adjust size as needed, as I'm not sure what the px to pt conversion is...

HTH,

Jacquii.
__________________
JacquiiDesigns.comPoetry in Color Forum
JacquiiCooke.com: Poetica Magnifique
MsJac is offline   Reply With Quote
Old 12-06-2008, 12:07 PM   #3
vBulletin Owner
 
Magnumutz's Avatar
 
Join Date: Dec 2006
Location: Romania
Posts: 617
Magnumutz is a jewel in the rough
Send a message via MSN to Magnumutz Send a message via Yahoo to Magnumutz Send a message via Skype™ to Magnumutz
Re: Any ideas why this CSS has no affect on FF but does on IE?

Isn't it supposed to be ".tm_forumnav_head" instead of "#tm_forumnav_head"?
__________________

Magnumutz is offline   Reply With Quote
Old 12-06-2008, 12:20 PM   #4
vBulletin Owner
 
Join Date: Dec 2008
Posts: 8
Techmonkey will become famous soon enough
Re: Any ideas why this CSS has no affect on FF but does on IE?

Ok thanks for the help so far guys but it seems like none of the css I put in the additional CSS section at the bottom of the main CSS file has any affect in Firefox.

Changing the pre-defined css attributes in any other section codes affect FF?

ANy ideas?

Also why there 2 additional CSS boxes ?
Techmonkey is offline   Reply With Quote
Old 12-06-2008, 12:20 PM   #5
Community Manager
vBulletin Owner
 
Rocket 442's Avatar
 
Join Date: Nov 2007
Location: Buffalo, NY
Posts: 1,002
Blog Entries: 1
Rocket 442 is just really niceRocket 442 is just really niceRocket 442 is just really nice
Send a message via AIM to Rocket 442
Re: Any ideas why this CSS has no affect on FF but does on IE?

Quote:
Originally Posted by Magnumutz View Post
Isn't it supposed to be ".tm_forumnav_head" instead of "#tm_forumnav_head"?
Yup.

# = id
. = class
__________________
Andy / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for vBRecipe or a place to Support vBulletinSetup!
Submit your Forum and other Quality Websites.


Need a Custom Wordpress or vBulletin 4.0 Design? Staple Web Design
Camaro Forums & Firebird Forums
Rocket 442 is offline   Reply With Quote
Old 12-06-2008, 12:24 PM   #6
vBulletin Owner
 
Join Date: Dec 2008
Posts: 8
Techmonkey will become famous soon enough
Re: Any ideas why this CSS has no affect on FF but does on IE?

Quote:
Originally Posted by Magnumutz View Post
Isn't it supposed to be ".tm_forumnav_head" instead of "#tm_forumnav_head"?
I dont think so it is a DIV ID not a class/

Quote:
=MsJac
It isnt just a the font any more it's anything in the additional CSS section?
Techmonkey is offline   Reply With Quote
Old 12-06-2008, 12:28 PM   #7
vBulletin Owner
 
Join Date: Dec 2008
Posts: 8
Techmonkey will become famous soon enough
Re: Any ideas why this CSS has no affect on FF but does on IE?

Quote:
Originally Posted by Rocket 442 View Post
Yup.

# = id
. = class
Just tried after reading this post and it has no affect either as a # or .

Could something else be wrong?

The site is at Techmonkeys.co.uk

You will see the difference in IE and FF

Here is all the aditional CSS code I have added in the 2nd additional CSS box.
Code:
/* ***** Custom Code ***** */
.td_logo_header_right {BACKGROUND: #DFDFDF; WIDTH: 100%}
.tr_logo_header_right {BGCOLOR: #DFDFDF; WIDTH: 100%;}

.asap {
position: absolute;
right: 0;
top: 0;
display: block;
height: 134px;
width: 148px;
background: url(http://www.techmonkeys.co.uk/dev2/fo...asapmember.png) no-repeat;
text-indent: -999em;
text-decoration: none;}

#tm_container ( width: 920px; margin: 0 Auto;}
#tm_header { width: 100%; float: left; clear: right;}
#tm_body { width: 80%; float: left; clear: right; }
#tm_footer { width: 100%; float: left; clear: right; }

.tm_forumnav_head { font-weight: bold; font-size: 10pt; }

.vbmenu_control_row2
{
	background: #B1C373;
	color: #FFFFFF;
	font: bold 15px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	padding: 3px 6px 3px 6px;
	white-space: nowrap;
}
.vbmenu_control_row2 a:link, .vbmenu_control_row2_alink
{
	color: #FFFFFF;
	text-decoration: none;
}
.vbmenu_control_row2 a:visited, .vbmenu_control_row2_avisited
{
	color: #FFFFFF;
	text-decoration: none;
}
.vbmenu_control_row2 a:hover, .vbmenu_control_row2 a:active, .vbmenu_control_row2_ahover
{
	color: #FFFFFF;
	text-decoration: underline;
}
.tm_tborder {
width: 920px;
}
.younew {
color: #AACE48;
font-size: 25pt;
font-weight: bold;
}
.tech {
color: #AACE48;
font-size: 12pt;
background-color: #ffffff;
}
.monkeys {
color: #966334;
font-weight: bold;
font-size: 12pt;
background-color: #ffffff;
}
.forumnav {
height: 30px;
width: 920px;
background-colour: #B1C373;
}

.tm_tcat
{
background: #EBEBEB url(http://www.techmonkeys.co.uk/dev2/fo...sc/tm_tcat.gif) no-repeat left top;     
color: #f4fbfd;     

color: #FFFFFF;
font: bold 12pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

.tm_title {
font-size: 12pt;
font-color: #7E7E7E;
}

.tm_recentthreads{
font-size: 12pt;
font-weight: bold;
font-color: #94C412;
}
.tm_recentthreads a {
text-decoration: none;
}
.tm_recentthreads a:hover {
text-decoration: underline;
}
tm_recentthreads_date {
font-color: #AAAAAA;
font-weight: bold;
}
Techmonkey is offline   Reply With Quote
Old 12-06-2008, 07:35 PM   #8
Community Manager
vBulletin Owner
 
Rocket 442's Avatar
 
Join Date: Nov 2007
Location: Buffalo, NY
Posts: 1,002
Blog Entries: 1
Rocket 442 is just really niceRocket 442 is just really niceRocket 442 is just really nice
Send a message via AIM to Rocket 442
Re: Any ideas why this CSS has no affect on FF but does on IE?

I see quite a few differences between IE and FF, and even more in Chrome. Chances are that means there is something(s) that are triggering more than one error.

If I were you, I'd make sure to look in the .vbmenu_control_row2 area just as much as the tm_forumnav_head area.

Also, I'm not sure why you have the _head at the end of the tm_forumnav, because if you look here, there is no _head there, or anywhere else
HTML Code:
<tr class="forumnav"> 
<td id="forumnav_info" class="vbmenu_control_row2"> 
    <a href="http://forum.vbulletinsetup.com/f18/#">Information</a> 
    <script type="text/javascript"> 
        vbmenu_register("forumnav_info");
    </script> 
So first:
I would try to remove the _head from the tm_forumnav, save it then see if it fixes that problem. if not, check to make sure that the more specific ruleset in "vbmenu_control_row2" is not interfering.
__________________
Andy / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for vBRecipe or a place to Support vBulletinSetup!
Submit your Forum and other Quality Websites.


Need a Custom Wordpress or vBulletin 4.0 Design? Staple Web Design
Camaro Forums & Firebird Forums

Last edited by Rocket 442; 12-06-2008 at 07:41 PM.
Rocket 442 is offline   Reply With Quote
Reply

Tags
affect, css, ideas

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any seo or VB ideas? Joe Cool vBulletin Services 0 04-17-2008 05:54 PM
Looking for ideas... PC101 Making Money Marketing vBulletin 9 03-10-2008 05:07 PM
Ideas YellowDmon General Discussion 9 04-12-2007 01:23 PM
help and ideas Capper vBulletin Hacks & Questions 4 03-15-2007 04:26 PM


All times are GMT -6. The time now is 06:27 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions
vBulletin Skins, Styles, Templates, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory