Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > table formatting in Netscape 7

table formatting in Netscape 7
Thread Tools
Mac Elite
Join Date: Jan 2002
Location: Live at the BBQ
Status: Offline
Reply With Quote
Jul 2, 2002, 10:32 PM
 
I'm wondering if anyone else has encountered problems with table formatting using image slices in Netscape 7? I know it's a preview release, but I know quite a few people who are using it full-time... any way, has anyone found a workaround to get tables to format properly?
"Bill Gates can't guarantee Windows... how can you guarantee my safety?"
-John Crichton
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Jul 3, 2002, 08:06 AM
 
That's a bit of a vague description, but I have a feeling I know what you mean.

I was using a page made in ImageReady with rollovers, then took it into BBEdit and turned it into HTML 4.01 compliant. Netscape 6 and above (and of course Mozilla, Chimera, IE 5, etc..) can change the way HTML is displayed if the DOCTYPE indicates 4.01 or XHTML compliance.

So I'm seeing this table with big ugly gaps underneath each image - didn't make a difference if it had a link on it or not.

Turns out this is a known 'issue' (it's not really a bug) with the way Gecko et. al render images. All you need to do is set somewhere in your stylesheets:

img { display: block; }

and that will fix that. If you want to refine this, you may want to make it a class so not all your images behave this way (if you have an inline image, for example.)

I found this at <a href="http://www.alistapart.com" target="_blank">http://www.alistapart.com</a> which is an extremely good read.

Cheers
Computer thez nohhh...
     
himself  (op)
Mac Elite
Join Date: Jan 2002
Location: Live at the BBQ
Status: Offline
Reply With Quote
Jul 3, 2002, 06:12 PM
 
exactly what I was looking for... thanks! And sorry for being so vague.
"Bill Gates can't guarantee Windows... how can you guarantee my safety?"
-John Crichton
     
Senior User
Join Date: May 2000
Location: Lafayette, IN, USA
Status: Offline
Reply With Quote
May 28, 2003, 05:03 AM
 
Simon, you are an answer to prayer. One stupid little css declaration and my entire site works beautifully!

Here’s another question, though. When I originally designed this site, the idea was to have the navigation bar stay at the top and the “Quality is an attitude.” bar stay at the bottom, probably with about ten pixels of white space below it. I tried to do this with css—set up &lt;div&gt;s with z-height:10 and position:fixed—and they both worked perfectly in most browsers, but not (big surprise) in IE.

Any thoughts on how I could accomplish this?

Thanks!
“The trouble with quotes on the Internet is that you can never tell if they’re attributed to the right person.”
—Abraham Lincoln
     
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status: Offline
Reply With Quote
May 29, 2003, 08:00 AM
 
Originally posted by bojangles:
Simon, you are an answer to prayer. One stupid little css declaration and my entire site works beautifully!

Here’s another question, though. When I originally designed this site, the idea was to have the navigation bar stay at the top and the “Quality is an attitude.” bar stay at the bottom, probably with about ten pixels of white space below it. I tried to do this with css—set up &lt;div&gt;s with z-height:10 and position:fixed—and they both worked perfectly in most browsers, but not (big surprise) in IE.

Any thoughts on how I could accomplish this?

Thanks!
IE doesn't support the position:fixed property. I spent an hour of fighting yesterday to find that out.

http://www.w3.org/Style/Examples/007/menus.html
Peter Leing
17" 1.67GHz PowerBook
450MHz G4 Cube
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2