Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @charset "UTF-8";
- * {
- font-family: Helvetica, Arial, sans-serif;
- }
- a {
- text-decoration: none;
- color: #b50101;
- }
- a:hover {
- text-decoration: underline;
- color: #4f0101;
- }
- body {
- background: #FFFFFF;
- margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
- padding: 100px;
- text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
- color: #000000;
- }
- #container {
- width: 670px; /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
- height: 374px;
- background: white url(../images/websiteagain_03.png);
- margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
- border: 1px solid #4f0202;
- text-align: left; /* this overrides the text-align: center on the body element. */
- }
- #logo {
- float: left;
- margin: 20px;
- }
- #logo a,
- #logo a img {
- text-decoration: none;
- border: none;
- }
- #header {
- padding: 30px 0px 0px 240px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
- height: 46px;
- }
- #header h1 {
- margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
- padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
- }
- #mainContent {
- padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
- margin: 28px 42px 44px 260px;
- height: 225px;
- background-image: url(../images/cbg_03.png);
- border: 1px solid #4f0000;
- font-size: 12px
- }
- #mainContent .links {
- font-size: 12px
- }
- #mainContent input[type=text],
- #mainContent textarea {
- width: 100%;
- }
- #footer {
- padding: 0 0px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
- }
- #footer p {
- margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
- padding: 0px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
- padding-top: 0px;
- font-size: 9px;
- }
Add Comment
Please, Sign In to add comment