vb.org Archive

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

iogames 04-06-2009 07:12 PM

CSS Code
 
I've little problem:

How can I add a background image to this code?

Quote:

.contentslide {
border-bottom-width: 6px;
padding: 8px;
width: 90%;
/* height: 40px; */
overflow: hidden;
}

.contentslide .contentdiv {
display: none;
}

.pagination {
width: 100%; /*Width of pagination DIV. To equal that of Content Slider's width, take into account the later's left/right paddings!*/
border-width: 0 10px; /*Left/ right border width of pagination DIV.*/
padding: 2px 0 0 0;
font-size: 7pt;
}


.pagination a {
padding: 0 5px;
text-decoration: none;
color: #2e6ab1;
}

.pagination a:hover, .pagination a.selected {
color: #000;
background-color: #FFFFFF;
}
Thanks for the help

Mr-Moo 04-06-2009 10:47 PM

Hello There,

Depending if you want it to repeat or not, it should look something like this:
PHP Code:

body
{
    
background#000 url(directory/images/background.png);    



iogames 04-06-2009 11:16 PM

didn't work :(

TimberFloorAu 04-07-2009 07:01 AM

Have you looked at this ?

http://www.dynamicdrive.com/dynamici...tentslider.htm

or

http://www.webdeveloper.com/forum/sh...ad.php?t=21949

iogames 04-09-2009 10:48 AM

will try...

iogames 04-10-2009 10:56 AM

Mmmh... no yet

Mr-Moo 04-11-2009 02:01 PM

Do you mind posting a link to your site so we can preview what exactly your trying to do.


All times are GMT. The time now is 09:59 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.01581 seconds
  • Memory Usage 1,727KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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