Jump to content

table issue


Ruud
 Share

Recommended Posts

table.indextable {border: 1px solid #000000; background-color: #FFFFFF;margin-left: 150px;margin-right: 150px;}

The mentioned is part of my .css file. I would like my table to have a default setting that they use all the space left in a browser between the 2 margins, could anyone tell me how to do this?Also how do I set a space between the <tr> tags?Ruud

Link to comment
Share on other sites

The mentioned is part of my .css file. I would like my table to have a default setting that they use all the space left in a browser between the 2 margins, could anyone tell me how to do this?Also how do I set a space between the <tr> tags?Ruud
For your first question, do you mean that you want the table to use up all the space? You can try
table {  width: 100%;}

For your second question, you can put spacing on your <tr> with this:

tr {  margin-top: 10px;}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...