473,473 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Why does Internet Explorer show a 1px column as a much wider columb

I have a table setup with 1 row and three columns. The two outer columns are for content, and the middle column is 1px wide with a dark background color in use as a border/separator. For some reason in internet explorer, the column is showing up rather wide.
Here is the code that I am using:

Expand|Select|Wrap|Line Numbers
  1. <table width="100%" border="0" cellpadding="0" id="facilites">
  2.   <tr>
  3.     <th width="49%" scope="col" id="facilites">
  4.         Left Content
  5.     </th>
  6.     <td width="1px" bgcolor="#666633"></td>
  7.     <th width="51%" scope="col" id="facilites">
  8.         Right Conent   
  9.     </th>
  10.  
  11.   </tr>
  12. </table>
Any help is appreciated.
Thanks
Oct 21 '10 #1
1 1263
Death Slaught
1,137 Top Contributor
  1. You should never use tables for layout.
  2. You're using deprecated attributes.
  3. What version of IE are you using?
  4. Are you using a doctype? If so which one?


Thanks, Death
Oct 22 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: The Roys | last post by:
I have a VB program which loads a jpg file into a picture box. I want to be able to d/click on the picture box and have Internet Explorer show this jpg file. What code do I put into the...
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...
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; }
3
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...
11
by: Wendy | last post by:
Hello, I have a program that does the following: When a user clicks on a row in a VB.NET datagrid, it will open a web page in Internet Explorer (that corresponds to that item in the selected row...
7
by: francais31415 | last post by:
Hi, (Apologies in advance for any cross-posting.) This is my first post to this group. I hope you can help me. I've got a page (of my own design) with a table that renders fine in Firefox and...
2
coolgames
by: coolgames | last post by:
Where does internet explorer store autofill and website *form* data by the *form*, i mean in the address box where the websites popup. thank you
26
by: Prisoner at War | last post by:
Hi, All: I have a JavaScript search engine that always causes MSIE 7 to do a top-of-page security "warning" (that top-of-page-bar, and not an "alert" )...but other websites' JavaScripts do not...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...
0
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,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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 ...

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.