asjbak
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by asjbak
-
-
Hello,I can't figure out what i'm doing wrong:In my stylesheet i've the following:.test{ position:absolute; top:80; left:200; width:258px; height:283px; background-color:#FF6609; /*solid plum; */ overflow:auto; font-family: Arial, Helvetica, sans-serif; font-size: 11px; padding-left: 10px; z-index: 50; visibility: visible;}In my Html I use the following:<div id="Poptekst" class="Poptekst"><?php include("test.htm"); ?></div>The first time I go to my webpage everything looks allright, but when I refresh, the DIV-box is 20px bigger to the left and on the bottom. So it's out of design?It's exactly the size of 2x the padding (the growing of the box).Somebody have an answer how to get rid of growing?thanx
padding is driving me crazy
in CSS
Posted
sorry,the padding in the css is:padding: 10px; not padding-leftthe padding-left I used for testing (and in that case the box just grows in the hight after refresh.