go41

question about div background image property

von Joern am 19. Jun. 2010 | Keine Kommentare

Hi Joern,
So you can reference my site Made many stellar information architectural and usability improvements to it to better monetize my content and turn visits into sales. Anyways here is what I want to do.
So you can see there is a top banner
below it a scrolling slide show.
I want to basically put the slideshow on the banner. The way is what you told me last time.
Create a div, set the background-image: url(‚abc.html‘) no-repeat;
and then go into the div in the header.php file and physically add the image source
syntax like <img src="abc.gif"> and it will lay on top of the background image.
Now here is the problem, my banner is in a class, based on Firebug called banner

so div class=banner

but i couldn’t find that in CSS so I created a class selector in CSS
and set the background of it to be my banner.
like
.banner{
background-image: url("http://www.maaximumseduction.com/msbanner2009.gif");
}
but nothing happened. The background image didn’t appear in the divide.
Once I can do this, then I can put the slide show code right in the banner div

in header.php and the slider will ride on top of the background.
However, as stated I can’t get the banner to work.
I want to have the same affect as Venusian Artis.
Please help.
Omar

(von: omerkhan02)

Hier noch 2 weitere Ergebnisse dieses Threads:

Re: question about div background image property :: Reply by omerkhan02

19. Jun. 2010 (von: omerkhan02)

I figured it out. I forget to set height and width of the div. Once I did it showed and I was able to superimpose the slideshow on top of it.Thanks man the only small thing is I want it…

Re: question about div background image property :: Reply by omerkhan02

19. Jun. 2010 (von: omerkhan02)

I figured it out. I created another div class called slideshow within div class banner and then just floated it to the right.ThanksOmar Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: