473,799 Members | 3,866 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Different table size in IE6 and N7

Hello,

I was creating a table inside a div element that positions the table.
However, the table (which is "styled" by CSS) does have a different size
in IE6 and N7. Can anyone help me and tell me what´s the reason for this?

Thanks, Horst

CSS stylesheet:

// the table cells
..tab_zellen {
padding:3px;
font-size:16px;
font-family:helvetic a,arial,sans-serif;
font-weight:bold;
}

// div element for positioning the table
#SpielTab {
position:absolu te;
left:21%;
right:21%;
top:102%;
}

// the table
..hr_tabelle {
border-collapse:collap se;
border-style:solid;
border-width:1px;
}

Jul 20 '05 #1
3 2197


Horst Rotenholzer wrote:
I was creating a table inside a div element that positions the table.
However, the table (which is "styled" by CSS) does have a different size
in IE6 and N7. Can anyone help me and tell me what´s the reason for this?
CSS stylesheet:

// the table cells
.tab_zellen {
padding:3px;
font-size:16px;
font-family:helvetic a,arial,sans-serif;
font-weight:bold;
}

// div element for positioning the table
#SpielTab {
position:absolu te;
left:21%;
right:21%;
top:102%;
}

// the table
.hr_tabelle {
border-collapse:collap se;
border-style:solid;
border-width:1px;
}

It is hard to tell without seeing the markup.
Are you aware that IE6 doesn't implement the CSS box model unless you
force it to standards compliant rendering mode by providing a HTML
DOCTYPE declaration?
http://msdn.microsoft.com/library/de...hancements.asp

Maybe IE6 is in quirks mode and that causes the difference.
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2
Hello,

thanks for the tip with the link at MS. Maybe I find there the problem.
However, IE should not be in quirks mode, because I have a xhtml-Doctype
declaration.

Thanks, Horst

Martin Honnen wrote:


Horst Rotenholzer wrote:
I was creating a table inside a div element that positions the table.
However, the table (which is "styled" by CSS) does have a different
size in IE6 and N7. Can anyone help me and tell me what´s the reason
for this? CSS stylesheet:

// the table cells
.tab_zellen {
padding:3px;
font-size:16px;
font-family:helvetic a,arial,sans-serif;
font-weight:bold;
}

// div element for positioning the table
#SpielTab {
position:absolu te;
left:21%;
right:21%;
top:102%;
}

// the table
.hr_tabelle {
border-collapse:collap se;
border-style:solid;
border-width:1px;
}


It is hard to tell without seeing the markup.
Are you aware that IE6 doesn't implement the CSS box model unless you
force it to standards compliant rendering mode by providing a HTML
DOCTYPE declaration?
http://msdn.microsoft.com/library/de...hancements.asp
Maybe IE6 is in quirks mode and that causes the difference.


Jul 20 '05 #3
Horst Rotenholzer wrote:
Martin Honnen wrote:
Maybe IE6 is in quirks mode and that causes the difference.


thanks for the tip with the link at MS. Maybe I find there the
problem. However, IE should not be in quirks mode, because I have
a xhtml-Doctype declaration.


It might be in Quirks mode if you have an XML prolog. What's the URL?
Matthias

Jul 20 '05 #4

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

Similar topics

3
2233
by: francisco lopez | last post by:
I hope not sent I twice. ok here is my problem, the javascript form validation works perfect during I put a emaildirection in the <form action:""> comand, like this: <form action="mailto:butacasalada@gmx.net" method="post" name="formulario" id="formulario" onSubmit="return chkFormular()">
1
5022
by: xixi | last post by:
There is one thing I don't understand, I have default tablespace userspace1 is database managed type, with total freepages 506048. another one called tmpxx is DMS type too, with 525120 free pages. When I create a new table (did not specify on which tablespace), why the table not created on the userspace1 but instead on tmpxx? what is the rule to create a table on tablespace without specify in which tablespace if I have both tablespace...
5
6343
by: sql-db2-dba | last post by:
We have DB2 UDB v8.1 fixpak3 on AIX 5. Production and Development configuarations (at least for DB2) are identical albeit production is a 2-way server while development has only one processor. Tables and indexes have the same schema. In fact, the dev database was taken from a prod backup recently. Size of the tables differ slightly. Yet, on a given query (with 4 tables joined), it took 30-50 times longer to run in prod than on development....
6
2434
by: dale zhang | last post by:
Hi, I build a web form with a 4-cell table on the top (flawlayout), followed by some labels and textboxes (gridlayout). The web form is displayed well in dell m60 laptop with all resolution options and DPI options. However when I tried to run it in a dell P3 desktop, labels and textboxes overlapped each other and they were in table area too. Any suggestions? Do I have to put all controls in table cells?
4
1912
by: Jack | last post by:
Hi, I have the following Access DDL statment from which I generated a access table: CREATE TABLE TEST1 (ID COUNTER, NAME TEXT(50), STORAGESPACEASSIGNED TEXT(50) )
3
2040
by: Chifo | last post by:
hello. i have a problem with a populate html table with data from table here it's the problem two querys retrieving data from table, one of querys show me a colletion of data from 6:00 am to 15:30 pm timestampz, i put this on a part of html table. when time on my if condition es great than 15:31, showme data from 15:31 to 23:59 timestamp and populate another part of html table. but, data in html first part,it's gone away.
14
1498
by: Phil Stanton | last post by:
I have 1 FE database which can be linked to a number of BE databases. The BEs are all different Clubs e.g. Sailing Club, Yacht Club, Bridge Club, Family etc. Problem is if I change anything in the table structure or relationship of one of these clubs, I want to make sure I do it with the other clubs as well. Has anyone got routine that will check that each BE database has 1) All the tables (even though some will be empty e.g. Bridge...
9
1868
by: RayDube | last post by:
Hello Gents, I want to be able to reward my members with credits, banner advertisements, text advertisements and even cash, but on a partially manual basis. I created a page where I could decide how many members would get a reward, and then update them based on the member id and details I enter, here's the code for the page: <?php /** * @author Raymond Dube * @copyright 2008
0
10488
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...
1
10237
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10029
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
9077
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...
0
6808
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
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
4144
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
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
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.