border

How to keep the highlight border of a JComponent, when custom border is set

I have a JTextField, where I've set some custom properties: nameField.setPreferredSize(new Dimension(275,40)); nameField.setBackground(bgColor); nameField.setForeground(txtColor); nameField.setFont(new Font("HelveticaNeue",Font.PLAIN,22)); nameField.setBorder(BorderFactory.createLineBorder(Color.WHITE, 2)); When the component has focu...

RichTextBox No Border

Hello, Based on what Word, Wordpad, and Open Office Writer are showing there is no cell border which is correct. But in the RichTextBox control the borders are displayed. I need to hide the borders of the table/rows/cells in the richtextbox. Any help would be greatly appreciated. Please see the sample below for RTF. {\rtf1\ansi\deff...

How to add border of canvas

I want to add the border off canvas using C# not XAML How can i achieve it? ...

Why does Firefox render dashed borders misaligned from each other?

http://betawww.helpcurenow.org/about/financial-accountability/ http://blog.helpcurenow.org/ I'm using a design that incorporates lots of 1px dashed borders. I noticed something odd in Firefox. Normally Firefox renders everything (*almost) as I would expect and want to see it. However with dashed borders, it appears when you use two das...

define border width(not thickness)

can I define border width. like .box{ width:200px; height:100px; border-bottom:1px solid #000; } box width is 200px but i want border width in bottom only 100px. ...

How can I remove the border of a textArea in extJs?

Hi, I am new to extJs. I want to make the border of a textarea invisible so that it becomes just a blank white space (My purpose is to show it inside a fieldset). Hoe can I achieve this? thanks ...

change checkbox border color.

can i change border color of checkbox by use css or jquery. i want change only border color of check box. ...

WPF draw Border on MouseOver

Hello, I have a WPF Application where I am trying to make a close button like image. I am trying to draw a border or have a border show up on mouse over... But I cannot seem to make it work. I have tried like 6 different methods of doing so...Images, borders with images, brushes, ect. I am using the following code at the moment: <Canv...

WPF ListView has a one pixel border around the internal layout panel. How do I get rid of it?

I have a ListView that goes something like this: <ListView x:Name="SeriesListView" SnapsToDevicePixels="True" ItemsSource="{Binding Items}" BorderBrush="Transparent" BorderThickness="0" Padding="0" Margin="0" VerticalContentAlignment="Top" Background="Purple" LostFocus="ListView_LostFocus" > <L...

IE/Firefox CSS confusion: Why does my table have inside borders on Firefox, but not IE?

Ok - I'm having a problem with CSS not displaying correctly between IE and Firefox... The big problem is that we have a ridiculous number of CSS files (and this isn't something that is currently scoped to fix), and I can't seem to find what style is being applied. Any way, here's what I'm looking at: On the shopping cart page for our s...

In WPF how do you put a border around the part of a window that has focus?

I have a Window that has two primary areas. One is a TextBox inside of a ScrollViewer and the other is a TabControl. I want to have a red border around the part that currently has focus, so I wrote the following code to do that Xaml <ScrollViewer BorderBrush="Red" BorderThickness="0" GotFocus="Border_GotF...

Dynamically removing and attaching the border on a nswindow

How do I go about adding/removing the window border after it has been created? the window was already designed in interface builder and I would prefer to avoid writing the window purely in code as I am still a long ways before i can say i am experienced with objective-c/cocoa. Example Program: a single window with the border initially, ...

JTabbedPane - set default border around tabs..?

Hi, I am using a JTabbedPane in my application. I have added two tabs which are instances of a custom class "ContentPanel". This extends JPanel and sets the background, border etc etc. Basically it means I dont have to set the properties of each JPanel I want to apply this colour scheme to. I notice that not only does their border appea...

selective border on mouse move over in msie

Hi All, my following css code does not work in msie. #block a { border-right: 2px none #eee; border-bottom: 2px none #eee; } #block a:hover { border-right: 2px solid #eee; border-bottom: 2px solid #eee; } In msie, only the right border will be displayed correctly. The bottom border is totally invisible. Other browsers w...

Is there any way to make the HTML underline thicker?

I have a centered div with a nested h1 inside. Is there any way to underline it with a thicker line than the html default? ...

How do I create a border that fades out

Think of a normal border with a solid color for the left, top and right, but I need to have the left and right fade into a blank bottom. Any pointers on how to implement with cross browser support? Thanks for any help! ...

How can I change the color of a sprite without changing the color of the border?

I have this code public function TalentBox(x:int, y:int, arg_color:int = 0xFFFFFF):void { this.graphics.beginFill(arg_color); this.graphics.lineStyle(1.0, 0x000000, 0.7); this.graphics.drawRect(0, 0, 7, 13); this.alpha = 1.0; this.x = x; this.y = y; this.graphics.endFill(); } Where I construct the class (th...

Is there a way to control opacity/transparency of the border color using CSS?

Is there a way to control opacity/transparency of the border color using CSS? ...

pt or px for specifying border-width for print

should i use pt or px when specifying border-width in css for media print? i basically just want hairlines ...

Java Swing - Can i make a JTable column without borders ?

I have created a column with cells that contain a JTextArea + A JButton inside it, as you can see in the image below in Column 3 : But i have faced lots of problems with my CellRenderer and CellEditor when updating the cells values in that column, as my code is a bit complicated. So instead i want to replace that column with 2 columns...