Jump to content

table issue


Ruud

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...