PDA

View Full Version : breadcrumb height 0px not working?


sunxsweet
Mar-10-2008, 08:08 AM
i thought i had this working last night but for some reason the tag seems to not be working today. i hid the breadcrumb and that works just fine. but leaves me with a big fat space. i'd like to minimize that dead space. here's the tag i was using... This gallery is in the category of friends.

http://calvinj.smugmug.com/gallery/4482131_Zva5z

/* Hide the breadcrumb */
.category_Friends #breadcrumb {
visibility: hidden;
height: 0px;
}

sunxsweet
Mar-10-2008, 08:20 AM
weird... seems to be an IE only problem...

Barb
Mar-10-2008, 08:43 AM
weird... seems to be an IE only problem...

Hi,

It looks the same to me in IE7 and in Firefox, both. Seems to be working!

sunxsweet
Mar-10-2008, 08:54 AM
yes.. when i was testing last night at home (IE7) it worked... but not on IE6.

Hi,

It looks the same to me in IE7 and in Firefox, both. Seems to be working!

Barb
Mar-10-2008, 08:56 AM
yes.. when i was testing last night at home (IE7) it worked... but not on IE6.

Hi,

I just checked in IE6 also, and it is looking the same to me. Just like it looks in IE7 and Firefox. :dunno

Allen
Mar-10-2008, 08:57 AM
i thought i had this working last night but for some reason the tag seems to not be working today. i hid the breadcrumb and that works just fine. but leaves me with a big fat space. i'd like to minimize that dead space. here's the tag i was using... This gallery is in the category of friends.

http://calvinj.smugmug.com/gallery/4482131_Zva5z
Did you try to use a 1px height instead of 0px? Maybe stupid IE needs
something to consider. Just thinking out side the box.:D

I would also combine that with this using the default height.

/* Hide the breadcrumb */
.loggedIn .category_Friends #breadcrumb {
visibility: visible;
height: ??px;
}

sunxsweet
Mar-10-2008, 09:11 AM
yes.. this is most weird... i tested on two different machines i have here in the office. i even did the ctrl+f5 trick to do a complete refresh and i still see a deadspace. the second machine i tested on has never been to the site (IE6) and it also had the same space. i tried the 1px looking at one of your old posts Al. still no cigar...

sunxsweet
Mar-10-2008, 09:15 AM
hmmm... switched the code to "display:none" instead of the visibility tag... worked like a charm. i guess that's the way it goes....