mwmwnmw
12-18-2006, 04:39 PM
I have two divisions, "abar" and "meat". "abar" floats left, and "meat" is to run beside it on the right. So far so good. The issue is that I don't want the content of "meat" to start right at the border with "abar" I've run my css through the validator and it comes up with no errors, but for whatever reason I can't get the darned text off of that edge. The css is as follows:
#meat
{
margin-top: 0px;
height: auto;
font-family: tahoma;
font-size: 12px;
font-weight: 500;
color: #663333;
text-align: left;
margin-left: 10px;
padding-left: 10px;
}
The html is standard stuff. I close the "abar" div, open the "meat" div, and start running content. The only problem is that the conent begins right at the left edge. I tried using a generic
padding: 10px;
rather than
padding-left: 10px;
but all that did was move the content 10px down the page.
#meat
{
margin-top: 0px;
height: auto;
font-family: tahoma;
font-size: 12px;
font-weight: 500;
color: #663333;
text-align: left;
margin-left: 10px;
padding-left: 10px;
}
The html is standard stuff. I close the "abar" div, open the "meat" div, and start running content. The only problem is that the conent begins right at the left edge. I tried using a generic
padding: 10px;
rather than
padding-left: 10px;
but all that did was move the content 10px down the page.