Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > CSS
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

CSS CSS styling code help for your website, CSS is like art and what makes your website look professional.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 08-31-2007, 11:32 AM   #1
neta
Service Man
 
neta's Avatar
 
Join Date: Aug 2007
Location: sweden
Posts: 295
My Photos: (2)
iTrader: (0)

Banked:
MK Cash: $9.90

I am Worth:
MK Cash: $0.19
Donate


neta will become famous soon enoughneta will become famous soon enough
Lightbulb Rounded corners without images

Rounded Corners with CSS are a hot topic in web design: I think that there are hundreds of articles on them. This page is intended to present the solution I came up, that doesn't requires images, extra markup nor CSS. Let's start.

The basic idea of Nifty Corners is to get some coulored lines to get the rounded effect. This is the markup to get a rounded div:

Code:

<div id="container">
<b class="rtop">
<b class="r1"></b> <b class="r2"></b> <b class="r3"></b> <b class="r4"></b>
</b>
<!--content goes here -->
<b class="rbottom">
<b class="r4"></b> <b class="r3"></b> <b class="r2"></b> <b class="r1"></b>
</b>
</div>

And here's it the basic CSS:

Code:

.rtop, .rbottom{display:block}
.rtop *, .rbottom *{display: block; height: 1px; overflow: hidden}
.r1{margin: 0 5px}
.r2{margin: 0 3px}
.r3{margin: 0 2px}
.r4{margin: 0 1px; height: 2px}
neta is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 03-16-2008, 2:14 AM   #2
simongagula
Junior Member
 
simongagula's Avatar
 
Join Date: Mar 2008
Posts: 1
My Photos: (0)
iTrader: (0)

Banked:
MK Cash: $0.00

I am Worth:
MK Cash: $0.02
Donate

Recent Blog: None

simongagula is on a distinguished road
Default

thats a really cool code can u help me make one:
simongagula is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 03-16-2008, 11:50 PM   #3
MadKad
Website Owner
 
MadKad's Avatar
 
Join Date: Mar 2006
Location: UK
Posts: 4,002
My Photos: (46)
iTrader: (3)

Banked:
MK Cash: $3.06

I am Worth:
MK Cash: $2.08
Donate


MadKad is a jewel in the roughMadKad is a jewel in the roughMadKad is a jewel in the rough
Default

Quote:
Originally Posted by simongagula View Post
thats a really cool code can u help me make one:
Hi what is it you want to fully make?
MadKad is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 08-20-2008, 9:18 PM   #4
roogy30
Member Level 2
 
roogy30's Avatar
 
Join Date: Aug 2008
Posts: 10
My Photos: (0)
iTrader: (0)

Banked:
MK Cash: $0.00

I am Worth:
MK Cash: $0.02
Donate

Recent Blog: None

roogy30 is on a distinguished road
Default

nice code man
roogy30 is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 10-09-2008, 7:49 AM   #5
moonight
MK PitStop Member
 
moonight's Avatar
 
Join Date: Oct 2008
Posts: 101
My Photos: (0)
iTrader: (0)

Banked:
MK Cash: $12.15

I am Worth:
MK Cash: $0.02
Donate

Recent Blog: None

moonight is on a distinguished road
Default

thanks for sharing the code, it will comes in handy, thanks
moonight is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
RLE images Jason Software Programming 1 06-12-2007 11:37 PM
creating rounded/curved corners CNN_news Graphics in general 5 06-12-2007 12:28 AM
tape corners mailman Graphics in general 6 06-12-2007 12:27 AM
images in your sig MadKad Community Chat 2 10-21-2006 11:04 AM


Featured Websites




All times are GMT +1. The time now is 12:38 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98