INDEX.PHP
Code:
<div id="framecontent">
<div class="innertube">
<p>Hey</p>
</div>
</div>
STYLE.CSS
Code:
.innertube{
margin: 8px; /*Margins for inner DIV inside each DIV (to provide padding)*/
}
NO MATTER how I set this "margin", even change the number to "100px" or "50px", the "Hey" remains at same margin of the browser. When I take out the <div class="innertube"> from index.php, the "Hey" goes FLUSH with the browser left side (but the top remain same gap). So, something is not working right with CSS itself? I even tried changing it between ID and CLASS (the "#" and "ID" makes it flush as same as if I remove the "innertube", so I take it as it can not be ID, it must be CLASS, huh?) I did "margin-left" and "50px 0px 0px 50px", same results (doesn't even pushes 50px). What is something besides ID and CLASS? LOL
it's either one or other, NO OTHER margin/padding/position/whatever
Bookmarks