The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Table Coding in Joomla
PostPosted: Wed May 02, 2012 1:04 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 02, 2012 1:00 am
Posts: 1
Hello all,


I have created a table in Joomla, but I now would like to have alternating colors going down the rows.

Eg

Blue
Dark Blue
Blue
Dark Blue

How do I go about this?

Jared


Top
 Profile  
 
PostPosted: Wed May 02, 2012 1:29 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 13, 2008 2:57 am
Posts: 20412
Location: Chennai, India
You could use a separate class for each of the rows/columns and define the class in one of the css files of your template.

Review of the following documents could be of help.
http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_tr_bgcolor
http://www.somacon.com/p338.php

There is an example for this is in the JA Purity template itself. You could notice that the two classes sectiontableentry1 and sectiontableentry2 are being used for differentiating rows in the category table layout.

_________________
- Ilagnayeru (MIG) Manickam
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 



Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group