A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to draw borders around DIV(division) tag
Joined: Aug 21, 2001
Mar 01, 2002 16:03:00
did someone know how to draw a border around <div> tag.
for examples to draw borders around tables we can write border=1 in table tag.
i think there is no parameter for border in div tag so any other way to draw a border arount it..
Author and ninkuma
Joined: Jan 10, 2002
Mar 01, 2002 19:58:00
Try using a CSS style on the div, as in:
<div style="border:1px solid black">Whatever</div>
Asking smart questions
Books by Bear
subject: How to draw borders around DIV(division) tag
Copy n' Paste in JEditorPane wraps text in new css..?
Caption with awt
painting a custom JComponent
drawing box and connecting them
background image on JPanel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015