How to I set border length as a fraction of the div or td dimension?

I want the border line on, for example, the bottom of the div or td not to extend the entire width of the div or td. There should be a gap on left and right. How do I achieve this in CSS? ![ta... Read more

9352ec84-015e-4275-9532-117c7fbd245a

1 answer Best answer by Richard Grevers

How to remove right border from last horizontal nav link

Hello all, I can't figure out why border-right-style: none; doesn't remove the right border from the last link. Here's my code. HTML: `` `... Read more

2 answers Best answer by Tony Crockford

Which gives better performance between loading separate Style sheet or conditional expressions in selected <Table> tag

Hi I am trying to use two separate style sheets for IE8 and other browsers altogether which consists of changes related to IE8.This is making my task cumbersome and unmanageable. <!--[If IE... Read more

1 answer Latest by o.k.w 6 months ago

Missing Left Borders in IE 7

For this report created in HTML & CSS the left borders are disappearing in IE 7. They show up correctly in IE 8, Firefox, Chrome, Opera, etc. I am applying the style with three different CSS ... Read more

F2d3d2fa-7228-4cdb-bf30-6d4f0bd30442

3 answers Best answer by Fudgey

Tony B 46

can you style the first list item in an unordered list differently than the rest of the items?

I am making a horizontal list of the numbers 1 through 10 with a 1pixel border between each item (among other styles). I want to get rid of the border on the first entry only. I know you can do thi... Read more

1 answer Best answer by Tony B

How do I have a common border across all the elements of a table row?

I have the following table and would like a border to run across the bottom of each row. The HTML: URLHits ... Read more

1 answer Best answer by Divya Manian

How do I use 960 Grid System with borders?

Hi I just recently started looking at 960 Grid System that I found here on Doctype. The documentation seems to be pretty sparse on the subject, so I can't figure out how to use the grid system i... Read more

4 answers Best answer by orta

Border around top and left of images

The images in my sidebar have a border around the top and left. I checked with Firebug, I have set the border to 0px and none. The images are hyperlinks, if that makes a difference. Read more

1063b98a-037b-48ef-a039-a41d19f3729a

1 answer Latest by Chris Sobolewski 10 months ago

best practice for a left,right,bottom border

to use it like this #mybox{ border: 1px solid #F1F1F1; border-top: 0 } or #mybox{ border-left: 1px solid #F1F1F1; border-right: 1px solid #F1F1F1;... Read more

2 answers Best answer by Tony Crockford

Why isn't the border color of my select box changing in IE8?

A select box's border color in Internet Explorer just won't change. A text box's border color changes but not a select box's. I'm using: border: 1px solid #000000} It changes in Opera... Read more

6 answers Latest by Tony Crockford 10 months ago