Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 03-02-2010, 12:29 AM   #1
New Member
 
Join Date: Feb 2010
Posts: 10
Post Divs with curved edges!

I'm using dreamweaver and would like to know how to make divs with curved edges. Someone told me this is only possible in FF not IE. Is this true?

Thanks for your help!
kasio99 is offline   Reply With Quote


Old 03-02-2010, 08:03 AM   #2
Silver Member
 
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 108
Default

You can use border-radius. However, this isn't standard CSS and you will have to call on either moz or webkit to do it, therefor it only works in Mozilla/Firefox and Webkit browsers (Chrome, Safari etc.).

HTML Code:
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;

	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
Just insert in your div properties.

However, there is always the option of using images to rounden the div.
__________________
Nerdrage
Mezangath Web
mezangath is offline   Reply With Quote
Reply

Tags
curved edges, divs, dreamweaver

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:58 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.