PDA

View Full Version : help needed with moving tables


Raberto
12-21-2005, 03:58 PM
Hi all, new to this forum, Can anyone help PLEASE because I am cracking up.
I`m working on a site at the moment, I have centered the all the main tables in Dreamweaver ( I`m not much of a coder ) When I preview in IE they don`t move, great. But when I preview in FireFox two of the pages move slightly to the right (About and Contact pages)
In the layout view when I press F4 to hide all the toolbars and look at the ruler, it tells me the two offending pages are shifting about 6 pixels to the right even though I select the center option.
Yes all the tables are the same size?????????????????
www.accesscleaningsolutions.co.uk ('http://www.accesscleaningsolutions.co.uk')
I am at a lost, any help would be more than welcome.
Thanks
Rab :(

davidj
12-21-2005, 05:24 PM
just checking through your code

try removing
<!--DWLayoutEmptyCell-->
from your code.

see if that makes any difference.

Creative Insanity
12-21-2005, 05:30 PM
You do know that FF by default has a margin of 10px didn't you.
To remove that use a css file with this in it:

body {
margin: 0;
}

The body margin tags will not work with FF.
What I mean here is this:

<body leftmargin="0">

you have to use the CSS method.

Raberto
12-21-2005, 05:56 PM
Hi Guys, Thanks so much for your input.
David, tried your suggestion but no joy.

Mr Insanity, No, I did not know that but I`m so please you told me.
I will try your suggestion just as soon as can get some time.
Thanks once more

Andromeda
12-21-2005, 06:35 PM
You do know that FF by default has a margin of 10px didn't you.

CI, I didn't know that either! It could explain a few things! Thank you.

domedia
12-22-2005, 06:53 PM
All browsers have default margin, this simple css snippet takes care of all of the browsers:
body {margin: 0; padding: 0;}

Raberto
12-22-2005, 07:10 PM
Thanks for your input everyone.
I`v spoted the problem. But not sussed the remedy.
Ill let you know when I have more time to explain.
Cheers
Rab

Creative Insanity
12-22-2005, 08:28 PM
If you guys want to know more about the workings of FireFox (which is why I like it.. being a fan of opensource and non lock applications) if you enter into the url text field (where you type a web address) about:config it will show the workings of FF. But if you do not understand what you are looking at don't mess with things.

Andromeda
12-23-2005, 01:27 AM
:) Probably best if I stay well away from it!!!