tsvenkat Posted April 4, 2005 Posted April 4, 2005 Hi I just need help in setting the header image as a background for the TABLE 9header.php) so that my site works good in both resolutions 9800*600, 1024 * 768) Plz help Rgds Venkat
♥Vger Posted April 4, 2005 Posted April 4, 2005 Set up a new div class in stylesheet.css with an image defined as the background, and then reference this div class instead of headerNavigation in includes/header.php. e.g. background-image:url('images/backdropimage.gif'); Vger
tsvenkat Posted April 4, 2005 Author Posted April 4, 2005 hI CAN u JUST HELP ME IN THIS Plz give the modified stylesheet.css and also header.php so that I can set it and test Rgds Venkat
♥Vger Posted April 4, 2005 Posted April 4, 2005 You can find out how to set up div classes and set images as backgrounds in css2 in the tutorials at http://www.w3c.org Vger
tsvenkat Posted April 5, 2005 Author Posted April 5, 2005 Hi Rather than the above, I tried this ; in header.php ------------------------------------------------- <tr class="header"> <td height="74"valign="middle" style="background-image: url(../images/newpu.jpg)"> </td> ---------------------------------------------------- It works good. But the only problem I face is, the above background does not get displayed in HTTPS:// pages. is there anything I need to change for SSL Urls ?
Snuggles Posted April 5, 2005 Posted April 5, 2005 Make sure your background image is inside the catalog and not being picked up from somewhere else. Also, don't use img src="http://yoursitename.com/catalog/images/imgname.jpg" Instead use img src="../catalog/images/imgname.jpg or img src="../images/imagename.jpg , etc. At least that's what took away the unsecure items warning for me.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.