This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > December 2005 > Table Padding





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Table Padding
stevewillicott

2005-12-31, 6:15 pm

Hi All,

i wonder if anyone can help me - I am kinda new to dreamweaver and havinging
problems with tables. I need a table with one row and two columns. then in the
two cells this generates i need two images to sit next to each other. the
trouble is, I have set the border thickness at 0 and also have not assigned any
padding to the table but when previewed, the two images have a slight gap in
between them.

I am sure this is a very simple issue to resolve but as i said , i am new to
dreamweaver and a bit lost!!

Any help you can give me is greatly appreciated.

regards
Steve

Michael Fesser

2005-12-31, 6:16 pm

..oO(stevewillicott)

> i wonder if anyone can help me - I am kinda new to dreamweaver and havinging
>problems with tables. I need a table with one row and two columns. then in the
>two cells this generates i need two images to sit next to each other. the
>trouble is, I have set the border thickness at 0 and also have not assigned any
>padding to the table but when previewed, the two images have a slight gap in
>between them.


Either use this:

<table cellpadding="0" cellspacing="0">

Or better with CSS:

HTML:
<table class="foo">

CSS:
..foo {border-collapse: collapse}
..foo td {padding: 0}

Micha
stevewillicott

2005-12-31, 6:16 pm

Thats great - It worked a treat!!!!

Thanks for your help.


Steve
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews