Table cell borders
I've been trying to style a particular table and can't get it to work properly.
basicaly I just want this one table to have borders round the table and between each cell (like a grid). I've given it's own id and class "table-fees" and I've got the border round the outside but can't get the cell borders to work - can any help please? It's at http://79.170.40.48/professionalcomm...sh-in-england/ - click on the sub link near the top for Fees to see the table. |
ato->Style TABLES->Table Body Cells
|
OK that does it, thanks - but for all my tables! how do I do that for the one table I want lines in - the one I've given a separate class/id?
|
then you have to code some CSS with a selector that is specific for that table - looks like you can use the table's ID you set for it. Write your CSS selector and rule and put them in the CSS Inserts.
|
I have:
.table-fees { background: #ffffff; color: #000000; font-weight: bold; text-align: center; padding: 4px 8px; text-align: left; border:1px solid black; } What do I need to add? |
Quote:
|
I can change the settings for the cell border via the ATO table style section - but that changes ALL my tables! The front page especially is set as a table and I do not want lines around that.
So I have given the one table I want borders in a table id/ class and have put that code (the one in my last post) in the CSS Inserts - but I cannot work out what the command is to include table cell borders on tghat table, or how to get it to do what I want. Please help -I know CSS a little bit but am being defeated by this! What do I need to have in CSS Inserts to make jut one table have cell borders? |
What is the HTML element that makes up a table cell?
How can you uniquely identify that in your table? Answer these and you should be able to write the CSS selector you need |
AH ... so I need to give the td a special ID class? Not sure - that's why I;'m asking on here!
|
remember you can use a parent element/id/class as part of your CSS selector (hint hint) something that would make the rules only apply to the object you want it to.
|
All times are GMT -6. The time now is 05:07 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.