Skip to content

Instantly share code, notes, and snippets.

@resba
Created February 26, 2011 04:51
Show Gist options
  • Save resba/844952 to your computer and use it in GitHub Desktop.
Save resba/844952 to your computer and use it in GitHub Desktop.
Just some CSS stuff
/* you align the body text to center. since the body is the root element (and position on a sheet matters) AND since your not putting any text in the body, but in the content, you can just text-align: left; the content for it to work. */
body {
text-align: center;
margin: 0 auto;
padding: 0 0 0 0;
}
.content {
min-width: 1100px;
min-height: 500px;
background: url(../img/content-bk.png);
-webkit-border-top-left-radius: 12px;
-webkit-border-top-right-radius: 12px;
-moz-border-radius-topleft: 12px;
-moz-border-radius-topright: 12px;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
border: 1px solid #FFF;
-webkit-box-shadow: 0 0 6px #FFF;
-moz-box-shadow: 0 0 6px #FFF;
box-shadow: 0 0 6px #FFF;
color: #003e52;
text-align: left; !important
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment