I've seen websites with curved edges on tables, and I know how to do it by adding images that are curved. I want to know if there is some CSS code to do it for you, so you don't have to rely on images to load.
I've seen websites with curved edges on tables, and I know how to do it by adding images that are curved. I want to know if there is some CSS code to do it for you, so you don't have to rely on images to load.
Nifty Corners, More Nifty Corners, and Nifty Corners Cube.
Have a nice day.
PS: Nifty Corners, original, the CSS example makes a great error page.
Nifty Corners Cube is great for a site.
Zachary Waldowski
Dizzy Technology
If the user is using Mozilla you can add this to the CSS to make the corners rounded.
Of course you can change 10px to any number you like.Code:-moz-border-radius: 10px;
That's CSS3. There's also this code:Originally Posted by kryptonyte
Which will create a border that fades to white in Mozilla. For backwards compatibility, the border's original colour is blackCode:border: 6px solid #000; -moz-border-bottom-colors: #aaa #bbb #ccc #ddd #eee #fff; -moz-border-top-colors: #aaa #bbb #ccc #ddd #eee #fff; -moz-border-left-colors: #aaa #bbb #ccc #ddd #eee #fff; -moz-border-right-colors: #aaa #bbb #ccc #ddd #eee #fff;
Also, you can combine, of course.
Safari/WebKit has more CSS3 that you can toy around with.Code:border: 6px solid #000; -moz-border-bottom-colors: #aaa #bbb #ccc #ddd #eee #fff; -moz-border-top-colors: #aaa #bbb #ccc #ddd #eee #fff; -moz-border-left-colors: #aaa #bbb #ccc #ddd #eee #fff; -moz-border-right-colors: #aaa #bbb #ccc #ddd #eee #fff; -moz-border-radius: 8px;
Last edited by Cubeform; 08-23-2006 at 05:17 PM.
okay, i understand how to make it using nifty corners, but i have on problem
I can make one nifty corner table, but the second one i make doesn't have the rounded corners, and I can't figure out why
for instance, look at this and my code:
http://greenear.x10hosting.com/Main/index
oh, and another thing, whenever i try to view that site in firefox, it just shows the code
Last edited by ZeptOr; 08-27-2006 at 04:51 PM.
i thought it added it for you if you selected it as an HTML document, but yeah I'll fix that soon
but do you have any ideas about the curved edges problem?
]Originally Posted by ZeptOr
What program are you using???
Thanks,
Brandon Long
its not the program, it is the fact that I am missing some line of code. Im just using notepad anyways
Ya in notepad you have to end it with .htm or .html..it cant do it automatically.Originally Posted by ZeptOr
Thanks,
Brandon Long