tags:

views:

94

answers:

5

i used:

border: 1px 1px 1px 1px;
border-style:solid;

but the border line seems to be so thick. i can almost be sure that i have seen thinner border line somewhere. could you make it thinner or did they use images for it?

A: 

You may try consolidating your rules into a single short-hand declaration:

border: 1px solid black;
Jonathan Sampson
its for a div. and thanks for upvoting me=)
weng
@noname: Try my second solution then. If it doesn't work, it's likely that something else is messing with the border, which would be discovered through firebug, or an equivalent.
Jonathan Sampson
+1  A: 

Perhaps a lighter color was used on the border, (silver instead of black) which often gives the illusion of being thinner.

Dominic Barnes
+2  A: 

Instead of

border: 1px 1px 1px 1px 

try

border-width: 1px
bingle
A: 

If you mean the borders around the table cells then they will appear thicker because they aren't "collapsable" - you have to write this:

 table {
   border-collapse: collapse;
  }

and it should make the borders on every side of a cell one pixel thick (or thin as you want to call it!) within a table.

netrox
+3  A: 

** Copied from my comment on the question itself **

Actually, I just noticed that you have the border short-hand declaration, which expects several parameters in a precise order. (ie. border: 1px solid black) What you have specified above is invalid. Could that be your problem?

Dominic Barnes