Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
How to draw borders around DIV(division) tag
kashif iftikhar
Ranch Hand
Posts: 43
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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..
Bear Bibeault
Sheriff
Posts: 67756
173
I like...
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try using a CSS style on the div, as in:
<div style="border:1px solid black">Whatever</div>
hth,
bear
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...