473,385 Members | 1,898 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,385 software developers and data experts.

Table rendering problem in IE, works in everything else.

Hi all,
I'm having an issue with a page that uses tables to build the primary interface. In Firefox and Safari, it looks exactly the way I want it too by expanding the correct <td> cell on the left side. In IE it expands the wrong <td>cell on the left side, breaking the layout. You can view the page here:

http://www.allcountylockandsafe.com/safecracking.html

Anyone know why it's doing this? Is there a way I can specify which cell is supposed to stretch?

Edit: I completely redid the page from scratch and still have the same problem. My second attempt you can view here:

http://www.allcountylockandsafe.com/test.html

Both look good in Firefox, both break (differently) in IE.

I've been working on this bug for hours now. Any help would be greatly appreciated.
Feb 25 '08 #1
9 1973
drhowarddrfine
7,435 Expert 4TB
Validate your html and css for those lists of errors.
Feb 25 '08 #2
Okay I validated and fixed all problems but 2 which I dont know how to solve:

1. there is no attribute "leftmargin"
2. there is no attribute "topmargin"

It says these are not valid attributes, yet if I take them out my page gains padding which I don't want.

So I've verified the code and still have the exact same problem. This page is not rendering correctly in any version of IE that i've tested. 5-7. But it works correctly in every other browser that i've tested. IE seems to be stretching all of the column 2 cells, instead of just the one it's supposed too.

Any ideas?
Feb 26 '08 #3
harshmaul
490 Expert 256MB
remove those two, and use this....

Expand|Select|Wrap|Line Numbers
  1. style="margin-top:0px; margin-left:0px;"
Feb 26 '08 #4
remove those two, and use this....

Expand|Select|Wrap|Line Numbers
  1. style="margin-top:0px; margin-left:0px;"
Thanks, now my page validates with no errors. However, my original problem is still there. Anyone know a way to fix the table issue I'm having?

Also, I want to add that I'm currently teaching myself CSS to get away from table layouts, but this layout is ready to go sans this problem. I really want to avoid recoding this site, although I plan on my next one being CSS.
Feb 26 '08 #5
Okay so i'm attempting recoding the interface in CSS. Here's what I have so far. I have a few questions for anyone kind enough to help a newbie. Any help at all would be killer, as I'm trying to teach myself. Table Layout Designer desperately trying to convert!

http://www.allcountylockandsafe.com/csslayout.html
http://www.allcountylockandsafe.com/css/master.css

1. Why does it slow IE7 to a crawl? (haven't tested any other versions)

2. Why is there an incorrect black background displayed in firefox, but it is correct in IE7.

3. How do I have the left sidebar match the height of the content panel? I want it to fill the blank space with white.

4. How do I float the vault image into the top left corner without it moving anything else around, so that it looks like the original layout?
Image: http://www.allcountylockandsafe.com/images/lo-vault.gif
Desired Look: http://www.allcountylockandsafe.com/indexb.html
Feb 27 '08 #6
drhowarddrfine
7,435 Expert 4TB
1) It shouldn't. Don't know why.
2) Firefox repeats. IE doesn't. Set your background image to 'no-repeat'

4) position:absolute; top:0; left:0
Feb 27 '08 #7
Hi Mustaine,
1. Why does it slow IE7 to a crawl? (haven't tested any other versions)
IE6 crashes too. You should add 3px to the width of #page-container cuz the sidebar div is below the content in IE6. I don't have IE7 to test if that will solve the problem.
2. Why is there an incorrect black background displayed in firefox, but it is correct in IE7.
repeat the background image.

I don't have time now to check other problems. I'll see if I can tomorrow.
Feb 27 '08 #8
Thanks for the help!

I re-tabled the design and stuck with what I knew for this site, but my next site will be CSS and I'm still going to try to learn from this one.

The original issue still goes unsolved, but I'm gonna chalk it up to IE being a steaming pile of dung.

Thanks guys!
Feb 29 '08 #9
drhowarddrfine
7,435 Expert 4TB
Just to make you feel better (maybe), I just upgraded a friend's site. I really didn't have time to mess with it so I rushed a bit using Firefox and Opera as my test beds (don't have IE or Windows on my laptop). When I was done:
Firefox good.
Opera wonderful!
Safari great!!
IE6 errrr...
IE7 Arrrrgh.
Feb 29 '08 #10

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

Similar topics

5
by: Sue | last post by:
On code-behind page: (attributes set programatically for each of these elements) linkbutton added to tablecell textbox added to tablecell tablecells added to tablerow tablerow added to table...
7
by: lawrence | last post by:
This page renders slowly on both IE and Netscape - everything downloads before anything appears on screen. It is the behavior you'd expect if the whole thing was wrapped in a table, yet there is no...
7
by: Richard Lawrence | last post by:
Hi, Consider the following: #Content { margin:0px 210px 50px 200px; padding:10px; } If I use it with the following HTML:
2
by: Martin Doyle | last post by:
Ok, I'm building a JS-based limitless-sublevel dynamic menu and am making it cross browser as well - 3 packs of aspirin so far and counting ;) I'm having a weird rendering problem using Opera...
28
by: Lee Rouse | last post by:
Hello all, This is going to be a rather lengthy "question". I have an Access 2k database, separated front end/back end. Front end copies are on about 30 workstations and used frequently during...
0
by: Scott Yenor | last post by:
Hello, I am writing a control library that has a control that inherits from System.Web.UI.Control. The control works fine and I am able to loop through the child controls and display everything...
3
by: Amar | last post by:
I have a abc.PRG file in visual foxpro 8.0. I can run this file using visual foxpro environment and it creates a table X.dbf in the same folder where this program file is and populates some data...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
7
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
5
by: =?Utf-8?B?THVib21pcg==?= | last post by:
Hi, I have the table like below: <asp:Table ID="tblControls" runat="server" HorizontalAlign="Center" Width="768px" Font-Names="Tahoma" Font-Size="Small" BorderStyle="Solid"...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.