Problem setting the left/right/top/bottom padding of a table to different values

This is a discussion on "Problem setting the left/right/top/bottom padding of a table to different values" within the Web Page Design section. This forum, and the thread "Problem setting the left/right/top/bottom padding of a table to different values are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old May 1st, 2008, 12:40
New Member
Join Date: May 2008
Location: Brighton, England
Age: 23
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question Problem setting the left/right/top/bottom padding of a table to different values

I want to set the padding, in a table with only one cell, to say 50px on the right and left, but only 5px for the top and bottom. I thought this was possible before I tried it. I'm using Dreamweaver, and I used the padding options in the 'box' category of the CSS rule dialog box to create a rule which I applied to the table. But it didn't work . I also tried putting the padding CSS inline with the table tag with the style attribute, also didn't work.
Any suggestions/help would be appreciated.

Thanks, Tony
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old May 1st, 2008, 12:58
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,691
Blog Entries: 14
Thanks: 3
Thanked 32 Times in 30 Posts
Re: Problem setting the left/right/top/bottom padding of a table to different values

Hi Tony,

Check out this article to help you set out perfect tables: http://www.netmag.co.uk/zine/develop...perfect-tables

Remembering, of course, that tables are for data not layout - for layout you should be using css and tabless layouts
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 2nd, 2008, 20:30
New Member
Join Date: May 2008
Location: Brighton, England
Age: 23
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem setting the left/right/top/bottom padding of a table to different values

Thanks a lot I'll check out the article
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monster Bottom Padding Maverick25r Web Page Design 4 Jan 31st, 2008 15:03
Firefox ignoring padding-left rawling Web Page Design 9 Jul 11th, 2007 22:03
Repeating an image along the bottom of the page without setting it as background. imagius Web Page Design 9 Apr 27th, 2007 08:35
Setting Form Values to Previously Entered Values masonbarge PHP Forum 6 Oct 17th, 2006 17:36
Moving table to left slightly jj1234 Web Page Design 4 Mar 13th, 2006 15:50


All times are GMT. The time now is 11:02.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42