vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   CSS Attributes for Category Strips (https://vborg.vbsupport.ru/showthread.php?t=170341)

MotoUp 02-12-2008 07:37 PM

CSS Attributes for Category Strips
 
1 Attachment(s)
I'm having problems with getting this the way I want it. Any help will be greatly appreciated.

I want to make the arrow on the right be at the very top of the image, but want the text to stay where it is centered. So I want the image to have no padding in the cell, only the text. I know it can be done, I just don't know the syntax...

I want it to look like the second attachment.

Thank you!

MotoUp 02-14-2008 03:32 PM

Bump for possible ideas?

Lynne 02-14-2008 03:38 PM

It's hard to help if we don't know what html you are currently using. Usually you can valign (vertically align) things in a row or column or align an image in a row or column also. What have you tried already?

MotoUp 02-14-2008 04:13 PM

Well, I'm actually editing the CSS from inside Admin CP in the Category Strips section. I've tried things like:

position: absolute; top: 0

All that does is put every image on the page at the very top of the forum.

I've googled CSS, which is where I got that, but I'm not getting it to work. Does that help?

Lynne 02-14-2008 04:31 PM

I think you need to actually modify the template in order to get what you want. If you modify the CSS, then you are doing it for the whole strip and you said you want the text to remain where it is, but move the image up, and since both of them are effected by the same css, I don't think you can modify just the css and get it to work.

MotoUp 02-14-2008 05:38 PM

Thanks. I'll give that a shot...any idea which template that would be? I'm not finding it.

Lynne 02-14-2008 07:50 PM

Go into vboptions > General settings and turn on the option to put the template name in the source code. Then go to the page and view that part of the html in the source code and it will tell you which template is being used.

Justine 02-15-2008 01:21 PM

Not sure what you are trying to do - image #1 looks fine to me.

I believe the template you want to edit is USERCP_SHELL.

try adding "position:relative;top:-2" to the collapse/expand link eg. style="position:relative;top:-2;float:right"

briansol 02-15-2008 04:04 PM

"-2" is meaning-less.

you need a unit, such as px.

Guest210212002 02-16-2008 07:23 PM

If that image is in it's own cell, you can toss a valign="top" in the TD call that should take care of it.


All times are GMT. The time now is 01:15 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.01465 seconds
  • Memory Usage 1,717KB
  • 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
  • (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