Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Left/Right Padding in a column
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Left/Right Padding in a column
#30400
Left/Right Padding in a column 12 Years, 3 Months ago Karma: 0
What is the appropriate way to add padding to the left and right side of columns (Ari Data Table type). Basically just want some space to separate the column text from running too close to the next column text.

I added this, but it doesn't seem to do anything:
Code:

table.display tr td
{
padding:0px 50px;
}

Last Edit: 2012/08/06 19:11 By timtenn.
The administrator has disabled public write access.
 
#30404
Re:Left/Right Padding in a column 12 Years, 3 Months ago Karma: 760
Hello,

Could you provide a link to a page where we can see the table and an image where we can see what do you want to achieve?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#30408
Re:Left/Right Padding in a column 12 Years, 3 Months ago Karma: 0
I managed to get to my end result by adding this CSS rule:

TABLE.display TBODY tr.even td {
background: none repeat scroll 0 0 #F0F0F0;
border-bottom: 1px solid #DDDDDD;
padding: 0 20px;
}
TABLE.display TBODY tr.odd td {padding: 0 20px;}
The administrator has disabled public write access.
 
Go to topPage: 1