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 - Background ? (https://vborg.vbsupport.ru/showthread.php?t=179659)

ms55555 05-18-2008 03:34 PM

CSS - Background ?
 
Okies, I would like to know some basics of the css codes I can put in a style , that manipulate images...
  1. scroll/fixed
  2. #ffffff
  3. url(something)
  4. no-repeat/repear
What I still am trying to find out how to use (and I need it...) is how to make an image fit to any screen... If I use an image with a greater resolution than a member's screen one, then the image is not shown all....What can I add to make the image (background) fit to screen ?
:)

legionofangels 05-28-2008 02:31 PM

I have the same problem.

I think a Stretch Code can be applied to the background image so that it stretches for any resolution. However its very hard to get an image to look good on both small and large resolutions obviously as one of them is too stretched/too slender.

I don't know the code off the top of my head, but I'm sure I could find it, if you haven't already tried it.

boltbunker 08-19-2008 02:43 AM

Quote:

Originally Posted by ms55555 (Post 1523686)
Okies, I would like to know some basics of the css codes I can put in a style , that manipulate images...
  1. scroll/fixed
  2. #ffffff
  3. url(something)
  4. no-repeat/repear
What I still am trying to find out how to use (and I need it...) is how to make an image fit to any screen... If I use an image with a greater resolution than a member's screen one, then the image is not shown all....What can I add to make the image (background) fit to screen ?
:)

Bump. Any fixes for this?

ssslippy 08-19-2008 02:47 AM

No you can not stretch a background image. Use something that can repeat in one direction and things will be better.

boltbunker 08-19-2008 02:55 AM

Quote:

Originally Posted by ssslippy (Post 1602018)
No you can not stretch a background image. Use something that can repeat in one direction and things will be better.

Ok, I have that type of code in my header. The header has 3 pictures. one repeats to fill the void. It works great.

Where do I add the code for the background picture?

Man, a code like this would fix my issues!


All times are GMT. The time now is 07:11 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.01100 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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