Rounded Corners with CSS
.rounded_corners {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-khtml-border-radius: 20px;
border-radius: 20px;
}
Written by Sean Behan on 06/17/2012
NO Table Cell Spacing Please
Remove cell padding on a table you add the cellspacing attribute and set it to "0". Is there a better way to do this with straight up CSS? Nothing seems to work...
<table id='my-favorite-table' cellspacing="0" >
...
Written by Sean Behan on 06/17/2012
Offset an Element with Relative Position Property with CSS Without Taking Up Any Space in the Document
Using CSS positioning it's possible to offset an element and collapse its width and height where it would normally appear. Wrapping the content in an absolute positioned element, the space that the element would normally take up is collapsed.
<div st...
Written by Sean Behan on 06/17/2012