Hello,
Recently I came across a tiny problem which drives me crazy. I've been looking all over the internet, but once again, it seems like I'm overlooking something...
I have got a Div on my page, and inside it is text. Therefore I have a certain padding specified. However, this padding only exists on the top and the left side, but not on the right and bottom sides. Even worse: at those two sides, the text actually disappears out of the Div.
Code:
<div id="container">
<div id="bot1">
bla1 sdnwklodnansd ksdnks (...) dnklas dnklas dnklas dnkla
</div>
</div>
Code:
#container {
width:100%;
height:100%;
position:relative;
}
#bot1 {
width:25%;
height:100%;
position:absolute;
background-color:#AAAAAA;
top:0%;
left:0%;
padding:10px;
}
I wonder, why can't I set a right and bottom padding? I tried setting it manually (padding-right and padding-bottom).