Jump to content

padding is driving me crazy


Recommended Posts

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...