Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphic borders

Status
Not open for further replies.

TruthInSatire

Programmer
Aug 12, 2002
2,964
US
I know how to make a graphic border with rounded or cut corners using a 3x3 table. Is there an easier way to do it in css?

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
Hi Bombboy,

Try the FIELDSET tag. This gives you round corners!


Jakob
 
I've used fieldsets before just for the legend. The border look square to me. Even if they where round it can't do things like the border I did here
Thanks.

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
A tag in itself won't give round borders.
A browser's rendering of that tag might, but htat depends on the browser.

A tag simply marks something as being a particular type of data, it doesn't have any styling. That's down to the user agent being used. Hence CSS.

"I'm making time
 
so i'm guessing the 3x3 table is the easiest way to do it then huh? No neat rules in css to do it?

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
Thanks foamcow. what is the easiest way to make that 3x3 table a certian height? for example on the Link i gave above how would I make the nav bar the full height to be level with the footer.

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
I've not used tables for layout for some time, but here are some options...

You can try the height attribute, not sure it will help though.
You could try using CSS to size the table... likewise.

The easiest way would be to "prop" the table open using a spacer graphic. (transparent gif 1pixel wide by however high you want it.

"I'm making time
 
Thanks for the suggestion foamcow. I'll try playing with the height using css. I can't use a spacer graphic because the main body will most times be dynamic content so the height will shift up and down.

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top