Page 1 of 1

Please Help With My Header BG image plus placed image in Header (IE prob)

Posted: Sat Aug 12, 2006 12:46 am
by Bob
CMSMS version 1.3 Beta

I ran out of ideas trying to figur this out. The background in the CSS HEader won't show up in IE (5 or 6 I think...unfortunately I'm not at work on the Wintel machine and now home on my Mac) Is there and IE fix? I suppose the same problem would happen if I used bckrnd images in my nave bars. Anyhow, it works in Safari and FireFox

Heres the template script (just header part):

   
   
   
   
   

Heres the header CSS script:
/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 150px;    /* adjust according your image size */
   background: #385C72 url(images/images/header-bckgrnd.jpg)repeat-x;           
}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/images/header-bckgrnd.jpg)repeat-x;
   display: block;
   height: 150px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

The link to the site in prog is http://www.where2mag.com/cms_test/index.php?page=and01
and it needs work. BTW, it will be an adult orientated site, so if nudity offends, (none yet) don't visit the site. When nudity is on there, I will warn you all before you visit. Unfortunately, this is my job. ???

The layout is based on Andreas01 layout, which I think will be a great starting point for the various sites I gotta do. I'll need some help with the menu, which I'll post another topic soon.

Thanks again for any help!