vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   very odd css problem (https://vborg.vbsupport.ru/showthread.php?t=224513)

Chadi 10-04-2009 02:42 AM

very odd css problem
 
I have this tag cloud on the right column of my home page.

http://www.talkjesus.com/

It has 5 font size levels.

The css is:

Code:

<style type="text/css">
a.tagcloudlink:link, a.tagcloudlink:visited { text-decoration:none; }
a.tagcloudlink:hover, a.tagcloudlink:active { text-decoration:underline; background-color: #4F57A0; color: white; }
a.level1 { font-size: 11px; color: #ff9900 }
a.level2 { font-size: medium; }
a.level3 { font-size: large; color: #ff9900 }
a.level4 { font-size: x-large; }
a.level5 { font-size: xx-large; }
</style>

Works just fine except the color portion on either 5 a:level#

For example, level 1 and 3 does not show #ff9900 color at all. I did a hard refresh and even proved something very weird is happening because I made level 1 32px in font size to quickly test it, font size blew up to 32px just fine on refresh.

So if someone can figure out why the color portion is not taking effect, would appreciate that help.

agitated 10-04-2009 09:17 AM

Hi there

There's a slight error..... ; to close the line

Code:

a.level1 { font-size: 11px; color: #ff9900 }
a.level1 { font-size: 11px; color: #ff9900; }

a.level3 { font-size: large; color: #ff9900 }
a.level3 { font-size: large; color: #ff9900; }


Chadi 10-04-2009 10:27 AM

This is still not working at all

Code:

<style type="text/css">
a.tagcloudlink:link, a.tagcloudlink:visited { text-decoration:none; }
a.tagcloudlink:hover, a.tagcloudlink:active { text-decoration:underline; background-color: #4F57A0; color: white; }
a.level1 { font-size: 11px; color: #ff9900; }
a.level2 { font-size: medium; }
a.level3 { font-size: large; }
a.level4 { font-size: x-large; color: #ff9900; }
a.level5 { font-size: xx-large; }
</style>


Trasion 10-04-2009 02:05 PM

Code:

a.tagcloudlink:link, a.tagcloudlink:visited { text-decoration:none; }
a.tagcloudlink:hover, a.tagcloudlink:active { text-decoration:underline; background-color: #4F57A0; color: white; }
a.level1 { font-size: 11px; color: #ff9900 !important;}
a.level2 { font-size: medium; }
a.level3 { font-size: large; }
a.level4 { font-size: x-large; color: #ff9900 !important;}
a.level5 { font-size: xx-large; }


Chadi 10-04-2009 03:05 PM

Still not working, hard refreshed and still not taking effect.

Strange

Trasion 10-04-2009 03:16 PM

If you want me to look into it, PM me with an administrators account. I can try to fix it for you. You must have done something wrong somewhere else.

Chadi 10-04-2009 03:26 PM

Thanks for your help but I don't hand out admin accounts just like that ;)

Lynne 10-04-2009 03:27 PM

I always do my colors this way:
HTML Code:

.color1, a.color1:link, a.color1:visited { stuff }
That covers both a link and a visited link.

Chadi 10-04-2009 03:34 PM

Lynne, I love you :P

You rock, that fixed the problem

The missing :link portion :)

Thanks

Lynne 10-04-2009 04:08 PM

Glad it's now working how you want it to, Chadi. :)


All times are GMT. The time now is 04:52 AM.

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.01766 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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