Topic: max-hight max-width (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10928" title="Pages that link to Topic: max-hight max-width (Page 1 of 1)" rel="nofollow" >Topic: max-hight max-width <span class="small">(Page 1 of 1)</span>\

 
Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 03-01-2003 08:26

Hi, people. Please give me your help. When do you use these CSS? Any exmample, appreciated.

quote:
h2
{
max-width: 500px
}



quote:
p
{
max-height: 100px
}



Thanks in advances.

Hiroki Kozai

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 03-01-2003 13:39

Hiroki: This is going to sound like stating the bleeding obvious but you use them to set your maximum heights and widths of things.

I think the best way to use them isn't on header of paragraph tags but on DIVs if you were making a CSS-only design which you wanted to be liquid but also you wanted to stop it breaking with low screen widths or looking too strateched on larger resolutions.

Browser support is improving - it looks like Moz and Op5+ are in and IE 6 is still no good:
www.xs4all.nl/~ppk/css2tests/width.html

___________________
Emps

FAQs: Emperor

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 03-01-2003 22:51

I wish nothing more than for IE to support max/min specifications.

Dear god that wold make life so much easier...



Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 03-02-2003 07:12

Internet Explorer: The new Netscape 4.7!

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 03-02-2003 08:32

hehe

the lifespan of a popular browser...



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu