vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   CSS? Background image? Etc? (https://vborg.vbsupport.ru/showthread.php?t=154025)

EvilKitty 08-01-2007 04:53 PM

CSS? Background image? Etc?
 
1 Attachment(s)
Okay, here's my dilemma..

As you can see by the mockup i've created - the body background requires a dashed border several pixels 'inside' the body. Now getting the dashed border was easy as pie, but how would i go about pushing it 'in' on the forum body.

I initally thought of doing it as a background image, but found that near impossible, so...

Any help with the CSS?

Heres where i stand now.

vertical align img 1 top
vertical align img 2 repeat y
vertical align img 3 bottom

Is this type of setup even possible?

Opserty 08-01-2007 06:14 PM

Wouldn't it be easier to use the CSS border property?

Rough outline:
HTML Code:

<body>
<div style="border:1px dashed #000000;">
    <!-- YOUR STUFF FORUM HERE -->
</div>
</body>

You can then use the padding property to add space between the forums and the border (I think).

RedTyger 08-01-2007 06:22 PM

That's right. :) Padding is inside, Margin is outside.


All times are GMT. The time now is 07: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.00990 seconds
  • Memory Usage 1,710KB
  • 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)bbcode_html_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