border

WPF Overlaying a Image with a Button

I have a custom TabItem with a close button(denoted by X) on it so it can be closed easily. In this tab i want to put a Image or Border Item, that is centered with the close button in the top left corner The Control Template for this is <ControlTemplate TargetType="{x:Type local:CloseableTabItem}"> <Grid SnapsToDevicePixels="tru...

removing the textarea border in html

I'm working with the textarea element in HTML and want to remove the border of the box - pls help and want to align the text in the bottom of my textarea pls help ...

nested tables: 1px border with css

Hi, I'm trying to create a table with a 1px black border. I have to nest a table in the main table, and get "thick" borders where the nexted table butts against its enclosing . I just want a 1px border everywhere. I have this, in effect: table.outer{border:1px black solid; border-collapse: collapse;} td{border:1px black solid; border...

Scrolling Content Inside A Border With CornerRadius

I'm looking for help with a WPF problem I've been wrestling with for a while. I've styled a tab view, moving the tabs onto the left and displaying them vertically. These tabs sit inside a border with rounded corners at the top and bottom left. I'm running into a problem when the tabs are scrolled. Instead of the rounded corners clippi...

How do I change an ASP.NET listbox border from 3d to 1px solid?

By default the listbox in ASP.NET has a 3D border effect. I need to change that to Solid, 1 px, some color. Can this be done using css? Thanks, Atul ...

Silverlight. Treeview overlap edge of containing control.

I have a treeview contained in a border that I want to use as a menu. I want the individual menus to drop down. This seems to be working fine except I want them to drop down over the edge of the border. Currently the are dropping down inside the border and thus can't be fully seen. Thanks in advance for your help. ...

How to use 'border' instead of 'border-right' to specify a detailed right border style?

I find that I have to use the following style to specify a style for my right border: border-right: 1px solid black; When I tried to incorporate this information into my border element like this, it didn't work: border: 0 1px solid black 0 0; Assuming my syntax is wrong, is there a way to specify the right border style using only t...

How can I apply a background image to a text input without losing the default border in Firefox and WebKit browsers?

For some reason most modern browsers will stop applying their default input border style to text boxes if you give them a background image. Instead you get that ugly inset style. From what I can tell there's no CSS way to apply the default browser style either. IE 8 doesn't have this problem. Chrome 2 and Firefox 3.5 do and I assume oth...

How to use an image for a border in CSS

I want to set the border of a table to be "1px solid black" except on the bottom, where I want to use an image which provides a pointer into the link - as a visual aid. Is it possible to set an image as the bottom border when the other borders are regular css. ...

Set border-style:none; on my anchor tags but border shows up when I click on a link - why?

As you can see from the example below, I have a black background and red links to emphasize this problem of dotted borders showing up on my links when they are clicked. I added border-style:none but it doesn't seem to have any effect. Is there some other way to remove the dotted border appearing around the links when they are clicked? <...

Blackberry - How to add border to BasicEditField?

Hi, I used BasicEditField in my Blackberry program,the BasicEditField doesnot display any border.So i want to customize the BasicEditField to display with border.please give some code snippets. ...

IE7 border issue

Hi, Im my web page there is a div with width 0 which has a left and right border of 1px width each. In Firefox when I give the following code it holds the div with 50px width, but it happens to be 48px wide in IE7. <div style="width: 48px; border: #a9a9a9 1px solid; height: 30px;">test div</div> Can anyone help me resolving this issu...

How do I apply border to a flow on click?

I've got this piece of Shoes app: flow :top => 10, :left => 10 do flow :width => 0.3 do para @board.deck.card click do if @board.source_pile @board.source_pile = nil @deck_border.hide else @board.source_pile = @board.deck @deck_border = border yellow, :strokewidth => 2 end ...

border-radius not applying to ul element?

I've got the following CSS code, but the -moz-border-radius and -webkit-border-radius styles aren't being applied to the UL. Is there something obvious I'm missing as to why, or does -border-radius not support UL elements? ul.navigation { margin-top: 7px; margin-bottom: 10px; list-style-type: none; -moz-border-radius: 7...

Can't get DataBinding to work with an image as a background of a border

I've run into a problem with WPF when I try to use DataBinding with an image as a background to a border. I have no problem rendering the image this way: <Image Name="imgPlayer" Width="100" Height="100" Source="{Binding Converter={StaticResource ImageConverter}, Path=Image}" /> My DefaultImageConverter just checks if the image is...

How can I control the border thickness and color on Windows Forms?

I know that this can be controlled at the system level, but I want to override the system setting and have a certain appearance for only my application. I'm assuming there must be a Windows API function to control this because I've seen another windows app that does it. (It is not necessary to go into the reasons why I should not do th...

HTML Tables using JPG images as borders

I'm trying to create a "certificate" for use in an email capmaign. We are trying to maintain compatability with Outlook 2007 and that limits us from using the background property to just load a single picture to display behind the text. I've chopped my borders up in 4 pieces (left, top, right, bottom) and placed them in spanned columns ...

CSS - Border only inside the table

I am trying to figure out how to add border only inside the table. When I do: table { border: 0; } table td, table th { border: 1px solid black; } The border is around the whole table and also between table cells. What I want to achieve is to have border only inside the table around table cells (without outer border around the...

How to get the inside dimensions of a decorated window in XWindows?

If I create a full screen window where m_winw and m_winh is the full screen size, it seems to create a window for me where the outside dimension is the full screen and the inside is smaller based on the "decoration" (window border) size. Is there a way to query the window to get it's inside width and height? m_win=XCreateWindow(m_displa...

CSS Float border overlap issues

I'm trying to float a menu to the left of the page, and when it gets large enough to reach the content below, Firefox bumps the content over exactly as it should... except for the border. Here is a screenshot with a few items: And another with several items "Box 4" gets moved over as expected, but its border stays at the left. O.o...