vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Aligning problems... (https://vborg.vbsupport.ru/showthread.php?t=85976)

imported_DiPpY^ 01-12-2003 05:07 AM

Aligning problems...
 
1 Attachment(s)
ive been having som problems with the aligning on the main forums page. this is what it looks like now .. but i want every below the cat. image aligned with it.

See attachment

imported_DiPpY^ 01-12-2003 05:08 AM

1 Attachment(s)
here is what i want ... everything inside the red lines and aligned

See attachment

Tony G 01-12-2003 05:22 AM

Have you used Category Spacing?

imported_DiPpY^ 01-12-2003 03:22 PM

yes

Cypher720 01-12-2003 06:19 PM

hrm...can you post your code?

imported_DiPpY^ 01-12-2003 07:51 PM

ahh nevermind i found the problem ... my main table width was 75 and my content tablke width was 100 .. so i had to chnage my content table with to 72 to match the cat image.

but if you could help me out and tell me how to make the cat text non underline but a link?

Cypher720 01-12-2003 10:02 PM

you have to use CSS for that

imported_DiPpY^ 01-12-2003 10:54 PM

do i make a new one??

Cypher720 01-12-2003 11:05 PM

no - heres how

in the styles section under ACP, edit the head insert.

find
PHP Code:

#cat A:hover {
    
COLOR: {categoryfontcolor};
    
TEXT-DECORATIONunderline

replace that with
PHP Code:

#cat A:hover {
    
COLOR: {categoryfontcolor};
    
TEXT-DECORATIONnone


imported_DiPpY^ 01-13-2003 12:49 AM

1 Attachment(s)
i do have
PHP Code:

#cat A:hover {
    
COLOR: {categoryfontcolor};
    
TEXT-DECORATIONnone



and heres what it looks like ( see attachment )

i want it not to be undelined..

Cypher720 01-13-2003 01:45 AM

i dont know why its not working...hrm

Tony G 01-13-2003 02:08 AM

Try using this instead:

#cat A:link, #cat A:visited, #cat A:active {
COLOR: {categoryfontcolor};
TEXT-DECORATION: none;
}
#cat A:hover {
COLOR: {categoryfontcolor};
TEXT-DECORATION: underline;
}

That will give it an underline ONLY when you have your mouse cursor over the link.

Cypher720 01-13-2003 06:41 PM

i thought he didnt want any underline./..??

Tony G 01-13-2003 10:38 PM

He didn't want one for when it's not hovered over. Taking the underline out when hovered is bad because it will be harder to determine whats text and whats links to some people.

If you still don't want underlines at all after hovering use this:

#cat A:link, #cat A:visited, #cat A:active {
COLOR: {categoryfontcolor};
TEXT-DECORATION: none;
}
#cat A:hover {
COLOR: {categoryfontcolor};
TEXT-DECORATION: none;
}

Cypher720 01-13-2003 10:45 PM

tru....i thought about that...good going


All times are GMT. The time now is 11:21 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.02471 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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