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 > fine in IE6 but renders wrong all other browsers

fine in IE6 but renders wrong all other browsers
Thread Tools
betoranaldi
Junior Member
Join Date: Aug 2003
Status: Offline
Reply With Quote
Nov 23, 2005, 12:26 AM
 
maybe someone here can help me out with this, I am pulling my hair out.

I am coding a page and its rendering a white space below the image at the bottom.

It looks fine on IE6 but all other browser show the space.

http://mf.uniquethrudesign.com/

Thanks,
Brian
     
exca1ibur
Mac Elite
Join Date: Oct 2000
Location: Oakland, CA
Status: Offline
Reply With Quote
Nov 23, 2005, 01:03 AM
 
Originally Posted by betoranaldi
maybe someone here can help me out with this, I am pulling my hair out.

I am coding a page and its rendering a white space below the image at the bottom.

It looks fine on IE6 but all other browser show the space.

http://mf.uniquethrudesign.com/

Thanks,
Brian
Try to give the div around the image a height tag.

Code:
<div style="height: 164px;"><img src="/images/main.jpg" width="701" height="164" /></div>
     
tooki
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Nov 23, 2005, 01:44 AM
 
Originally Posted by betoranaldi
maybe someone here can help me out with this, I am pulling my hair out.

I am coding a page and its rendering a white space below the image at the bottom.

It looks fine on IE6 but all other browser show the space.

http://mf.uniquethrudesign.com/

Thanks,
Brian
Bear in mind that what that really means is "every browser except IE renders this according to how it's coded, while IE does its own thing". It's IE that doesn't follow the standards, not the other way around!

Regardless, it looks fine in Safari, but without a reference rendering, I can't compare, since I don't have a PC to run.

tooki
     
betoranaldi  (op)
Junior Member
Join Date: Aug 2003
Status: Offline
Reply With Quote
Nov 23, 2005, 10:06 AM
 
Try to give the div around the image a height tag.

Code:
<div style="height: 164px;"><img src="/images/main.jpg" width="701" height="164" /></div>
well that worked (I could have swarn I tried this in my own trouble shooting)

Thank you so much, sometime you need an outside view.

and yes I hate IE, It does its own thing, but when 99% of my client's audiance uses it I have to make sure it looks aceptable. (I love my mac and when I have to use a PC I use Firefox)
( Last edited by betoranaldi; Nov 23, 2005 at 10:14 AM. )
     
Millennium
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Nov 23, 2005, 11:09 AM
 
Generally speaking, betoranaldi, it is much easier to make a page work in Firefox and then fix it for IE than it is to go the other way around. IE isn't very good about following standards, but it's good enough that when it doesn't work right the tweaks needed to fix it are usually small. However, its behavior isn't very well documented, so even when it seems to work one way, you have no guarantee that this is how HTML is supposed to work at all, and so supporting browsers can become much harder.

I'm not telling you to drop IE support, or even to de-prioritize it. I'm just saying that your workload will be lighter if it's the second browser you test with, as opposed to the first.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
betoranaldi  (op)
Junior Member
Join Date: Aug 2003
Status: Offline
Reply With Quote
Nov 23, 2005, 03:25 PM
 
Originally Posted by Millennium
Generally speaking, betoranaldi, it is much easier to make a page work in Firefox and then fix it for IE than it is to go the other way around. IE isn't very good about following standards, but it's good enough that when it doesn't work right the tweaks needed to fix it are usually small. However, its behavior isn't very well documented, so even when it seems to work one way, you have no guarantee that this is how HTML is supposed to work at all, and so supporting browsers can become much harder.

I'm not telling you to drop IE support, or even to de-prioritize it. I'm just saying that your workload will be lighter if it's the second browser you test with, as opposed to the first.
Millennium, thanks for this pointer, I will defintally use it, this point foward. I don't normally care about IE and never really had a problem like this before.

Thanks everyone for all of your help on this.
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 03:26 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,