PDA

View Full Version : Thin line around text block or table


davek7
02-21-2006, 01:51 PM
How do I get a thin line around a block of text or table. I see many sites using thin lines to separate tables or text, but when I set my border=1 its too thick. How can I get it half that thickness. Does it have to be a style sheet entry since the regular property area only goes to a border=1 ? I'm using DW8.

Thanks

domedia
02-21-2006, 01:54 PM
Does it have to be a style sheet entry since the regular property area only goes to a border=1 ?[/quote]
Yes, in theory all styling should be done in CSS.
Here's an example:
<div style="border: 1px solid red;">This block has a thin red border</div>