View Single Post
Old 07-18-2022, 01:10 PM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Set your default table settings first, then set specific styles with a class:

Css:
table {
margin:….;
border:….;
etc.
}

table.pad1 {
margin:….;
padding:….;
}

table.pad2 {
margin:….;
padding:….;
}

Html:
<table class="pad1">
Yadda, yadda
</table>

<table class="pad2">
Yadda, yadda
</table>

Edit: Ninja’d by the OP!! Lol

IDs work too, but each ID has to be unique; you would have to give the CSS styling for EACH ID on your style sheet. With classes you can have multiples with the same styling … streamlined you CSS sheet.

Last edited by Turtle91; 07-18-2022 at 01:12 PM.
Turtle91 is offline   Reply With Quote