Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 6th, 2004, 08:07 AM
Authorized User
 
Join Date: Nov 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to curve a tables edge?

Hi,
I heard from my friend that in css u can curve table edges so it can look more cooler. Plz can anyone tell me the code for that so i can do it plzz!!.






Regards,
Scrowler

 
Old December 7th, 2004, 04:24 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Create a small image for each corner, make it look like a rounded corner, and stick each one in its corresponding corner.

-Snib - http://www.snibworks.com
Where will you be in 100 years?
 
Old December 15th, 2004, 12:53 PM
Authorized User
 
Join Date: Nov 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

but how can i fit each image in the corner exactly?

 
Old December 15th, 2004, 01:24 PM
Authorized User
 
Join Date: Nov 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

u accually can do it without images, by css script, wat do we type?

 
Old December 15th, 2004, 02:20 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

CSS rounded corners are not supported in the majority of recent web browsers. Using them is not a good practice.

In Mozilla browsers, you can use -moz-border-radius, but the majority of web browsers are not Mozilla.

-Snib - http://www.snibworks.com
Where will you be in 100 years?
 
Old December 15th, 2004, 04:40 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

There is a way of doing it with pure CSS but it is Mozilla proprietary.

-moz-border-radius: 10px;

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
 
Old December 15th, 2004, 06:16 PM
Authorized User
 
Join Date: Nov 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

tanx alott, it worked and yes, i know it doesnt support all browsers






Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing duplicate edge elements geoGregory3 XSLT 2 February 27th, 2008 06:08 AM
creating tables within tables in access??? carswelljr Access 3 August 23rd, 2006 01:21 PM
Fixed tables and/or fixed bkgrnd in tables slg111875 Dreamweaver (all versions) 1 June 22nd, 2006 02:31 PM
regarding tables spraveens Dreamweaver (all versions) 1 September 24th, 2003 07:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.