Click here to get back home

internet explorer makes gabs

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
internet explorer makes gabs Geri Becker 09-01-2005
Get Chitika Premium
Posted by Geri Becker on September 1, 2005, 1:39 am
Please log in for more thread options


Hello,

I use the code
<td align="left" valign="top"><img src="pictures/5pixel-transparent.gif"
width="700" height="1" alt="" border="0">
to force the width of a table.
But now my Internet Explorer (version 6) makes a gab (big like <br>)
after this code, Firefox and Opera doesn't and work correctly.
Does anybody know why the IE makes this gabs and how can I prevent that?

Thanks
Geri

Posted by Jukka K. Korpela on September 1, 2005, 8:50 am
Please log in for more thread options


Geri Becker wrote:

> I use the code
> <td align="left" valign="top"><img src="pictures/5pixel-transparent.gif"
> width="700" height="1" alt="" border="0">
> to force the width of a table.

Stop trying that. Problem solved. Besides, you solved a much bigger
problem as well, or stopped trying to create it.

> But now my Internet Explorer (version 6) makes a gab (big like <br>)

You mean "gap", right?

> after this code, Firefox and Opera doesn't and work correctly.
> Does anybody know why the IE makes this gabs and how can I prevent that?

Yes, we know, and we could tell you, but then we would have to
hate ourselves for helping you to do the wrong thing.

Posted by Geri Becker on September 2, 2005, 3:45 am
Please log in for more thread options


Jukka K. Korpela schrieb:
> Geri Becker wrote:
>
>> I use the code
>> <td align="left" valign="top"><img
>> src="pictures/5pixel-transparent.gif" width="700" height="1" alt=""
>> border="0">
>> to force the width of a table.
>
> Stop trying that. Problem solved. Besides, you solved a much bigger
> problem as well, or stopped trying to create it.

Some old browsers of mac and others didn't follow the definite sizes of
the table so I had to use this method.

>> But now my Internet Explorer (version 6) makes a gab (big like <br>)
>
> You mean "gap", right?

Yeah right! My english isn't that good as formerly ;-)

>> after this code, Firefox and Opera doesn't and work correctly.
>> Does anybody know why the IE makes this gabs and how can I prevent that?
>
>
> Yes, we know, and we could tell you, but then we would have to
> hate ourselves for helping you to do the wrong thing.

So what would be the right thing?

Geri

Posted by Darin McGrew on September 2, 2005, 1:50 am
Please log in for more thread options


>>> I use the code
>>> <td align="left" valign="top"><img
>>> src="pictures/5pixel-transparent.gif" width="700" height="1" alt=""
>>> border="0">
>>> to force the width of a table.

Jukka K. Korpela wrote:
>> Stop trying that. Problem solved. Besides, you solved a much bigger
>> problem as well, or stopped trying to create it.

> Some old browsers of mac and others didn't follow the definite sizes of
> the table so I had to use this method.

Jukka's point is that you should stop trying to force the width of a table,
not that you should stop using this particular technique for it.

BTW, your current technique still won't always force a width of 700px.

> So what would be the right thing?

See http://www.htmlhelp.com/faq/html/design.html#screen-size and
http://www.xs4all.nl/~sbpoley/webmatters/flexdesign.html

See also http://webtips.dantobias.com/force.html
--
Darin McGrew, mcgrew@stanfordalumni.org, http://www.rahul.net/mcgrew/

"There is nothing so useless as doing efficiently
that which should not be done at all." - Peter F. Drucker

Posted by Geri Becker on September 2, 2005, 4:09 am
Please log in for more thread options


Darin McGrew schrieb:
> Jukka's point is that you should stop trying to force the width of a table,
> not that you should stop using this particular technique for it.

ah ok.

> BTW, your current technique still won't always force a width of 700px.

why?

> See http://www.htmlhelp.com/faq/html/design.html#screen-size and
> http://www.xs4all.nl/~sbpoley/webmatters/flexdesign.html
>
> See also http://webtips.dantobias.com/force.html

I've to check that ...

Thanks
Geri

Similar ThreadsPosted
Internet Explorer Bug? May 22, 2006, 6:05 pm
css & internet explorer January 10, 2008, 4:55 am
Box Model in Internet Explorer 7.0 May 16, 2005, 10:22 am
subscripts on Internet Explorer March 7, 2005, 9:25 am
“ and Internet Explorer (6) October 29, 2008, 9:28 am
Button Element and Internet Explorer 6.0 August 3, 2004, 8:24 am
internet explorer vs firefox vs netscape March 1, 2005, 7:13 pm
svg in Internet Explorer with adobe plugin June 5, 2008, 10:39 am
Dimensions of embedded video in Internet Explorer? January 31, 2006, 2:56 pm
Internet Explorer won't hide nested paragraphs March 11, 2007, 12:12 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap