rounded-corners

jQuery corner plugin not working on Internet Explorer

I have an issue where a div is not getting rounded corners added in IE but it works fine in chrome and firefox. It appears to round the corners but removes the border colours. You can see the rounding if you highlight the rendered page. Any ideas why this is happening and how to fix it? I'm using version 2.03 of jquery corners downloade...

How do I add a UIImage to grouped UITableViewCell so it rounds the corners?

I'm trying to add images to table cells in a grouped UITableView but the corners of the images are not clipped. What's the best way to go about clipping these (besides clipping them in Photoshop? The table contents are dynamic.) ...

Values in the javascript is unloaded when onclick event is called for rounded corner div tag

Hi I'm using javascript for rounded border for the divtag.It's working. But, the problem is whenever the button click event is called, the javascript values are uninitialized(I suppose) and so the div tag loses it's rounded border. Again, if I refresh the page, I'm getting the rounded corner.. Here is my code!! addEvent(window, 'load',...

Add rounded corners to UIImageView

Hi, I would like to add some rounded corners to all of the UIImageViews in my project. I have already got the code working, but am having to apply it to every image; should I subclass UIImageView to add this? If so, can someone give me some pointers as to how to do this? Here is the code - (void)viewDidLoad { [super viewDidLoad]; ...

Javascript Rounded Corners for Images

Hi, I need to display images with rounded corner. Long time back I saw a website doing this using a javascript library that overlayed the rounded corner image over the normal image. Do we have any javascript library (preferably jQuery plugin) to do this directly to img tags rather than usijg image as background for a div? ...

Smoothing a rounded stroke in Core Graphics

I am creating my own UITableViewCells with a gradient background. I have all the logic and drawing worked out, but one thing I want to fix is the "chunkiness" around the corners of my custom cell: If you zoom in on the corners, you can see what I am talking about. Here is the code I a using to generate the cell: CGContextRef c = UI...

How to create a resizable window with rounded-corners in win32

I'm trying to create a Win32 window that has rounded corners and is resizable both horizontally and vertically. My first approach was to create BITMAP of a rounded rectangle and draw it to the screen in conjunction with setting the windows style to WS_EX_LAYERED and setting the transparency key to the outside color of the rounded rectang...

CSS rounded corners bug in Safari?

It seems that the CSS -rounded corners style works on some parts of my Stackexchange site(s) - SF Answers & Phonehow.com and not on others - It displays correctly in Chrome, but not in Safari.. Im not sure if this is a Safari bug, or something I am missing. The nav bar uses the rounded corners style in all browsers, but the tabs (active,...

Jquery corner plugin not working in the ie8.

Hi, I'm using corners plugin from here - http://malsup.com/jquery/corner/ It works fine in Chrome and FF, but IE8 says that there is "Unexpected method call or property request jquery.corner.js, string 147 symbol 17. Here is the 147th string from plugin bot ? this.appendChild(d) : this.insertBefore(d, this.firstChild); Here is se code...

android cropping drawable

hi friends... I have a small project in which i download images from internet in the form of drawable and use them in Imageview for which i have provided functionality similar to an Imagebutton but without the gray edges. The question is that is there any functionality in Android(similar to iphone) by which we can crop the drawable fro...

What is the best way to create standards-based, cross-browser compatible rounded corners in Drupal?

I am currently working on a Drupal 6 theme, for which designer is explicitly requesting to use A LOT of rounded corners. I could of course create the rounded corners - traditionally - with images. But I know there must be also better and easier ways of creating rounded corners. Optimally, I would like to write my CSS as standards-compl...

trouble with imageless rounded corners

Hi there, Can someone explain to me why the bottom corners are not expanding with the div blockdark (height: 617px;)? The corners are only expanding till the end of the text within the div (container5) This is the css: .container5 {background:#666666; color:#fff; margin:0 15px;} .rbottom{display:block; background:#f57f20;} .rtop{disp...

How to absolute position imageless corners with css

Hi, I'm looking for a way to absolute position the four corners used in the following css style. I tried the following, but that wasn't the right one. .rbottom{display:block; background:#f57f20; position:absolute; top:500px;} This is the original css: .container5 {background:#666666; color:#fff; margin:0 15px;} .rbottom{display:bl...

Rounded corners not working in IE, CSS/DIV

Hi, My css is not working with Iexplorer, can someone explain me why this isn't working? The HTML <div class="myBox"> Content <div> The CSS: .myBox { margin: 0.0in auto; color: #FFF; width: 450px; height:450px; padding: 12px; text-align: left; background-color: #444141; border: 0px solid #4e4b4b; ...

Prototype Rounded Corners

Hi Guys, I am using http://nurey.com/corners.html with Prototype framework and trying to get some rounded corner action happening. However, the script I am using Event.observe(window, 'load', function() { if($$('header')!=null) { $('header').Effect.Corner("5px"); } }); Doesn't appear to actually make the corners work ? Can a...

CurvyCorners Error

Hi Guys, I am using this code with http://www.curvycorners.net/instructions/. Everytime I use it I seem to be getting var curvyCornersVerbose = false; Event.observe(window, 'load', function() { var settings = { tl: { radius: 5 }, tr: { radius: 5 }, bl: { radius: 5 }, br: { radius: 5 }, antiAlias: tru...

UIView rounded corners Question.

Whats wrong with this code? -(void) drawRect:(CGRect) rect { CGContextRef c = UIGraphicsGetCurrentContext(); if (c != nil) { CGContextSetFillColorWithColor(c, self.cornerColor.CGColor); [self drawRoundedCornersInRect:self.bounds inContext:c]; CGContextFillPath(c); } } ...

Android Table Round Border

Hi, can i make something similar to the photo below in Android? It's a table with round corners. ...

Parts of background-image visible when using border-radius

Using the code below, both Chrome and Opera (latest versions supporting border-radius) on Mac show a small blue area outside the rounded corners (which seems to a part of the defined background-image). Why? <!doctype html> <head> <title>Testcase for rounded corners on submit button with bg-image</title> <style type="text/css"> ...

jquery curvycorners effect without changing size of an element

is there a way to make the curvycorner effect but have no padding inside the div? when i apply the corners it makes the div its applied to bigger vertically and horizontally to implement the corners. this is the plugin for jquery im talking about: http://code.google.com/p/jquerycurvycorners/ ...