PDA

View Full Version : CSS Code


iogames
04-06-2009, 07:12 PM
I've little problem:

How can I add a background image to this code?

.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:
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/dynamicindex17/featuredcontentslider.htm

or

http://www.webdeveloper.com/forum/showthread.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.