473,545 Members | 582 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

internet explorer makes gabs

Hello,

I use the code
<td align="left" valign="top"><i mg 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
Aug 31 '05 #1
7 1440
Geri Becker wrote:
I use the code
<td align="left" valign="top"><i mg 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.
Sep 1 '05 #2
<td align="left" valign="top"><i mg
src="pictures/5pixel-transpare*nt.gi f"
width="700" height="1" alt="" border="0"></td>

Just put it all on one line of code without line breaks.

Sep 1 '05 #3
Jukka K. Korpela schrieb:
Geri Becker wrote:
I use the code
<td align="left" valign="top"><i mg
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
Sep 2 '05 #4
dw************@ gmail.com schrieb:
<td align="left" valign="top"><i mg
src="pictures/5pixel-transpare*nt.gi f"
width="700" height="1" alt="" border="0"></td>

Just put it all on one line of code without line breaks.


Thanks, this "all on one line" method works - strange ie!

Geri
Sep 2 '05 #5
Geri Becker <gu****@gmx.net > wrote:
I use the code
<td align="left" valign="top"><i mg
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.

Geri Becker <gu****@gmx.net > wrote: 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/des...ml#screen-size and
http://www.xs4all.nl/~sbpoley/webmat...lexdesign.html

See also http://webtips.dantobias.com/force.html
--
Darin McGrew, mc****@stanford alumni.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
Sep 2 '05 #6
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/des...ml#screen-size and
http://www.xs4all.nl/~sbpoley/webmat...lexdesign.html

See also http://webtips.dantobias.com/force.html


I've to check that ...

Thanks
Geri
Sep 2 '05 #7
I wrote:
BTW, your current technique still won't always force a width of 700px.

Geri Becker <gu****@gmx.net > wrote: why?


Off the top of my head:

- the browser might support a "Fit to Window" feature

- the browser might resize images that don't fit the current window

- the user style sheet might include something like

img[height="1"] , img[width="1"] { display: none !important }

- the browser might not load images

- the browser might not honor tables

- the browser might not use pixels at all

But mostly, because "force" doesn't work on the WWW:
http://webtips.dantobias.com/force.html
--
Darin McGrew, mc****@stanford alumni.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
Sep 2 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6307
by: Scott A. Keen | last post by:
Hi, I'm getting tasked with writing an ASP application deployed throughout the company's intranet where all the workstations will be running Internet Explorer 6.0. It's a retail business, and some of the workstations are Point-Of-Sale and will need to have cash drawers and bar-code scanners. The project managers want this as a...
6
16601
by: Veerle | last post by:
Hi, Somewhere in my html page, I have the following code: <div id="main-body"> <h2>Header text</h2> <p>Some other text ...</p> ..... <h2>Another header text</h2> <p>Some more other text ...</p>
11
1742
by: dhplank | last post by:
Hello everyone, I've developed a calendar program in javascript, and up until now I've done most of my testing using Mozilla and Firefox. Everything works fine, but when I try to use Internet Explorer my response time is sometimes 50 times slower than using Mozilla. I know I haven't given you much to go by, but I'm not looking for an...
0
1862
by: Steve Podradchik | last post by:
Hi, We have a commercial app that downloads data from various Web pages (not via a Web Service, per se) and parses the data from the response. The code below works fine most of the time but, in some corporate environments -- esp. those with Proxy servers -- the app fails to get the page. That is, it isn't just that the app doesn't logon...
3
2327
by: VK | last post by:
Internet Explorer 7 beta 2 preview CNET Editor review: <http://reviews.cnet.com/Internet_Explorer_7_for_XP_SP2_Beta_2/4505-3514_7-31454661-2.html?tag=nl.e415> Summary (my personal review interpretation): "Half stolen from Firefox, half is buggy - including the stolen part". Download:...
11
13380
by: Doug van Vianen | last post by:
Hi, I often like to include some JavaScript coding in my web pages to make them more interesting. Unfortunately, even when this coding is as simple as a check to see what the display width is in pixels so that pictures on the page can be adjusted to better fit the display, Internet Explorer detects the coding and blocks it. Of course the...
7
5742
by: imad.sabonji | last post by:
HI I am using Visual Studio.Net 2003 and using C# I would like to know how is it possible to change the Internet explorer window title? ie. i want to get rid of "Microsot Internet Explorer" that appears after my application name on the title bar and if possible, get rid of the IE logo at the start of the address bar.
28
3561
by: Neo Geshel | last post by:
NOTE: PAST EXPERIENCE HAS SHOWN ME THAT MANY ON USENET FAIL TO READ ARTICLES PROPERLY PRIOR TO ANSWERING. I AM LOOKING FOR VERY SPECIFIC INFORMATION, THEREFORE PLEASE READ AND UNDERSTAND THOROUGHLY BEFORE RESPONDING; OR ASK QUESTIONS TO CLARIFY. I *WILL* APPRECIATE ANY CONSTRUCTIVE REPLY. Greetings! I am in the process of creating a...
9
1618
by: -Lost | last post by:
http://blogs.msdn.com/ie/archive/2007/12/19/internet-explorer-8-and- acid2-a-milestone.aspx Oh my! A somewhat standards compliant Internet Explorer? What about JavaScript? Not that it proves much, but it is definitely a huge step in the right direction. Bruce Lawson of The Web Standards Project seems optimistic albeit a
0
7457
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7391
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7410
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7746
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3443
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1869
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
693
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.