Options

css style sheets

DevilWAHDevilWAH Member Posts: 2,997 ■■■■■■■■□□
Why with the style below does the output for the main body lose the blank line before and after <p> tags?

I have tried adding in line spacing at various points with no result, but how can I get the default behaviour of <p> back with in the main-body?
*{ margin: 0px; padding: 0px;}
a{ text-decoration: none;
}


.wrapper{ width: 1000px; height: 625px;
margin: 10px auto 0 auto; border: 2px solid #00A2E8;
}
.header{ with: 1000px; height: 200px; background-image: url(../images/logo.jpg)$
}
.navbar{ width: 1000px; height: 25px; background-image: url(../images/nav.jpg);$
}
.button a{ float: left; width: 150px; height: 25px; line-height: 22px;
font-family: verdana; font-size: 13px; color: #000; font-weight: bold;
text-align: center;
}
.button a:hover{ float: left; width: 150px; height: 25px; line-height:
22px; font-family: verdana; font-size: 13px; color: #fff; font-weight:
bold; text-align: center; background-image: url(../images/nav_roll.jpg); backgr$
}




.mainbody{ width: 950px; height: 345px; font-family: verdana;
font-size: 11px; color: #515151; background: #e1e1e1; border:5px solid #00A2E8;$
}


.footer{ width: 1000px; height: 25px;background-image: url(../images/nav.jpg); $
}



cheers


Ok so just me being dumb, now where's the delete post button gone??
  • If you can't explain it simply, you don't understand it well enough. Albert Einstein
  • An arrow can only be shot by pulling it backward. So when life is dragging you back with difficulties. It means that its going to launch you into something great. So just focus and keep aiming.
Sign In or Register to comment.