A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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
I agree. Here's the link:
subject: How to draw borders around DIV(division) tag
drawing box and connecting them
painting a custom JComponent
Copy n' Paste in JEditorPane wraps text in new css..?
Caption with awt
background image on JPanel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014