Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Complete CSS Tutorial
04-22-2011, 01:19 AM
Post: #11
Re: The Complete CSS Tutorial
Updated: more to come as well.

[Image: k9zyqe.png]
UndergroundHipHop.me - Underground Hip Hop Blog
Find all posts by this user
Quote this message in a reply
04-28-2011, 02:49 AM
Post: #12
Re: The Complete CSS Tutorial
What is the difference between height and minimum height here!

MBA online
Visit this user's website Find all posts by this user
Quote this message in a reply
04-28-2011, 10:09 AM
Post: #13
Re: The Complete CSS Tutorial
Shefali Wrote:What is the difference between height and minimum height here!

If you're using a fixed height you wont need to use min-height, but lets take a look at a scenario where you would.

Lets say you have your height set to 100%. This means it will stretch with the content. If you only have 1 line of text it will be very short. So what you do is enter a min-height, say 300px, and now it will stay at 300px by default and stretch when the content is longer.

Hope this makes sense.

[Image: k9zyqe.png]
UndergroundHipHop.me - Underground Hip Hop Blog
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)