Jump to content

Fluid Rounded Boxes - How do You do Them?


Recommended Posts

I've just gone through a thousand different tutorials explaining how to produce a fluid box with rounded corners. I'm looking for a method that's not as heavy on the markup as my one. My method is CSS-based. It requires 6 images, four divs and two spans! It's the only one that I know that's totally cross-browser compatible, which is why I use it.

 

What method do you use for fluid rounded boxes? And is it cross-browser compatible?

Link to comment
https://forums.phpfreaks.com/topic/178550-fluid-rounded-boxes-how-do-you-do-them/
Share on other sites

The best css technique uses the sliding doors technique. It may add a little more markup but not much:

 

This link actually creates the graphics, CSS and HTML (you can use it to get the idea and reverse engineer it and create your own).

http://kalsey.com/2003/07/rounded_corners_in_css/

 

I never use JavaScript when there is a CSS solution.

I have added a tutorial about rounded corners to one of my sites, pretty much the same as what is already available out there, but i hope mine is written in plain english and easy to understand.

 

http://www.css-stylesheets.co.uk/rounded-corners.html

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.