border

StackPanel draws artifacts between each child control

hi, i'm trying to draw a rectangle with semi-circles at either end. i'm also trying to split the rectangle where the left half is a different colour to that of the right half. i've managed to do this using a stack panel and CombinedGeometry, as in the example below. however, the code below draws a line inbetween each control within the s...

C# - Make a borderless form movable?

Is there a way to make a form that has no border (FormBorderStyle is set to "none") movable when the mouse is clicked down on the form just as if there was a border? Thanks. ...

IE border on opacity change

Hi, when I want to animate a semi transperant image with jquery (e.g. a div with a background who has a shadow) every element who is semi transperant seems to have a black border arround it in IE (6 - 8) an example of the code is: $(".prevPage").animate({ opacity: "1" }, 250); $(".nextPage").animate({ opacit...

Unwanted border around JPanel

I'm creating a form with a JPanel inside it for some graphics and some buttons for controlling the thing. For some reason I have to specify the JPanel to be 10 px less wide and 30 px less high than the actual graphics I want to put inside it. What causes this problem? This is the code: public class Window { public Sheepness sheepness;...

How to hide the border line in firefox when click on the navigation bars?

Can check out here ...

matplotlib border width

I use matplotlib 0.99 so, I can`t change width of border of subplot.. how can I do it? code like it: fig = plt.figure(figsize = (4.1, 2.2)) ax = fig.add_subplot(111) and then, ax.patch.set _ linewidth(0.1) or ax.get _ frame().set _ linewidth(0.1) doesn`t work! but legend.get _ frame().set _ linewidth(0.1) works fine. ...

ASP.Net GridView: Wrong Rendering randomly?

Hi guys, I used much grid views for my own admin overview in my site. Every GridView has a normal border (1px solid black). But randomly the border is not set, here an example: http://s2.imgimg.de/uploads/Untitledced993capng.png The first is the look, the second how it should be. Every time I hit the F5 button, another border disappe...

IE6 border-bottom: 0 & padding CSS issue.

Hi, I just encountered a IE6 bug that I don't seem to identify over the net. Basically this is when the behavior is triggered: a block element has border, on all sides except bottom, and top/bottom padding. and inside it there's another block element. My entire code is to big to fit in here, but I narrowed it down to this simple examp...

White lines around round border at high zoom level

If I zoom large enough in xamlpadx (500%) I see while lines around the inside of the border. In my app this even happens at normal zoom level in some controls. Why is that and more important, what can I do about it? This is my XAML code: <Border Background="#000000" BorderBrush="#000000" BorderThickness="4" CornerRadius="4"> <...

Create the same border type around all my controls

I tried to create my own Border class and then insert it in my controls but then it seems I cannot assign names to everything inside the borders: .. <my:ElementBorder> <StackPanel Name="ifBlock" Background="#E0E8FF" /> </my:ElementBorder> .. How can I get around this? Can I use templating somehow for that? EDIT: Sorry that I...

Changin a div border with javascript.

I have created a div programaticaly using. var Element; Element = document.createElement('div'); Now I want to change the right and bottom border to "#CCCCCC 1px solid". I don't want to use a library for this and using CSS classes is not possible. ...

Drawing empty inline boxes in CSS?

I'm sure this is very simple, but I'm trying to draw a set of small, empty, inline boxes in HTML like the following: <span style="border:1px solid black;height=10px;width=17px"></span> Earlier, did simple .gif images earlier but looked fuzzy as the browsers' displays are scaled up or down. <span> however being an inline element does ...

Is there a way to use a different image for each side of a CSS3 border-image?

On Firefox and Safari, I can use an image for the border with the following CSS: -moz-border-image: url(shadow_left.png) 0 7 0 7 round round; -webkit-border-image: url(shadow_left.png) 0 7 0 7 round round; However, I can't figure out a way to use a different image for left and right. Is there any way of doing so which is supported by ...

Does Firefox add any proprietary values when I add a border (like IE does with hasLayout)?

I have a doosie of a layout problem that looks like a browser bug. It manifests only in FF3 (haven't tested ff2). It only shows up on the first load of the page. If I resize the window it behaves properly. It goes away when I put a border on the problem element, and comes back when I take the border off. No other properties change. ...

Style a border with a different brush color for each corner

I have created a static resource defining the border of a specific item in my xaml, but I can't find a good way to define a unique color for each side! xaml: <Border Style="{StaticResource SidePanelBorder}"> <!-- rest of the xaml --> </Border> StaticResource: <Style x:Key="SidePanelBorder"> <Setter Property="Control.Bord...

Is it possible to mimic CSS ridge border, but with custom colors?

I essentially wish to have a "ridge" style border but with custom colors. With border-style: ridge it seems you can't put different colours in, the browser just uses one slightly lighter and one slightly darker than the colour specified. My current solution is this, but it's not ideal due to the extra <div> <div id="header"> <!-- blo...

How to style uitextview to like Rounded Rect text field ?

Hello all, I am using a text view as a comment composer . In the properties inspector I can't find anything like border style property so that I can make it to rounded rect something like uitextfield. so the question is : How to style uitextview like uitextfield rounded rect ? ...

How do i make a border with css around some elements without specifing an absolute width?

i am new to css and would like to draw a border around this: <form name="SomeForm" method="post" action="SomeAction"> <fieldset> <legend>Details</legend> <div class="menu"> <p><label for="UserName">Username</label><input name="UserName" id="UserName" type="text" value="#data[1].username#"></p> <p><label for="Passwo...

UITextField border color

Hello! Could anybody tell me the truth :) I have really great wish to set my own color to UITextField border. But I could find possibility to change the border line style only. Please, i'll wait any answer ...

Change color of dotted border on button

I have a problem with a button in one of my forms, when a user clicks the button, it shows this black dotted border inside it. I would like to remove this, but I don't know how. I haven't set this border in the CSS... ((For those wondering; the caption means "search")) I searched some time ago, but with "dashed" instead of "dotted"...