View Full Version : bordersize with css

11-18-2002, 11:44 PM

I want to make my border smaller than the size "1" of Frontpage... can this be done with style-sheets, using a colour other than black (standard)?

11-19-2002, 12:11 AM
You could use something like the following:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

td.small-border {border-style: solid; border-width: 1px;}
<table summary="">
<tr><td class="small-border">gfdgdfgdfg</td></tr>

Check out W3Schools (http://www.w3schools.com/css/css_border.asp) for heeps more info on this stuff.

Motif Webs
11-19-2002, 03:29 AM
To use Just-Asking's example:

small-border {border: 1px solid #00ff00;} will give you a solid border, 1px wide and it should be colored lime green :) in browsers newer than Netscape 4.x .