PDA

View Full Version : Removing the border from linked banner


Daddio
Feb-13-2007, 08:37 PM
I've spent a few hours tonight finally getting a basic slideshow working. I'll eventually want to improve the look of it, but I'm just happy I didn't completely screw up the rest of my customizations:wink

While making the changes I also replaced the clickable link from my banner to my homepage. I'm sure that used to work, but I lost it awhile back.

Although the link now works can someone please tell me how to remove the border that now surrounds the banner? It's white in Firefox and green in IE. I did a search, but after 90 minutes of looking I'm still stumped.

www.daddiophoto.com (http://www.daddiophoto.com)

While we're at it, if possible, could one of you gurus take a quick look at my overall code and point out any major screw ups? I've done all of the mods myself from reading the various threads, but I swear I still don't understand how it all works.:scratch

THANKS!!!

Alan B.

Daddio
Feb-13-2007, 08:40 PM
Oh. *&##&^....I spoke too soon.:cry I've got the slideshow showing on every page and I only want it on the homepage.

Allen
Feb-13-2007, 09:24 PM
I've spent a few hours tonight finally getting a basic slideshow working. I'll eventually want to improve the look of it, but I'm just happy I didn't completely screw up the rest of my customizations:wink

While making the changes I also replaced the clickable link from my banner to my homepage. I'm sure that used to work, but I lost it awhile back.

Although the link now works can someone please tell me how to remove the border that now surrounds the banner? It's white in Firefox and green in IE. I did a search, but after 90 minutes of looking I'm still stumped.

www.daddiophoto.com (http://www.daddiophoto.com)

While we're at it, if possible, could one of you gurus take a quick look at my overall code and point out any major screw ups? I've done all of the mods myself from reading the various threads, but I swear I still don't understand how it all works.:scratch

THANKS!!!

Alan B. First thing is you have two <div id="my_banner"> in your header. Remove
the first one.

Why have your banner clickable when the navbar has a home button? If
you simplify your header code for your banner without the image and link.
<div id="my_banner"></div>
Then your CSS defines the banner image. I think you see the white border
because of the link. Remove link and it disappears.

Add this to your CSS.

#mySlideshow {display:none;}
.homepage #mySlideshow {display:block;}

Daddio
Feb-13-2007, 09:57 PM
Thanks for the response.

Why have your banner clickable when the navbar has a home button?
A valid question, but are you saying that a linked banner HAS to have this border? There has to be a workaround. Take Andy's site for example....http://www.moonriverphotography.com/


Add this to your CSS.

#mySlideshow {display:none;}
.homepage #mySlideshow {display:block;}

Great...seems to have worked! Now I just need to figure out why my slideshow frame became so wide. I want it the same width as my banner.

Daddio
Feb-14-2007, 05:44 AM
Okaaaay...I've now got the slide background frame sized correctly, but in doing so I make it move to the left instead of being centered

I know it's probably something simple, but it's beyond me right now.:dunno

Any suggestions are greatly appreciated. :bow

-Alan B.

www.daddiophoto.com

Allen
Feb-14-2007, 05:48 AM
Okaaaay...I've now got the slide background frame sized correctly, but in doing so I make it move to the left instead of being centered

I know it's probably something simple, but it's beyond me right now.:dunno

Any suggestions are greatly appreciated. :bow

-Alan B.

www.daddiophoto.com (http://www.daddiophoto.com)
Try this

.homepage #mySlideshow {
margin:0 auto;
display:block;}

Daddio
Feb-14-2007, 06:00 AM
Thanks Allen!!! That's just what a wanted.

I'm now going to step AWAY from any more customization...for TODAY anyway.:D