SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Jul 2006
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Quick question, why text following out of bottom of box?

    Hello quick and easy question i am sure.

    Done some boxes here

    As you can see the text follows out the bottom of the the box and my p class is not working on that bit of text.

    Any ideas on what i am sure is a simple problem?

    Many thanks

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2006
    Location
    Florida
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's because you set a height on the .enterBoxsLeft; instead, use min-height:
    HTML Code:
    .enterBoxsLeft, .enterBoxs {
    	background-color: #FFFFFF;
    	margin: 2px;
    	text-align: left;
    	padding: 0px;
    	color:#000000;
    	display:inline;
    	float:left;
            /*This is where I changed height to min-height, not allowing the height to be any less than 120, but if too much content is inside, it will expand. */
    	min-height: 120px;
    	margin:2px;
    	width: 140px;
    }
    Attached Images Attached Images


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •