472,972 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,972 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 1962
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"...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.