rounded-corners

How to make rounded corners on equal height columns

落爺英雄遲暮 提交于 2019-12-10 21:39:07
问题 I need to make three equal height columns with varying amounts of content with rounded corners. the corners need an 8px border radius. I would prefer to accomplish this with pure CSS if possible. Right now my html looks like this: <div class="col-w"> <div class="col-h col-1"> <h2>About Us</h2> <p>Founded in 1995 in Atlanta, Georgia, The Creative Circus is an accredited, two-year, portfolio-building, educational program for the creative side of the Advertising, Interactive Development, Design

rounded corners IE and background images

元气小坏坏 提交于 2019-12-10 20:11:10
问题 I have an item in my page thus: <div class="rounded"> <h2>Heading Text</h2> <ul> <li><a href="/default.aspx">Summary link</a></li> <li><a href="/default.aspx">Summary link</a></li> <li><a href="/default.aspx">Summary link</a></li> </ul> <p>or... some text or whatever</p> </div> the styles associated with this block are: .rounded{ -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; background:url("10x10.50percentalpha_white.png") repeat scroll left top transparent; height

WPF Rounded Border ListView clipping Issue

对着背影说爱祢 提交于 2019-12-10 19:04:20
问题 I have a ListView with a rounded border. When you click on a ListVIewItem , an arrow that sticks out of the ListView (by changing the margin) appears. It looks good at first, but once you click an item, the first and last items stick out of the ListView 's rounded border. Why is this happening and how do I resolve it? Relevant Code: <Window x:Class="WPFJonnyStyle.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml

Is there any HTML code that would display an ellipse or a rounded rectangle?

痴心易碎 提交于 2019-12-10 14:23:29
问题 I am not sure if it's possible at all in HTML, but I would still ask it here: Is there any HTML code that would stand for an ellipse or a rounded rectangle? 回答1: On another thought, it's quite possible! There you go: http://virkkunen.net/b/oh-dear.html Pure HTML! It doesn't even use any new-fangled CSS or JavaScript or whateverscript. 回答2: Yes, Canvas. But it's really the Canvas HTML tag, coupled with Javascript. Read more about CANVAS here http://en.wikipedia.org/wiki/Canvas_element 回答3: If

android custom searchView rounded corners

会有一股神秘感。 提交于 2019-12-10 13:27:23
问题 I want to create an Activity with a SearchView that is not in the ActionBar (in fact, I'm using the NoActionBar theme). Now I want this SearchView to have rounded corners (not the EditText inside the actual SearchView, but the SearchView itself), like this: Mockup All I can manage is this: actual SearchView. Can somebody hint me to what I have to change? XML of the Activity: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android

How to add rounded corner to a drawable I'm using as a background in Android?

感情迁移 提交于 2019-12-10 12:54:39
问题 I have a specific drawable that I use as background in my app. It is not a solid color. Now I want to add rounded corners to this drawable. I only found the rounded corner available in a shape with a gradient or a solid color as a background but not another drawable. Is there another easy way of adding rounded corners to a drawable? 回答1: Use AQuery to make Drawable or Downloaded images rounded corners. http://code.google.com/p/android-query/wiki/ImageLoading Note : This is very effective in

CSS: How to add rounded corner with border and no images?

微笑、不失礼 提交于 2019-12-10 12:05:55
问题 Is there something like this that can work with IE? No images and with borders? http://www.css3.info/preview/rounded-border/ 回答1: I haven't tried but you can have a look on this Nifty Corners Cube: rounded corners without images - URL is http://www.html.it/articoli/niftycube/index.html OR you can try JQuery Corners - http://www.atblabs.com/jquery.corners.html Example usage - <div style="background-color:#acc; padding:10px" class="rounded"> Example with different x and y sizes. </div> <script>

Rounded corners using ImageMagick (bakground transparent or white)

╄→尐↘猪︶ㄣ 提交于 2019-12-10 03:41:37
问题 I'm trying to add rounded corners to my images using ImageMagick. If the input image is a PNG or GIF file my script is working correctly. But if my input file is a JPEG file, the corners are black. I'd like to use a custom corner color in that case (ex. white) any idea ? Here's my working bash script : convert -size "$W"x"$H" xc:none -draw "roundrectangle 0,0,$W,$H,$R,$R" $MASK convert $SRC -matte $MASK -compose DstIn -composite $DST Parameters are : $SRC : the input image $W : width of input

Rounded corner of list item on Android?

跟風遠走 提交于 2019-12-09 23:57:59
问题 How to setup the attribute to achieve the rounded corner for each item in the ListView ? Please kindly give an example if you can, thanks! for example: http://www.flickr.com/photos/jaxxdotorg/3640222441/in/set-72157619952823330/ EDIT: That's my code here for the answer. <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <gradient android:startColor="#ffff" android:endColor="#fddd" android:angle="270" /> <corners android:radius="13dp" />

WPF Rounded Corners background bleeding through

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-09 17:35:12
问题 I'm making my first foray into WPF - I have a simple form with a popup defined for inline help. I'm using rounded corners, and for some reason a black background is bleeding through around the corners. I don't understand which element is causing the problem. alt text http://www.awbrey.net/rounded.jpg I assume it's something blindingly obvious which I'm just not seeing. Here's the XAML I'm using: <Window x:Class="Consent.Client.SubjectNumberEntry" xmlns="http://schemas.microsoft.com/winfx/2006