PDA

View Full Version : set a image as a background in header


SVR01
08-23-2009, 02:53 AM
hi ,
first sorry for my bad English

i want to change a style header and set a simple image as a background with 100% width and then set another images on it . i use this code for background Image :

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/back.gif)"></table>

but vb dont show this pic in header .

in other word i want to create a header like this site header : http://www.mobilemarketingforum.com/

how can i do it ?

pein87
08-26-2009, 08:37 PM
Give it an id and use css your using legacy stuff here.

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" id="banner" ></table>

Add this to your additional css definitions.

#banner {
background-image: /* your path here erase comment after done */;
}