PDA

View Full Version : Two banners on home page


Stacey L
Apr-07-2009, 11:21 AM
I think I figured out what part of the CSS is the problem, I just don't know how to fix it.

I want to be able to link my banner (just my simple signature) to my home page. In Custom Header, I added this code:

<div id="my_banner"><a href="http://yourSmugMugnickname.smugmug.com"><img src="/img/spacer.gif" width="605" height="70" border="0" /></a></div>

But, I already have this code in my CSS:

/*=====Banner=====*/
#my_banner
{float: left;
width: 280px;
height: 30px;
margin-top: 20px;
margin-left: 30px;
background: url(/photos/505097673_ZvCG4-L.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaIma geLoader
(enabled=true,sizingmethod=image,src='/photos/505097673_ZvCG4-L.png');}

Which is why I have 2 banners when I enter the custom header code (I think anyway). What do I need to get rid of? I've already tried playing around...
www.staceylewisphotography.com (test)

Stacey L
Apr-07-2009, 03:46 PM
Did I explain myself well enough with this problem?


I think I figured out what part of the CSS is the problem, I just don't know how to fix it.

I want to be able to link my banner (just my simple signature) to my home page. In Custom Header, I added this code:

<div id="my_banner"><a href="http://yourSmugMugnickname.smugmug.com"><img src="/img/spacer.gif" width="605" height="70" border="0" /></a></div>

But, I already have this code in my CSS:

/*=====Banner=====*/
#my_banner
{float: left;
width: 280px;
height: 30px;
margin-top: 20px;
margin-left: 30px;
background: url(/photos/505097673_ZvCG4-L.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaIma geLoader
(enabled=true,sizingmethod=image,src='/photos/505097673_ZvCG4-L.png');}

Which is why I have 2 banners when I enter the custom header code (I think anyway). What do I need to get rid of? I've already tried playing around...
www.staceylewisphotography.com (http://www.staceylewisphotography.com) (test)

Stacey L
Apr-08-2009, 04:59 AM
Bump!

I removed the code that was giving me the problems, so that's why my homepage only shows one banner, but I still want to link my banner to my home page. So, what part of the code below is giving me the problem when I enter in CSS and Custom header.

<div id="my_banner"><a href="http://yourSmugMugnickname.smugmug.com"><img src="/img/spacer.gif" width="605" height="70" border="0" /></a></div>

But, I already have this code in my CSS:

/*=====Banner=====*/
#my_banner
{float: left;
width: 280px;
height: 30px;
margin-top: 20px;
margin-left: 30px;
background: url(/photos/505097673_ZvCG4-L.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaIma geLoader
(enabled=true,sizingmethod=image,src='/photos/505097673_ZvCG4-L.png');}

gluwater
Apr-08-2009, 10:42 AM
Bump!

I removed the code that was giving me the problems, so that's why my homepage only shows one banner, but I still want to link my banner to my home page. So, what part of the code below is giving me the problem when I enter in CSS and Custom header.

<div id="my_banner"><a href="http://yourSmugMugnickname.smugmug.com"><img src="/img/spacer.gif" width="605" height="70" border="0" /></a></div>

But, I already have this code in my CSS:

/*=====Banner=====*/
#my_banner
{float: left;
width: 280px;
height: 30px;
margin-top: 20px;
margin-left: 30px;
background: url(/photos/505097673_ZvCG4-L.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaIma geLoader
(enabled=true,sizingmethod=image,src='/photos/505097673_ZvCG4-L.png');} Hi Stacey I already replied to your email to the help desk but I'll reply here also so others with the same question can see what was wrong.

You needed to first remove this from your Custom Header box:

<div id="my_banner"> </div>

and replace it with this:

<div id="my_banner"><a href="http://www.staceylewisphotography.com"><img src="/img/spacer.gif" width="250" height="30" border="0" /></a></div>

All you were missing was changing the width and height and your URL of course.

Stacey L
Apr-08-2009, 11:41 AM
Hi,

Ok, now i understand the problem. When I posted my quesiton I left out my username and the width and height of my banner. So people thought that I was trying to link my text to username.smugmug.com. Ha. I did really have a problem because I had my own specific username and banner width/height. But, from now on I'll make sure to cross every "t" and dot every " i" when communicating. :D

Thanks and now on to my IE troubles,