473,788 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can a <TD> tag have a percentage width?

My website at http://www.oregonsae.org/2004mbw/ is a simple three
column table. There is only one table, and one row. The menu on the
left side is one <TD>, the content in the center is another <TD> and
the menu on the right side is another <TD>. I set the width to 15%,
70% and 15% by using <TD TD width="15%" valign="top" align="left">.
This works great in Opera, but in IE version 6.0.2800 in windows XP it
doesn't scale at all. Not at full page, not at partial size page.
What am I doing wrong?

Thank you very much.

Andre S
Jul 20 '05 #1
2 6116
ra*******@yahoo .com (Andre):
My website at http://www.oregonsae.org/2004mbw/ is a simple three
column table. There is only one table, and one row. The menu on the
left side is one <TD>, the content in the center is another <TD> and
the menu on the right side is another <TD>. I set the width to 15%,
70% and 15% by using <TD TD width="15%" valign="top" align="left">.
This works great in Opera, but in IE version 6.0.2800 in windows XP it
doesn't scale at all. Not at full page, not at partial size page.
What am I doing wrong?

See:
<http://www.w3.org/TR/html4/struct/objects.html#ad ef-width-IMG>

Especially this sentence:
<q>
User agents should do their best to scale an object or image to match
.............^^ ^^^^^^^^^^^^^^^ ^^^............ ............... ..........
the width and height specified by the author
............... ............... ...............
</>

IE 6 should try better?

Please scale your img before putting it on the web (BTW that also
loads the page a lot faster )and mention width="" and height="" using
the actual width + height, pls do not let the browser scale your
sizes.

John OO
--

<http://webcel.nl/>
<http://www.webcel.nl/bayshop/shop/bayshop.html>

"Time is what prevents everything from happening at once"
- John Archibald Wheeler -
Jul 20 '05 #2
Andre wrote:
My website at http://www.oregonsae.org/2004mbw/ is a simple three
column table. There is only one table, and one row. The menu on the
left side is one <TD>, the content in the center is another <TD> and
the menu on the right side is another <TD>. I set the width to 15%,
70% and 15% by using <TD TD width="15%" valign="top" align="left">.
This works great in Opera, but in IE version 6.0.2800 in windows XP it
doesn't scale at all. Not at full page, not at partial size page.


Please post your query once. We all saw it the first time.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #3

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

Similar topics

6
12606
by: matt cook | last post by:
I have having two problems with the <TD>, CSS, Firefox combination. I would greatly appreciate any information on fixing them. Firstly, none of the padding or margin values I apply to a <TD> have any visual effect. Everything is fine in IE. Secondly, I am trying to set the background-image of a particular <TD> to an image, and that's not working either. Applying it to the parent <TR> works, as does applying it to other <TD>s in the...
2
5781
by: bissatch | last post by:
Hi, I am trying to use JavaScript to write a table column on a web page. The code is as follows: <html> <head> <script> function displaycount() {
5
116810
by: Derek Fountain | last post by:
I have a horizontal navigation bar, which is a single row table containing the right images. It "stretches" itself across the screen using a penultimate td like this: <td width="100%" background="images/nav_bar/nb_spacer.gif">&nbsp;</td> which works in all major browsers that I've tried, but doesn't validate. No background attribute to the td tag, apparently. What is the correct way to do this? A stylesheet entry with a
8
8309
by: effendi | last post by:
Hi everyone Sorry to ask such a simple question. I created a table with 18 columns- 16 of which represent weeks starting from 1 to 16. In each cell I have a field which takes either a Null value or and "X". Since I only have at most one (1)character, I would like to make the td with as small as possible. I have placed width="5px" but it does seem to work. Can anyone suggest how I can make the cell smaller? Thanks
3
1708
by: RC | last post by:
I have a very sime html table like <html><head><title>My Table</title> <style> input { margin: 0; padding: 0; border-width: 0; text-indet: 0; text-align: left } </style></head><body> <table border="1" width="100%"> <caption>Table Title</caption> <tr>
1
3196
by: neverstill | last post by:
hi- I have a table on a page there is 1 row and 2 cells cell 1 has a user control that is basically just a DataList nested in a table o fit's own. then, below that user control I have some <p> tags to give me vertical space, then after that I have an <asp:image> control. Now, I just added the asp:image control. when I did, it put about 10-12
1
1724
by: Steve Richter | last post by:
I have a simple table with two columns. The first column contains 5 lines of text. The second column contains an iFrame. The iFrame in turn contains a web page. The problem is it does not display at all like I would like it to. I want the column height to expand to the contents of either column. Instead, since I guess the browser does not know the height of the IFrame column, it is the height of column 1 that determines the height. ...
2
2688
by: petereffect | last post by:
i have foll. code <tr> <a href="a1.shtml"> <td width='100%'> &nbsp;"+Testing+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td> </a>
5
2628
by: Michael | last post by:
Hi. I need dinamically calculate input text field based on parent static TD before showing content of input. Please, advice. Michael
0
10366
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9969
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5399
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4070
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
2
3675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.