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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

Changing alignment for some columns
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Changing alignment for some columns
#7596
Changing alignment for some columns 13 Years, 7 Months ago Karma: 0
Sorry, I am still getting comfortable with CSS. I have taken a look at many of the style sheets but I cannot find where to set the alignment for the text in my table.

For example, I have a simple table with only 3 columns. The table looks bad because the text for each field is left aligned. I want the first column to be left aligned, but the others to be center aligned.

Can you point me in the right direction of where I might make this setting?

I am using the ARI Datatables widget.

Thanks in advance
Last Edit: 2010/10/05 05:40 By cfinch.
The administrator has disabled public write access.
 
#7599
Re:Changing alignment for some columns 13 Years, 7 Months ago Karma: 748
Hello,

Set 'Advanced styling' parameter to 'Yes' and enter the following code into 'CSS Styles' textarea:

Code:


TABLE{$id} TR TD
{
 text-align: center;
}

TABLE{$id} TR TD.ari-tbl-col-0
{
 text-align: left;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#11002
Re:Changing alignment for some columns 13 Years, 2 Months ago Karma: 1
What i have to replace in thir example?
TABLE -> my table name?
id -> colun name?
The administrator has disabled public write access.
 
#11003
Re:Changing alignment for some columns 13 Years, 2 Months ago Karma: 748
Nothing should be changed. Put the above code to 'CSS Styles' parameter.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#11004
Re:Changing alignment for some columns 13 Years, 2 Months ago Karma: 1
What do you mean with 'CSS Styles' parameter? The css templates in the smart content component?
The administrator has disabled public write access.
 
#11005
Re:Changing alignment for some columns 13 Years, 2 Months ago Karma: 748
This topic about ARI Data Tables extension, not about ARI Smart Content.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12