vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Gah, I can't figure this out. Can someone help me style this? (https://vborg.vbsupport.ru/showthread.php?t=151391)

WritersBeat 07-05-2007 12:47 AM

Gah, I can't figure this out. Can someone help me style this?
 
Can someone help me style this out?

I'm trying to create this as the body of a forum.


http://img479.imageshack.us/img479/2...re28py3.th.png
http://img479.imageshack.us/img479/2...cture28py3.png

My problem is simply creating the border of the page, with the rounded corners. If anyone could give advice on how to do it, or actually do it, I'll send you $25 paypal.

Everything I try leaves me having to repeat the image, and just really ++++ing up. I got this far =>

http://img54.imageshack.us/img54/544...re30tc2.th.png
http://img54.imageshack.us/img54/5447/picture30tc2.png
But as you can see, it breaks pretty bad towards the footer.
http://img488.imageshack.us/img488/6...re32hm1.th.png
http://img488.imageshack.us/img488/6...cture32hm1.png
If anyone can code this, remember, I'll pay you.

Thanks!

Dismounted 07-05-2007 04:00 AM

You need to slice the image into three parts top, middle and bottom. The top would be the top round bit. Middle would be 1px of the "straight" bit. Bottom would be the bottom round bit. Then simply repeat the middle bit, either by CSS or assigning table properties.

WritersBeat 07-05-2007 06:49 AM

Alright, so I got it figured out.


Now I'm not sure how to tackle this, fixed or fluid, whatever. Fixed should be easier right?

Anyway, I got this problem:

If the window is to big:

http://img387.imageshack.us/img387/6...re14pg5.th.png
http://img387.imageshack.us/img387/6...cture14pg5.png


If too small:

http://img262.imageshack.us/img262/4...re15nr1.th.png
http://img262.imageshack.us/img262/492/picture15nr1.png


How do I force it to stay within the border of the image?

Thanks.

Dismounted 07-05-2007 08:27 AM

You need to edit spacer_open and specify a set width.

WritersBeat 07-05-2007 08:36 AM

Thanks!

edit: Apparently, that inherits from stylevars, which I did set that width, but it doesn't take affect.

And does anyone have an idea on how I can also make a fluid style?

Dismounted 07-05-2007 10:18 AM

You need to slice the image more. The white centre bit, and the two side bits in addition to what you have now.


All times are GMT. The time now is 02:08 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.02713 seconds
  • Memory Usage 1,722KB
  • 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
  • (6)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