Click to See Complete Forum and Search --> : chnaging table borders????


popcop
04-26-2006, 02:10 PM
ive made a table and i added a border to it but as you know its a default grey styled one..... what do i need to do to change the look of the border

felgall
04-26-2006, 05:57 PM
Stylesheets are how you define the appearance of your web page. HTML just defines the content.

To make a border for a table you use the following in your stylesheet.

table {border:1px solid #f00;}

Simply change the values for the border width style and colour to whatever you want to use.

gooncorp
04-27-2006, 07:37 AM
You can change the table appearance using HTML as well:
<table borderwidth="2" bordercolor="red">
you can see other commands in the htmlgoodies tables section.