A Table with rounded corners

C

Cogito

I have looked at the source code of this site:
http://www.caedes.net/
attempting to understand how the rounded corners and frame is added to
the tables. But, I cannot see the trees from the wood.
Can someone please isolate the essential lines of code that are at the
core of this nice table layout and explain how it is done?
 
D

David Dorward

Cogito said:
I have looked at the source code of this site:
http://www.caedes.net/
attempting to understand how the rounded corners and frame is added to
the tables. But, I cannot see the trees from the wood.
Can someone please isolate the essential lines of code that are at the
core of this nice table layout and explain how it is done?

Images in the corners, it really isn't good markup. Try this instead:
http://css-discuss.incutio.com/?page=RoundedCorners
 
T

Travis Newbury

Cogito said:
I have looked at the source code of this site:
http://www.caedes.net/
attempting to understand how the rounded corners and frame is added to
the tables. But, I cannot see the trees from the wood.
Can someone please isolate the essential lines of code that are at the
core of this nice table layout and explain how it is done?

They use images. The absolute easiest way to do something like this is
to have a thin div at the top with a background image of the top
corners, a thin div at the bottom with a background image of the bottom
corners, and a content div(s) in the middle with a repeating background
image of the vertical lines. That method is the easiest and it works in
virtually every browser.
 
D

david m wicker

I have looked at the source code of this site:
http://www.caedes.net/
attempting to understand how the rounded corners and frame is added to
the tables. But, I cannot see the trees from the wood.
Can someone please isolate the essential lines of code that are at the
core of this nice table layout and explain how it is done?

If you looked at that site with firefox, used their webdeveloper
extension, by hitting 'outline/table cells'
you would have been able to see the table construction very easily,
without even looking at the code
you could then see that the corners were 1/4 circles

download ff and use it, you'll learn a lot about how other people
write sites

you'll also be surprised at how poor the standards are for some well
thought of sites
__________________
Regards

David M Wicker
www.atf-uk.co.uk
__________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top