I know that we can use the inset and ouset borders for the stylization border for the table.
table{border: 1px inset #fff;} td{border: 1px outset #fff;}
everything is fine when we use a table, because every thing is in td , and you never add an element or text to the table tag directly.
Now the question is that when we use a div to execute the same style, there are many problems.
- If we put text or an element in an external div, we will not see any border on the right side.
- the first inner
div has no border at the top.
here is the fiddle to make the problem more specific.
http://jsfiddle.net/v4D9q/
source share