[css-d] Basic formatting question

2010-06-13 Thread John Dick
I have the following style in my CSS: body { margin: 0; padding: 0; border: 0; } #ad { width: 275px; height: 275px; margin-top: 0; margin-bottom: auto; border: 5px black double; background-color: red; text-align: center; vertical-align:

Re: [css-d] Basic formatting question

2010-06-13 Thread Chris F.A. Johnson
On Sun, 13 Jun 2010, John Dick wrote: I have the following style in my CSS: body { margin: 0; padding: 0; border: 0; } #ad { width: 275px; height: 275px; margin-top: 0; margin-bottom: auto; border: 5px black double;

Re: [css-d] Basic formatting question

2010-06-13 Thread Thierry Koblentz
I have the following style in my CSS: body { margin: 0; padding: 0; border: 0; } #ad { width: 275px; height: 275px; margin-top: 0; margin-bottom: auto; border: 5px black double; background-color: red; text-align: center; vertical-align:

Re: [css-d] Basic formatting question

2010-06-13 Thread David Laakso
John Dick wrote: I have the following style in my CSS: body { margin: 0; padding: 0; border: 0; } #ad { width: 275px; height: 275px; margin-top: 0; margin-bottom: auto; border: 5px black double; background-color: red; text-align:

Re: [css-d] Basic formatting question

2010-06-13 Thread Thierry Koblentz
Hi David, The basic html is: div id=ad Our business is tax. /div Now if I view this in browsers (IE8, FF 3.6.3), the text isn't vertically aligned. However, if I put the text within tags (like: pOur business is tax./p the text appears to be vertically aligned. Changing the

Re: [css-d] Basic formatting question

2010-06-13 Thread David Hucklesby
On 6/13/10 5:17 PM, David Laakso wrote: John Dick wrote: I have the following style in my CSS: [code snipped and amended below] Now if I view this in browsers (IE8, FF 3.6.3), the text isn't vertically aligned. ... Thank you in advance for any advise on this. Here is another