Indent elements like tables

liunx

Guest
I use table of data in my website.

I would love to have the table indented, but not the contents on the inside.

Right now I use this in my style sheets:

table { table-layout:fixed; width:80%; background-color: #fff; padding:0; border-width: 0;text-indent: 2.5em;}

It worked pretty well until I added a link that used a CSS filter, now for some reason the table has been indented and that link, but none of the other links in the table.

If I take out the text-indent: 2.5em part, the link no longer gets indented, but neither does the table.

I'm guessing I went about indenting the table the wrong way in the first place.

Thanks for any help.If what you want is for the entire table to be indented, just add a margin-left value for the table's CSS definition.Thank you very much!

I new it had to be something simple, but it was just bugging me so much.
 
Back
Top