473,320 Members | 2,098 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Internet Explorer Render Problem

Can someone verify this error for me please and possibly explain why?

The only difference between Table #1 and Table #2 is the containing SPAN tag
on table #2 does NOT have width:100% in the style attribute. Otherwise,
they are exactly the same....looks fine in other browsers. This is a
partial result from a DataGrid inside a span. Just cut-n-paste and tidied
up the html to be a complete example for y'all :) Notice, that when it
renders in IE 6 (haven't tried other versions of IE) the border is gone from
Table #1, and it shows in Table #2...how does width on a parent container
effect borders of a child table?!?

Thanks,
Mythran
CODE BELOW:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
Table #1:
<span style="background-color:blanchedalmond;width:100%;">
<table style="border:1px solid
silver;border-collapse:collapse;background-color:white;" rules=all
border="1">
<tr>
<td>Shipped By</td>
<td>Date Ordered</td>
<td>Date Required</td>
<td>Date Shipped</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</span>
<br>
Table #2:
<span style="background-color:blanchedalmond;">
<table style="border:1px solid
silver;border-collapse:collapse;background-color:white;" rules=all
border="1" ID="Table1">
<tr>
<td>Shipped By</td>
<td>Date Ordered</td>
<td>Date Required</td>
<td>Date Shipped</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</span>
</body>
</html>

Nov 19 '05 #1
1 1358
the <span> is an inline element, not a block element, so borders and widths
are not suppoted. switch to a <div> which is a block element.

-- bruce (sqlwork.com)
"Mythran" <ki********@hotmail.comREMOVETRAIL> wrote in message
news:uk**************@tk2msftngp13.phx.gbl...
Can someone verify this error for me please and possibly explain why?

The only difference between Table #1 and Table #2 is the containing SPAN
tag on table #2 does NOT have width:100% in the style attribute.
Otherwise, they are exactly the same....looks fine in other browsers.
This is a partial result from a DataGrid inside a span. Just cut-n-paste
and tidied up the html to be a complete example for y'all :) Notice, that
when it renders in IE 6 (haven't tried other versions of IE) the border is
gone from Table #1, and it shows in Table #2...how does width on a parent
container effect borders of a child table?!?

Thanks,
Mythran
CODE BELOW:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
Table #1:
<span style="background-color:blanchedalmond;width:100%;">
<table style="border:1px solid
silver;border-collapse:collapse;background-color:white;" rules=all
border="1">
<tr>
<td>Shipped By</td>
<td>Date Ordered</td>
<td>Date Required</td>
<td>Date Shipped</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</span>
<br>
Table #2:
<span style="background-color:blanchedalmond;">
<table style="border:1px solid
silver;border-collapse:collapse;background-color:white;" rules=all
border="1" ID="Table1">
<tr>
<td>Shipped By</td>
<td>Date Ordered</td>
<td>Date Required</td>
<td>Date Shipped</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</span>
</body>
</html>

Nov 19 '05 #2

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

Similar topics

8
by: Joseph Haig | last post by:
Can someone please help me with a problem I have with using alpha transparency in Internet Explorer. I use a php script to determine the browser and if it is found to be Internet Explorer, the...
0
by: Joshua Ginsberg | last post by:
I'm about to drive to Redmond and go Angel-of-Death style on the CSS compliance group at Microsoft. So I developed a stylesheet for my website, really my first stylesheet, and when I tested it...
6
by: harry | last post by:
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in...
6
by: Tim Johnson | last post by:
Hello All: Using javascript to dynamically add row elements to a table. as in ..... row.setAttribute("bgcolor",rowColor); // or cell.setAttribute("bgcolor",rowColor); Using firefox or...
2
by: CathieC | last post by:
I have a websote developed using visual studio 2005 beta , .net version 2 i deploy my application to a server and it is run from client computers. One of the users gets the error "Internet...
3
by: ckirchho | last post by:
Halo, I am trying to realize a two column layout basically like this: <html> <head> <style> leftCol { float: left; width: 15em; }
11
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...
6
by: mark4asp | last post by:
Why is this page so slow to render in Internet Explorer? <http://mark4asp.freehostingnow.com/Search.html> When browsing the page locally, this is my estimated time that the page takes to...
9
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...
1
by: =?Utf-8?B?Tm9ybQ==?= | last post by:
I have an apppliation running on Windows Server 2003. It uses a user control dll. When the application is run from the server with localhost everything runs fine. If the application is run from...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.