HTML design question...

Entity

Lifer
Oct 11, 1999
10,090
0
0
I'm trying to set a border around this layout. I don't want to just have a <table border=1>, because I don't really like the table borders. What I want is a simple, nonshadowed 1 pixel border around the bottom, so the layout looks "centered." How can I do this?

thanks,
Rob
 

Electric Amish

Elite Member
Oct 11, 1999
23,578
1
0
<div style="border: 1 solid black;"> website stuff here</div>

1= size

solid= line type

black= color

You could also use the <SPAN></SPAN> tag instead of the <DIV> tag.

amish
 

Alphathree33

Platinum Member
Dec 1, 2000
2,419
0
0
<div style="1px solid black">STUFF</div>


But you don't even have to use a <div>


In your <TD>, add the style="1px solid black"

Or even in your <TABLE>, depending on where you want it to display.

For a more interesting effect, try 1px dashed black, but my god make sure you know what you're doing if you start using this.