954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Curve designs using HTML

Hi everyone,

I am designing a web site for my company for which i am working for. But i am still learning these web stuff which i haven't done before. So got to learn very soon before i get more project. I can do some basic stuff but not too much. Any way i have question about designing stuff.

Well, almost most of the web sites uses tables with their edges curved and stuff and with the button edges curve. How do we do that. Can any one please explain me how to do those sort of design, which might help in creating good web site.

thanks in advance

ssharish

ssharish2005
Posting Whiz in Training
253 posts since Dec 2006
Reputation Points: 73
Solved Threads: 20
 

Well to do that there are three ways:

1. Use Javascript ( = right choice recommended)
2. Use tables and images( = headache)
3. Use CSS3 ( = foolishness )

here's a link which may help you:
http://www.html.it/articoli/nifty/index.html

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

I think seen as you are new to this stuff images are probably the best plan instead of learning endless code languages. Do you have any knowledge in graphics at all because I am happy to take you through how to do what you want. Please post a site that you like that uses the ideas you are interested in. We will make sure you can achieve what you want.

roryt
Nearly a Posting Virtuoso
1,286 posts since Oct 2005
Reputation Points: 178
Solved Threads: 15
 
I think seen as you are new to this stuff images are probably the best plan instead of learning endless code languages. Do you have any knowledge in graphics at all because I am happy to take you through how to do what you want. Please post a site that you like that uses the ideas you are interested in. We will make sure you can achieve what you want.



Roryt, Thanks very much. Well i dont have that much knowledge about graphics and thing. Just the basic stuff. I would really appricate your help.

There isn't specific website for me to go through. You know which one is best for the starters. Lets go along with any one.

thanks very much for your help

Thanks very much vishesh I did get the basic idea of now to go along with it. I will have a go with the tutorial.

Thanks again guys

ssharish2005

ssharish2005
Posting Whiz in Training
253 posts since Dec 2006
Reputation Points: 73
Solved Threads: 20
 

If you would like to know how to get round corners using tables and image, well this is how.
(all sizes are up to you but for the sake of the tutorial...)

Creating the image for the corners
Open your prefered graphics editor and create a new image which is 50px by 50px.
Create a circle and fill it with your desired color.
Create a new layer and drag it to the back and fill it with the background that is on your website.
You will need to save the image as the vector file. eg, .psd or .png or .pspimage
Now you need to crop the top left corner out, so the crop size will be 25px * 25px. Now save this file as a jpeg for the web and close it.
Now open up your vector image that we saved earlier and repeat steps 5 and 6 until you have four corners.
Creating the html using dreamweaver or a wysiwyg editorOpen your choosen web authoring software.
Create a new html page.
Create a table with 3 rows and 3 columns
Set the corner cells as 25px by 25px.
Insert your images into them either as a background image or as a normal image.
You then need to set the full table width to 400px by the height of 400px and set the other widths as follows:Middle top and middle bottom: height: 25px, width: 350px
Left Middle and right middle: height: 250px. width: 25px
middle middle: height: 350px, width: 350px

You now need to set the background color of the other cells to the same color as your circle was.
I hope this tutorial has been helpful. You can see how mine turned out here: http://www.photoshopthis.co.uk/daniweb/daniweb_corners/index.html

(unfortunately my server is down at the mo so it will be online by midday (uk) on 22nd dec 2006. :o

roryt
Nearly a Posting Virtuoso
1,286 posts since Oct 2005
Reputation Points: 178
Solved Threads: 15
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You