Log in

View Full Version : tag



silver163
10-22-2009, 03:13 AM
Hello,

I built this site and I want to place a div tag right on top of the image of the restaurant with the tables and chairs but not on the green bar to the left of it. It has to be centered there and not move. How can I accomplish this?

The site: http://www.naspos.com/site1/

and here is the code:

the html: http://pastebin.com/m29fc9644

the css: http://pastebin.com/m3d447310

bluewalrus
10-22-2009, 03:51 AM
I think your trying to do this.


<div id="header">
<div id="header_slogan">jQUERY CODA SLIDER HERE</div>
<div style="position: relative; z-index: 50; background:#ff0000; width: 483px; height: 191px;"/>
</div>




#header_slogan {
color:#000000;
float:left;
font-weight:bold;
margin-top:162px;
position:relative;
text-align:center;
width:483px;
z-index:10;
}