hey guy i found a way to easily add rounded border to panel here is an example the code to include in your style.css theme (drupal 5)

#borderradius {
color: #fff;
background-color: #720779;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px solid #ccc;
padding: 10px;
}

then put the id in your panel. for this example you ll put borderradius in the box css id (inside the panel)

and here is example and other code http://www.css3.info/preview/rounded-border/

Also does anyone knows how to do the same thing for internet explorer ?
or make it compliant to all browser?

Comments

SocialNicheGuru’s picture

subscribing thanks!

how is this different from using the rounded corners option in the layout of panels?

wallbay1’s picture

Well for me the bid difference is that you can add background color , border color easily
while the one on panel has only one style.

sdboyer’s picture

Priority: Critical » Normal
Status: Active » Needs work

If the full cross-browser compatibility problem can be solved, then I'd consider adding this to Panels as its own style plugin. It'd need to be sufficiently different in visual appearance from the original rounded corners style.

If this is to be added, though, then it needs to be done properly - no "add stuff to your theme's css files." All of that can be done from within the style plugin itself, albeit a little awkwardly. I'm hoping that the technique for doing so should be pretty self-evident if you work from the existing style plugin include files.

wallbay1’s picture

Sweet. I will wait for that feature. Panel is an awesome module. whoever did Panel is clearly a genius

mindgarden’s picture

Very cool!

How to achieve the same effect in IE?

apaderno’s picture

Title: easy way to add rounded corner to panel using Border Radius- but only work in firefox and safari » Add rounded corner to panel using Border Radius
stephthegeek’s picture

It's possible but involves using an HTC file and potentially tweaking markup: http://www.htmlremix.com/curved-corner-border-radius-cross-browser/

esmerel’s picture

Status: Needs work » Closed (won't fix)

Panels 3 has significant changes from Panels 2. No features will be added to Panels 2.

wallbay1’s picture

Status: Closed (won't fix) » Closed (fixed)
apaderno’s picture

Status: Closed (fixed) » Closed (won't fix)

The issue has been already marked as won't fix; there is no need to close it.