asjbak Posted February 2, 2006 Share Posted February 2, 2006 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 Link to comment Share on other sites More sharing options...
asjbak Posted February 2, 2006 Author Share Posted February 2, 2006 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. Link to comment Share on other sites More sharing options...
senzafine3 Posted February 13, 2006 Share Posted February 13, 2006 well, in the HTML you use class="Poptekst" but in the CSS you only define .testmaybe thats the problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now