permaculture playing cards
The moose likes HTML, CSS and JavaScript and the fly likes Titled borders ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Titled borders ?" Watch "Titled borders ?" New topic

Titled borders ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
how to use Javascript to create a similar component to java Swing "Titled borders", which group several components together. the link is

or which key words I need to google it ?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63873

Javascript? Why would you think you need Javascript to do this?

Try the following HTML:

The fieldset and legend elements can also be styles further with CSS.
[ August 03, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
because I am new to JS/CSS.

I agree. Here's the link:
subject: Titled borders ?
It's not a secret anymore!