Rounded Corners
-
- Posts: 39
- Joined: Wed 8. Mar 2006, 13:19
- Location: East Coast, USA
- Contact:
Rounded Corners
Good Day Everyone!
Can someone explain to me how to round the corners of the tables/blocks/boxes ?? on my site? (the-lee-family.us) I am gathering that it is a CSS thing, but I can't figure it out. Any help would be great.
Thanks,
miershpedankl
Can someone explain to me how to round the corners of the tables/blocks/boxes ?? on my site? (the-lee-family.us) I am gathering that it is a CSS thing, but I can't figure it out. Any help would be great.
Thanks,
miershpedankl
If you don't let ANYTHING happen to someone, then NOTHING will happen to them.
- Oliver Georgi
- Site Admin
- Posts: 9909
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
That's hard to say - there are many possible ways to have rounded corners.
CSS is a bit tricky because just Mozilla can handle rounded corners. So there are two possible ways at the moment. Use aligned images or just a combination of background images.
The most simple thing is this:
related CSS
Oliver
CSS is a bit tricky because just Mozilla can handle rounded corners. So there are two possible ways at the moment. Use aligned images or just a combination of background images.
The most simple thing is this:
Code: Select all
<div id="wrapped">
<div id="top_corners">
<img src="toprounded.gif" width="200" height="15" alt="" />
</div>
<div id="content">
your content
</div>
<div id="bottom_corners">
<img src="bottomrounded.gif" width="200" height="15" alt="" />
</div>
</div>
Code: Select all
#wrapped {
margin:0;padding:0
}
#top_corners, #bottom_corners {
width:200px;
margin:0;
padding:0;
}
#content {
background-color:#FFFFFF;
margin:0;
padding:0 10px 0 10px;
}
Oliver
Hi,
have a look here please:
http://cssplay.co.uk/boxes/snazzy.html
and here:
http://cssplay.co.uk/boxes/snazzy2.html
and here:
http://cssplay.co.uk/boxes/curves.html
and here:
http://cssplay.co.uk/boxes/krazy.html
I like this site - teaches me a lot
greetings
claus
have a look here please:
http://cssplay.co.uk/boxes/snazzy.html
and here:
http://cssplay.co.uk/boxes/snazzy2.html
and here:
http://cssplay.co.uk/boxes/curves.html
and here:
http://cssplay.co.uk/boxes/krazy.html
![Wink :wink:](./images/smilies/icon_wink.gif)
I like this site - teaches me a lot
greetings
claus
-
- Posts: 39
- Joined: Wed 8. Mar 2006, 13:19
- Location: East Coast, USA
- Contact:
You guys are great! Thanks for the replies. I am going to be checking out both of these recommendations and I'll let you know how it goes. http://cssplay.co.uk is great for people like me that don't have a lot of experience.
Cheers,
miershpedankl
![Smile :)](./images/smilies/icon_smile.gif)
Cheers,
miershpedankl
If you don't let ANYTHING happen to someone, then NOTHING will happen to them.
Solution for rounded corners / Lösung für runde Ecken
Further Solution for margins with rounded corners without using grafics.
I found out a further solution for making margins with rounded corners. Please look here. (Sorry, I wrote it only in German).
Regards,
Martin Gohla
Weitere Lösung für Rahmen mit runden Ecken ohne Nutzung von Grafiken
Ich habe eine weitere Lösung zur Erstellung von Rahmen mit runden Ecken herausgefunden. Bitte schaut mal hier.
Viele Grüße,
Martin Gohla
I found out a further solution for making margins with rounded corners. Please look here. (Sorry, I wrote it only in German).
Regards,
Martin Gohla
Weitere Lösung für Rahmen mit runden Ecken ohne Nutzung von Grafiken
Ich habe eine weitere Lösung zur Erstellung von Rahmen mit runden Ecken herausgefunden. Bitte schaut mal hier.
Viele Grüße,
Martin Gohla
-
- Posts: 39
- Joined: Wed 8. Mar 2006, 13:19
- Location: East Coast, USA
- Contact:
Ha -- I haven't even gotten around to this. I did, however, look at the CSSplay sites for a while and there is a lot of great info there! I just have to find some time to sit down and mess around till I get it right.
Whenever that happens I'll post something here letting everyone know how it went.
Thanks again for the replies!
miershpedankl
Whenever that happens I'll post something here letting everyone know how it went.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Thanks again for the replies!
miershpedankl
If you don't let ANYTHING happen to someone, then NOTHING will happen to them.