OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Problem with Round Corners – CSS Layout
This page's ID:
24789
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hello and welcome in the Asylum. I'm not fond of relying on additional markup to achieve a visual effect. Actually round corners can be done on a single HTML element with CSS2. Check the [url=http://www.w3.org/Style/Examples/007/roundshadow.html]W3C CSS tips & tricks : Rounded corners and shadowed boxes[/url] and/or [url=http://virtuelvis.com/gallery/css/rounded/]Rounded corners in CSS[/url] to see how it can be done. Now as for your understanding of the margin and padding, you should read the : [url=http://www.w3.org/TR/REC-CSS2/box.html#box-dimensions]CSS2 specs : Box dimensions[/url], and for visual explanation the [url=http://www.hicksdesign.co.uk/journal/483/3d_css_box_model]CSS box model hierarchy[/url] and the [url=http://www.redmelon.net/tstme/box_model/]Interactive Basic CSS Box Model Demo[/url]. [edit] few clicks in the FAQ led me to [5743] [/edit] Hope that helps, [url=http://www.p01.org/][sigrotate][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love_small.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_charly.gif[/img][/sigrotate][/url] [small](Edited by [internallink=2185]poi[/internallink] on 01-25-2005 03:34)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »