PDA

View Full Version : Banner Problem but only in Firefox!


tuggnet
Jul-09-2007, 09:10 AM
Let me first start out by saying I'm really out of my element with this HTML stuff :huh

I followed the directions in the "Banner Tutorial" and for the most part things are working great... except for one gallery and only when using firefox. IE seems to work just fine.

In a nut shell, here's what I did:

I added the following code to the css section:

.category_Stonegate_Stingrays_2007 #my_banner {
width: 750px;
height: 150px;
margin: 0 auto;
background: url(http://tuggnet.smugmug.com/photos/66399788-M.jpg) no-repeat;
}

And this to the header section:

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


Now, if I understand the tutorial correctly, (big IF), that should replace the banner on all sub-categories and galleries in the catetory "Stonegate Stingrays 2007"

Yes? Well it did for all but one!

If you go to this gallery: http://www.tuggnet.com/gallery/3085560#168474314 everyting is great.

But if you go to this gallery: http://www.smugmug.com/gallery/3119267 the banner is not displayed properly.

Again, this seem only to be a problem in Firefox.

Thanks for any help!

tuggnet
Jul-09-2007, 09:11 AM
Humm... I'm not sure if it's important, but I just noticed that when I click on the link where the border doesn't work, it's going to www.smugmug.com and not www.tuggnet.com.

Could this be related?

Allen
Jul-09-2007, 09:18 AM
Humm... I'm not sure if it's important, but I just noticed that when I click on the link where the border doesn't work, it's going to www.smugmug.com (http://www.smugmug.com) and not www.tuggnet.com (http://www.tuggnet.com).

Could this be related?
Go to "gallery tools" dropdown > "customize gallery" and check no for hide owner.

tuggnet
Jul-09-2007, 09:21 AM
Worked like a champ!

Thanks for the help. I must have set that option to on.

Thanks!

oxy8384
Jul-09-2007, 11:08 AM
If you go to this gallery: http://www.tuggnet.com/gallery/3085560#168474314 everyting is great.

But if you go to this gallery: http://www.smugmug.com/gallery/3119267 the banner is not displayed properly.

It seems like you may have defined a different header for this one gallery? Or perhaps turned off the my_banner in certain galleries?

I'm sure once the my_banner element is reintroduced, it will work fine...

Bill

tuggnet
Jul-09-2007, 11:38 AM
It seems like you may have defined a different header for this one gallery? Or perhaps turned off the my_banner in certain galleries?

I'm sure once the my_banner element is reintroduced, it will work fine...

Bill

Allen's suggestion fixed the problem. I must have set the hide owner option to yes at some point.

Anyway, thanks for the help!

oxy8384
Jul-09-2007, 11:59 AM
Because it still looks wrong to me in Firefox and Mozilla. It looks like it works in IE only because IE is resizing the smugmug logo for you, in which you've stuffed your banner as a background image. Mozilla and Firefox don't resize it and that's why you only get a bit of your banner (which is not your banner at all, but the smuglogo...).

If you're happy, I'm happy, but your page doesn't look right from here.:scratch

Bill

oxy8384
Jul-09-2007, 12:02 PM
I didn't follow what you were saying about the link, above.
:rolleyes

The link I was using was the wrong link. It looks fine, now.

Sheesh! What a dope!

Bill

tuggnet
Jul-09-2007, 12:06 PM
I didn't follow what you were saying about the link, above.
:rolleyes

The link I was using was the wrong link. It looks fine, now.

Sheesh! What a dope!

Bill

Bill, I'm sure I'm doing about 50 things wrong with that darn CSS stuff. But I think it's working.

Do I need to put some size information somewhere?

I am almost completely lost when it comes to this kinda stuff.

Cheers

oxy8384
Jul-09-2007, 12:41 PM
I'M the dope! :D You and your site are fine...

Bill