Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Rounded Corner Generator
Old 06-20-2010, 07:36 PM Rounded Corner Generator
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
Having trouble making those pesky rounded corners work on all browsers? Find it a pain to try to remember the code for each and every corner? Fret no more, for I have created a solution!

Ok, forget the weird stuff. I basically made a generator that you can click around, and is all done on the spot and dynamically with Javascript! Check it out here:

http://www.pgreviews.com/generators/pcg

Thanks! Hope this helps anybody having trouble with this
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-21-2010, 03:30 AM Re: Rounded Corner Generator
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
Not working for me in firefox :/ cant click the table for choosing your corners.

Would be nice to see the system able to handle graphic rounded corners and thus support most brousers.

Using a tecnique that isnt supported by IE is a little pointless since IE still (and will continue to) hold such a high percentage of the market.
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.
Phunk Rabbit is offline
Reply With Quote
View Public Profile Visit Phunk Rabbit's homepage!
 
Old 06-21-2010, 03:34 AM Re: Rounded Corner Generator
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
A quick note on your CSS generator from your site:

The CSS is being generated nicely however there are alot of unneeded tags that either have already been set or hold no value.

You should run a new PHP check in your script that dosnt echo a tag with no value.

Also you mention how far you want the site from the top of that page but are applying a margin:value; not margin-top etc, so it will also produce a gap eitherside and underneath.
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.
Phunk Rabbit is offline
Reply With Quote
View Public Profile Visit Phunk Rabbit's homepage!
 
Old 06-21-2010, 05:02 AM Re: Rounded Corner Generator
NickH's Avatar
Extreme Talker

Posts: 155
Trades: 0
why does it give me code for all the corners instead of just doing border-radius
for all corners?

there are a few generators like this around the place that might be worth having a look at just to see how they operate

also is there really a need for a generator like this, i cant ever see myself using it just because of how much time it would take to get to the site then copy/paste the code back in
__________________

Please login or register to view this content. Registration is FREE
NickH is offline
Reply With Quote
View Public Profile
 
Old 06-22-2010, 10:06 PM Re: Rounded Corner Generator
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
Well, I like the generator, and have found it useful.

I am planning to improve it by checking if all the corners are checked then simply add

-moz-border-radius:$setRadius px;
-webkit-border-radius:....
border-radius:.....

To make it cleaner.

And by not using an IE working technique, no offense, but people that are using IE really don't deserve nice corners, IE is buggy, it 'makes it's own standards'... Man I could go on. But don't start flaming me for it.

Maybe I'll add an option for you to use images, but that would be very hard since I would generate them by GD, and they wouldn't work with a box without a solid background...
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!

Last edited by Physicsguy; 06-22-2010 at 10:09 PM..
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 06-23-2010, 03:37 AM Re: Rounded Corner Generator
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
You cant discount IE when making sites, its just too widly used.

Fair enough rounded corners shouldnt break the design when not avalible but it is a slippery slope, if you get to the point where the site is unusable for users on IE you are blocking a massive % of your possible visitors unless your running a firefox appreciation club site, even then I bet some would be using IE

You may have a valid opinion about IE but a good web designer should be able to accomodate all potencial brousers.

Edit

Dont forget, there are plenty of people who dont know you can access the internet without IE letaknown that they have the option of many brousers. Rather than say people simply dont deserve somthing with IE (lol? really...) you should make an effort to convert those people through your site and not just disregard them.
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.

Last edited by Phunk Rabbit; 06-23-2010 at 03:40 AM..
Phunk Rabbit is offline
Reply With Quote
View Public Profile Visit Phunk Rabbit's homepage!
 
Old 06-23-2010, 04:57 AM Re: Rounded Corner Generator
Average Talker

Posts: 16
Trades: 0
css in dreamweaver its really easy to do this. try it.
__________________

Please login or register to view this content. Registration is FREE
mayhk84 is offline
Reply With Quote
View Public Profile
 
Old 06-23-2010, 10:07 AM Re: Rounded Corner Generator
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
Oh, I'm not disregarding them. I am just not fond of internet exploder .

Seeing as it's kind of a drag to still have to resort to a technique used years ago, when there clearly is a better way, but IE decides it shouldn't support CSS3... :\
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Rounded Corner Generator
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.53045 seconds with 12 queries