Jump to content

Featured Replies

Posted
This is probably the most easiest thing you will be asked but how do I make a html table with a boarder thickness of 1 pixel. Not like the tacky thick boarders you get in DW.

<table border="1">

 

or

 

put this in your code, and figure it out from there

 

<style type="text/css">

table.sample {

border-width: 1px 1px 1px 1px;

border-spacing: 1px;

border-style: none none none none;

border-color: gray gray gray gray;

border-collapse: separate;

background-color: white;

}

table.sample th {

border-width: 1px 1px 1px 1px;

padding: 1px 1px 1px 1px;

border-style: inset inset inset inset;

border-color: gray gray gray gray;

background-color: white;

-moz-border-radius: 0px 0px 0px 0px;

}

table.sample td {

border-width: 1px 1px 1px 1px;

padding: 1px 1px 1px 1px;

border-style: inset inset inset inset;

border-color: gray gray gray gray;

background-color: white;

-moz-border-radius: 0px 0px 0px 0px;

}

</style>

 

<table class="sample">

<tr>

<th>Header</th>

<td>Content</td>

</tr>

</table>

Guest
This topic is now closed to further replies.