Right now I am currently using this:
------------------------------------------------------------
.div0 {
background-image:url(http://www.rubnip.com/Pictures/topback.gif);
background-position:center center;
background-repeat:no-repeat;
background-attachent:fixed ;
background-color:black; color:FFFFFF;
border:0px solid; border-color:grey;
padding-left:10px; padding-right:10px;
padding-top:10px; padding-bottom:10px;
width:800px; height:250px; overflow:none;
position:absolu te; z-index:2; left:50%; top:0%;
margin-left:-400px; margin-top:150px; text-align:center;
visibility:visi ble;}
--------------------------------------------------------------
The only problem is, when I use that padding setting within the divider, it also moves my background image. I just want to set a margin or padding that affects the text within the divider only, not the background image. How would this be done?
---------------------------------------------------------------
<div class="bbzConta iner">
<div class="div0">
<font size=1>Test</font>
</div>
---------------------------------------------------------------
Or maybe I can put something in there in the font tag that will affect only the text?
Any help is appreciated. :)
------------------------------------------------------------
.div0 {
background-image:url(http://www.rubnip.com/Pictures/topback.gif);
background-position:center center;
background-repeat:no-repeat;
background-attachent:fixed ;
background-color:black; color:FFFFFF;
border:0px solid; border-color:grey;
padding-left:10px; padding-right:10px;
padding-top:10px; padding-bottom:10px;
width:800px; height:250px; overflow:none;
position:absolu te; z-index:2; left:50%; top:0%;
margin-left:-400px; margin-top:150px; text-align:center;
visibility:visi ble;}
--------------------------------------------------------------
The only problem is, when I use that padding setting within the divider, it also moves my background image. I just want to set a margin or padding that affects the text within the divider only, not the background image. How would this be done?
---------------------------------------------------------------
<div class="bbzConta iner">
<div class="div0">
<font size=1>Test</font>
</div>
---------------------------------------------------------------
Or maybe I can put something in there in the font tag that will affect only the text?
Any help is appreciated. :)
Comment