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

1px left from table in Firefox

Hi!
I'm styling my table with following CSS code:

[css]
table.results{
border-collapse:collapse;
}
table.results td{
border:1px solid #a7a7a7;
margin:0;
padding:0 4px 0 4px;
}

The problems is that table is moved 1px to left in Firefox, but other
browsers like IE5.x, 6.0 and Opera 7.54 view this table correctly.

Any suggestion?

Is border-collapse:collapse; safe to use?

--
Regards,
Cezar
Jul 20 '05 #1
9 2200
On Tue, 17 Aug 2004 15:03:48 +0200, Cezar <ce*****@imail.net.pl> wrote:
Hi!
I'm styling my table with following CSS code:

[css]
table.results{
border-collapse:collapse;
}
table.results td{
border:1px solid #a7a7a7;
margin:0;
padding:0 4px 0 4px;
}

The problems is that table is moved 1px to left in Firefox, but other
browsers like IE5.x, 6.0 and Opera 7.54 view this table correctly.

Any suggestion?

Is border-collapse:collapse; safe to use?


Without more specific information to go on (such as a URL of a test case),
I would suggest that if your design is ruined by one pixel of offset,
there is a greater problem in your design than this issue.
Jul 20 '05 #2
Neal napisał(a):
On Tue, 17 Aug 2004 15:03:48 +0200, Cezar <ce*****@imail.net.pl> wrote:
Hi!
I'm styling my table with following CSS code:

[css]
table.results{
border-collapse:collapse;
}
table.results td{
border:1px solid #a7a7a7;
margin:0;
padding:0 4px 0 4px;
}

The problems is that table is moved 1px to left in Firefox, but other
browsers like IE5.x, 6.0 and Opera 7.54 view this table correctly.

Any suggestion?

Is border-collapse:collapse; safe to use?


Without more specific information to go on (such as a URL of a test
case), I would suggest that if your design is ruined by one pixel of
offset, there is a greater problem in your design than this issue.


I knew that URL could be very useful. Let's see:

1. http://demo.ikeris.com/wdx/main/index.php
2. Go to "Registering Tickets / Login"
3. Username: admin, Password: admin.
4. After login You see table "5 longest awaiting tickets:". After this
the table is moved 1px to left. I don't know why.

--
Regards,
Cezar
Jul 20 '05 #3
Cezar schreef:
Neal napisał(a):
On Tue, 17 Aug 2004 15:03:48 +0200, Cezar <ce*****@imail.net.pl> wrote:
Hi!
I'm styling my table with following CSS code:

[css]
table.results{
border-collapse:collapse;
}
table.results td{
border:1px solid #a7a7a7;
margin:0;
padding:0 4px 0 4px;
}

The problems is that table is moved 1px to left in Firefox, but other
browsers like IE5.x, 6.0 and Opera 7.54 view this table correctly.

Any suggestion?

Is border-collapse:collapse; safe to use?


Without more specific information to go on (such as a URL of a test
case), I would suggest that if your design is ruined by one pixel of
offset, there is a greater problem in your design than this issue.

I knew that URL could be very useful. Let's see:

1. http://demo.ikeris.com/wdx/main/index.php
2. Go to "Registering Tickets / Login"
3. Username: admin, Password: admin.
4. After login You see table "5 longest awaiting tickets:". After this
the table is moved 1px to left. I don't know why.

When resizing the page lokks a mess
Peter
Jul 20 '05 #4
Peter napisał(a):
Cezar schreef:
Neal napisał(a):
On Tue, 17 Aug 2004 15:03:48 +0200, Cezar <ce*****@imail.net.pl> wrote:

Hi!
I'm styling my table with following CSS code:

[css]
table.results{
border-collapse:collapse;
}
table.results td{
border:1px solid #a7a7a7;
margin:0;
padding:0 4px 0 4px;
}

The problems is that table is moved 1px to left in Firefox, but
other browsers like IE5.x, 6.0 and Opera 7.54 view this table
correctly.

Any suggestion?

Is border-collapse:collapse; safe to use?
Without more specific information to go on (such as a URL of a test
case), I would suggest that if your design is ruined by one pixel of
offset, there is a greater problem in your design than this issue.


I knew that URL could be very useful. Let's see:

1. http://demo.ikeris.com/wdx/main/index.php
2. Go to "Registering Tickets / Login"
3. Username: admin, Password: admin.
4. After login You see table "5 longest awaiting tickets:". After this
the table is moved 1px to left. I don't know why.

When resizing the page lokks a mess
Peter


It's strange. Could You give me more information or screenshot ?
I was tested on few systems and few browsers. So, that's why I was
surprised :-)

Greets,
Cezar

--
Pozdrawiam,
Cezar
================================
Internet Explorer?
Powinni tego zabronić....
Jul 20 '05 #5
> I knew that URL could be very useful. Let's see:

1. http://demo.ikeris.com/wdx/main/index.php 2. Go to "Registering Tickets
/ Login" 3. Username: admin, Password: admin.
4. After login You see table "5 longest awaiting tickets:". After this the
table is moved 1px to left. I don't know why.


Is there any reason why you create your headers for the tables with the
following?

<div class="foo"><p class="foo-title">The title</p></div>

How about using the table completely and then styling the table elements.

See http://www.alistapart.com/articles/tableruler/ and
http://www.alistapart.com/articles/zebratables/ for some ideas on how to
style tables.

/mde/
just my two cents . . . .
Jul 20 '05 #6
Cezar schreef:
Peter napisał(a):
Cezar schreef:
Neal napisał(a):

On Tue, 17 Aug 2004 15:03:48 +0200, Cezar <ce*****@imail.net.pl>
wrote:

> Hi!
> I'm styling my table with following CSS code:
>
> [css]
> table.results{
> border-collapse:collapse;
> }
> table.results td{
> border:1px solid #a7a7a7;
> margin:0;
> padding:0 4px 0 4px;
> }
>
> The problems is that table is moved 1px to left in Firefox, but
> other browsers like IE5.x, 6.0 and Opera 7.54 view this table
> correctly.
>
> Any suggestion?
>
> Is border-collapse:collapse; safe to use?
>

Without more specific information to go on (such as a URL of a test
case), I would suggest that if your design is ruined by one pixel
of offset, there is a greater problem in your design than this issue.


I knew that URL could be very useful. Let's see:

1. http://demo.ikeris.com/wdx/main/index.php
2. Go to "Registering Tickets / Login"
3. Username: admin, Password: admin.
4. After login You see table "5 longest awaiting tickets:". After
this the table is moved 1px to left. I don't know why.

When resizing the page lokks a mess
Peter

It's strange. Could You give me more information or screenshot ?
I was tested on few systems and few browsers. So, that's why I was
surprised :-)

Greets,
Cezar

op 200 % in Mozilla
ikeris
Peter
Jul 20 '05 #7
Mark Eggers napisał(a):
Is there any reason why you create your headers for the tables with the
following?

<div class="foo"><p class="foo-title">The title</p></div>
Yes. Because class "foo-title" vertical centering any text on this title
"foo". I don't know any way to solve it.

Just "foo" is the title bar and "foo-title" positioning text in this title.
How about using the table completely and then styling the table elements.

See http://www.alistapart.com/articles/tableruler/ and
This example is for <TR>. So, only mark a line. In my table I mark a
<TD>, one <TD>.
http://www.alistapart.com/articles/zebratables/ for some ideas on how to
style tables.
Good example, but it it more readable ? I don't know :-) Maybe :-)
just my two cents . . . .

--
Regards,
Cezar
Jul 20 '05 #8
Peter napisał(a):
op 200 % in Mozilla
What is this "op" 200%?
ikeris
Peter


--
Reagards,
Cezar
Jul 20 '05 #9
Cezar schreef:
Peter napisał(a):
op 200 % in Mozilla

What is this "op" 200%?
ikeris
Peter


sorry, that´s dutch. meaning: using 200%
Peter
Jul 20 '05 #10

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

Similar topics

7
by: Alex | last post by:
Hi Everone, I need some advice on how to setup 4 columns where the outside two are absolute (120px) and the inner two (side by side) are relevent (Fluid) and change with the screen. Here's my...
11
by: Norman L. DeForest | last post by:
Am I misunderstanding the CSS specifications or is Firefox (version 1.0.6) (and Opera) doing the wrong thing? It appears that Firefox 1.0.6 includes the border in width calculations for tables...
1
by: jonathanmcdougall | last post by:
I am developing a calendar on which dates can be clicked and selected. A calendar is a table in which each day is a cell. Each cell has a unique id. By left-clicking on a date, it gets selected...
1
by: jason.m.ho | last post by:
Has anyone run into the problem of firefox 'border-collapse: collapse' rendering a table 1-pixel too far to the left? In IE and Opera it will render fine...Does anyone know if this is a bug? This...
5
by: john_aspinall | last post by:
http://www.ainewmedia.co.uk/test.htm Im learning CSS based layout and Im pulling my hair out as to why wont my banner DIV float to the right of my login box? It works fine in IE. Any help...
3
by: rudicheow | last post by:
SHORT VERSION ============= I have a bunch of identical fixed-size single-celled tables that rest against each other horizontally thanks to "float:left". These tables are dynamically generated...
2
by: Anette | last post by:
Hi, I've got a problem with Firefox (!). It's not common - I know. :-) The page http://www.vallentunapingst.se/index.html i positioned correctly. At...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...
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...

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.