Stretchwickster
Programmer
Hi there,
What I am trying to do is add some space above a table (i.e. move the table down by about 10px or so). In an attempt to achieve this I have tried:
and
In FF everything behaves as I would expect it to. IE, however adds 10px on each side of the table even though I only asked for the top to have padding applied. I've also tried substituting padding for margin but to no avail.
What am I doing wrong here?
Any advice would be much appreciated!
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
What I am trying to do is add some space above a table (i.e. move the table down by about 10px or so). In an attempt to achieve this I have tried:
Code:
<table border="0" cellspacing="0" cellpadding="0" style="padding: 10px 0 0 0">
Code:
<table border="0" cellspacing="0" cellpadding="0" style="padding-top: 10px">
What am I doing wrong here?
Any advice would be much appreciated!
Clive
![Runner_1Revised.gif](http://dev.slydance.com/images/Runner_1Revised.gif)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096