Nov 8, 2009
Pages: 1, 2

How To Create Rounded Corners?

free web hosting

Read Latest Entries..: (Post #14) by iGuest on Apr 13 2009, 11:04 AM.
How To Create Rounded Corners? How To Create Rounded Corners? 1.Open Photoshop (any version will do) 2.Use the pen tool. 3.Look above (OMG so many shapes to choose from and look!its the rounded rectangle shape!!). 4. Now shape that picture of yours. Press ctrl+enter. 5.Little trace lines will appear. 6.Press ctrl+x. Press ctrl+v. 7.Layer 1 appears! 8.Delete the layer named "background"(right click the layer, then select "Delete Layer"). Notice the checkered gray a...
read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion & Free Web Hosting > Computers & Tech > Designing > Graphics Design

How To Create Rounded Corners?

mvpnet
Hi, Could anyone teach me the step by step on how to create a rounded corner in photoshop and arrange this in table in html?

Helps are very much appreciated!

Comment/Reply (w/o sign-up)

mastercomputers
I just want to show you a basic curve:

[0][1][2][3][4][5]
[1][5][5][5][5][5]
[2][5]
[3][5]
[4][5]
[5][5]

[ ] = 1 pixel
0 is the lightest 5 is the base colour or darkest. 0 is most likely white.

Try this with black, you can extend the numbers, just set your pencil to opacity 20% and with each pixel apply the number in the brackets the amount of times suggested, when you zoom out you should notice a curved corner.

This is pretty much as basic as you can get, from there, it's just applying the right amount of lightness to darkness to produce the type of curve you want.

I'm sure others will have better ways, I just use this method when creating small images like icons.

Cheers,


MC

Comment/Reply (w/o sign-up)

VJgamer
If you are trying to draw a rectangle with rounded edges, then what you will need to do is, in your toolbox (the window with all the tools on the left) find the rectangle tool, and right click on it. It should then give you a drop down of different shape tools. Select the tool called "Rounded Rectangle Tool". Then goto your image, and click and drag to your heart's desire!

Comment/Reply (w/o sign-up)

Maybe Skate Team
In photoshop I personally use the vector took to make my rounded corners on anything, gives me nice clean lines and edges. About putting it up with HTML, I dont know that much but I am positive that it is super easy with CSS. I saw it on some website, Ill try to find it later and post it here...that is if you still need it!

Comment/Reply (w/o sign-up)

chiiyo
Just a random note, but I was surfing around, and here's a link to a site that teaches you how to do rounded corners with CSS, don't need the graphic at all...

Might be useful to some of you CSS-lovers...

Comment/Reply (w/o sign-up)

Silent Soul X
Yeah i use photoshop aswell (it's really easy to use), but good find chiiyo, i never knew you could do that in css, well i suppose i gotta keep on studying html and css

Comment/Reply (w/o sign-up)

chiiyo
Here's a little mini-tutorial on how to arrange the rounded corners in a table. Since no one has really answered that part of the question yet.

1. First, you should have your corners ready as gifs or jpegs, whichever is smaller. I'm assuming you have four corners, as in you want a rounded rectangle. You can either use the vector method, or draw a rounded rectangle and just grab the rounded corners from there. What I usually do is draw a circle on my background colour, and fill it with the colour of my rectangle, and then cut it up into quarters to make my four rounded corners. Like so.
[attachment=172:attachment]

2. Anyway, the table is going to look something like this:
[attachment=173:attachment]
I've labelled the nine different cells for better understanding. 1, 3, 7 and 9 are for putting the four rounded corners, 2, 4, 6 and 8 are to complete the border (and to give a nice padding effect) and 5 is where you put your content.

I'm using rounded corner gifs that are 20px by 20px, so I know exactly what is the width of my border.

3. So let's start with the code.
CODE
<html><head><title>Test page</title></head>
<body bgcolor="#cccccc">
<table cellspacing="0" cellpadding="0" border="0" bgcolor="#99ccff">
<tr>

<!---this is the cell 1--->
<td width="20px" height="0px"><img src="topleft.gif" alt="this is the top left rounded corner" width="20px" height="20px"></td>

<!--- this is cell 2--->
<td width="200px"><br></td>

<!--- this is cell 3--->
<td width="20px" height="0px"><img src="topright.gif" alt="this is the top right rounded corner" width="20px" height="20px"></td></tr>

<!--- this is cell 4--->
<tr><td height="200px"><br></td>

<!--- this is cell 5--->
<td>Put your content in here</td>

<!--- this is cell 6--->
<td height="200px"><br></td></tr>

<!--- this is cell 7--->
<tr><td width="20px" height="1px"><img src="bottomleft.gif" alt="this is the bottom left rounded corner" width="20px" height="20px"></td>

<!--- this is cell 8--->
<td><br></td>

<!--- this is cell 9--->
<td width="20px" height="1px"><img src="bottomright.gif" alt="this is the bottom right rounded corner" width="20px" height="20px"></td></tr>

</table>
</body></html>


That should work... change the colours around, change the dimensions, stuff like that. Using CSS would help a lot, I think a lot of the code is non-XHTML-compliant... I put height=1px for the rounded corners cells because from past experience, it's kinda hard to force the height down to a small size. Specifiying the image's dimensions should force the cell to enlarge to just perfectly that size.

Of course, using the CSS method I wrote above might work a lot better, or at least mixing CSS and tables would work better than plain no CSS...

 

 

 


Comment/Reply (w/o sign-up)

jcguy
I've always wanted to create rounded rectangles but although there are many tutorials for doing that with Photoshop on the Internet, there is a lack of such information for GIMP which I happens to use. Can anyone shows how to do that with GIMP?

Thanks

Comment/Reply (w/o sign-up)

ebbinger_413
i dont know...from the looks of it...all you guys are doing is setting a cell background to make the table look like a rectangle with rounded corners (right?) but you dont HAVE to use photoshop for this (not that i dont love photoshop because i LOVE photoshop and i use it for almost everything for my website) but if you dont have photoshop you can use other programs...like paint (easy, fast, and fun...nuttin like sittin down at the computer and creating pixel art biggrin.gif) but all youd really have to do is just make a circle using the circle tool in w/e program you are using (now a days pretty much all programs will have the basic features like the pencil tool and the rectangle tools....ect...) square off the corner....basicly making the picture that everyone else has shown you already....save it...rotate it 90 degrees 3 times...saving it each time...so that you have each of the 4 corners....and set the pictures for your cell backgrounds...for the sides...just set the cell color to the same color as the corners...you can use color select tool to get the exact color....as to setting up the table....use frontpage or dreamweaver...dont type html in notepad (that takes too long and there are too many codes that you have to memorize to customize your page to get the look you want)

anyways...just thought id post my opinion biggrin.gif

Comment/Reply (w/o sign-up)

Sacrifice Productions
Can't you just use the Pen Tool and drag out your curves? Fireworks or Illustrator?

Comment/Reply (w/o sign-up)

Latest Entries

iGuest
How To Create Rounded Corners?
How To Create Rounded Corners?

1.Open Photoshop (any version will do)
2.Use the pen tool.
3.Look above (OMG so many shapes to choose from and look!its the rounded rectangle shape!!).
4. Now shape that picture of yours.
Press ctrl+enter.
5.Little trace lines will appear.
6.Press ctrl+x.
Press ctrl+v.
7.Layer 1 appears!
8.Delete the layer named "background"(right click the layer, then select "Delete Layer").
Notice the checkered gray and white background. Just ignore that.
9.Then, save it as:
File Name:  whatever_you_name_it
Format: PNG
Why PNG?
Because even though saving it as JPEG will give a rounded corner effect, it will also give those annoying white pointed corners that will destroy the rounded effect that you made. 

-reply by Some PS Kid

 


Comment/Reply (w/o sign-up)

Maybe Skate Team
There are many ways you can make rounded corners....the html, the css, ps ways. You can to see what you are capable of really. I would personally go with PS and do it quickly with the pen tool!

Comment/Reply (w/o sign-up)

saga
the edit box in which i typed in my reply is limited for such a turorial so i suggest that you visit this website YourHtmlSource.com. There you could find the topic about the rounded corner of a table in the table section of the turorials. Good luck

Comment/Reply (w/o sign-up)

BigmanB
You can go the hard way and use photoshop and create corners or you can use nifty corners which will make the corners for you. I have been using nifty corners and it does really great. check out the site for your self at Nifty Corners

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : Rounded Corners


    Looking for create, rounded, corners

See Also,

*SIMILAR VIDEOS*
Searching Video's for create, rounded, corners
advertisement



How To Create Rounded Corners?

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com