borders

Disappearing CSS table cell borders in Gecko-based browsers

I have a very specific html table construct that seems to reveal a Gecko bug. Here's a distilled version of the problem. Observe the following table in a gecko-based browser (FF, for example): (you'll have to copy and paste this into a new file) <style> table.example{ border-collapse:collapse; } table.example td { border:1px ...

Extending borders

I have an image that will be centered (left and right) in the window, there is no left border,but there is a right border. I was wondering if it is possible for the top border to go from the very left of the page (past the image) and stop at the right border and for the bottom border to start at the left end of the image and stretch acro...

How to add a background Image using CSS that looks like a border down each side of a div

Basicly I want to create a custom border, down the left and right side of my content div. I have managed to create something that half works. The problem I am getting it aligning the divs so that are flush to the content div and look like borders rather than floating lines. It is hard to explain so please see the attack image of what I w...

WPF Textbox & Borders - curious resizing behavior

The following XAML produces a window with strange behavior around the textbox: <Window x:Class="WpfSandbox.CuriousExample" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="CuriousExample" Height="300" Width="300"> <DockPanel Margin="15"> ...

Removing Borders on Review Quiz in Captivate 2.

How do you remove the review quiz borders and background color when creating a quiz in Captivate 2. A border shows around the answers as if it is an input field. See: http://preview.promomart.com/prep/asi/cv/example.jpg ...

Firefox 1 pixel bug with border-collapse, workaround?

Is there any workaround for the following "1 pixel to the left" bug? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <body> <div style="padding: 50px"> <div styl...

What's the right way to define the style of the images inside my gallery div?

I have a div with an id of 'gallery' and I want to style the images inside it. Specifically, I want to give each of the images a 1px solid yellow border except on the bottom because they sit on top of each other, so I don't want to double the border on the bottom. What I'm confused about is how to choose between the different border sty...

Creating interlocking, irregular borders with CSS.

I have a layout made up of 4 "interlocking" divs, like so: -------********** - -* * - -* * - -* * ------- * ++++++ * * + + * * + + ********** + + ^^^^^^^^^^ + + ^ ^ + + ^ ^ + + ^ ^ + + ^ ^ ++++++ ^^^^^^^^^^ I want to put borders ar...

WPF TextBox ugly borders problem

Hi! I want to override the default TextBox borders in WPF. I have this style that applies on all TextBoxes. <!-- StyleTextBox--> <Style x:Key="StyleTextBox" TargetType="{x:Type TextBox}"> <Setter Property="MinHeight" Value="20" /> <Setter Property="HorizontalAlignment" Value="Left"/> <Setter Property="Margin" Value="3"/> ...

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...

Applying borders to a single table cell when using border-collapse

I have a table with the following CSS rules applied: table { border-collapse: collapse; } td { border: 2px solid Gray; } I want certain cells to have a red border, instead. td.special { border: 2px solid Red; } This doesn't work as I'd expect. In FireFox 3 and IE8 it looks like this: In IE7 Compatibility mode (Running in IE8) i...

wpf different borderbrushes for different sides

Is it possible to set different borderbrushes for different sides e.g. left and right blue and other to grey? (I've found only the dirty workaround here) ...

How do I create borders around tbody/thead sections of a table?

I am attempting to create a page with tabular data, which must appear as multiple tables. I have two conflicting requirements to get around, however: Each table must have a border around it. Column widths for each table must be able to re-size based upon the content. However, the column widths must be consistent across all tables. (i...

C# .net framework- border on only one side of the form

I am an inexperienced programmer , completely new to programming for windows . I am writing a little program that I always wanted . Its being written using C# using .net framework. atleast thats what I think I am doing. All the talk about framework and .nets , windows forms , and win32 api has all got me really confused.. :( anyways ...

div border not surrounding content

HI i want to give my div's some border but when i do a box is created with all the borders but the contents of teh div are not surrounded!! Any suggestions? ...

keep borders in IE with jquery.corner()

Hey there, I'm using the jQuery plugin "corner": http://www.malsup.com/jquery/corner/ Its almost doing a great job making my divs round at the edges. The problem is, my divs have borders of 1px applied. This works great in Safari, FF, Chrome etc. Only in IE (8) the borders will disappear. It does render the edges round, but no borders....

How to adjust JFrame border thickness in Java

I'm using Vista, my old Java app ran on Win XP has thin borders, about 2 pixels thick, but now on Vista, the borders deafults to thick lines, maybe 6,7 pixels thick, can I specify in Java how thick my JFrame borders should be ? ...

Gridview CSS borders inconsistent

Hi, This is really bugging me. I'm using a GridView and want to format it in such a way that the borders are displayed the same in all browsers. At the moment, I'm getting varying results between IE, FF and Chrome. I'm not sure what I'm doing wrong in my CSS (I'm quite new to CSS) but something must be right as one of the browsers disp...

Vista and Widows 7 borders cut off form content

Forms on Windows 7 and Vista have thicker borders than those of XP. As a result, some content that spans the entire height or width of a form will be cut off. Is there a simple way to fix this, or do all the forms of my application need to be resized to accommodate for this? Update: It appears to be the fault of the form size and not...

How to create a window based on only the size of the screen not including the windows border with C++/Windows?

When creating a window using CreateWindow(...), which requires the window width and height, I have to enter the values 656 and 516, instead of 640 and 480, so as to account for the windows border. I'm wondering if there is a way to create a window based only on the portion of the window not including the border, especially considering t...