Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mislz28/public_html/wp-content/themes/css-faq-v2/timeweather/timeweather.php on line 19
8 May 2008

forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




Minimum width for IE

UserPost

7:32 am
June 2, 2008


port

Member

posts 20

1

I want to set minimum width for IE. How to do it?

7:33 am
June 2, 2008


warren

Member

posts 35

2

To set a minimum width, the CSS property is 'min-width'. This can be very useful and works well in good browsers. IE doesn't understand 'min-width'. However, it has a proprietary property called 'expression' which allows us to feed it javascript via a style sheet. Below is how to set a (780px) minimum width for IE…
 
 
<!–[if gte IE 5]> <style type=”text/css”>
body {
width:expression(documentElement.clientWidth < 780 ? (documentElement.clientWidth == 0 ? (body.clientWidth < 780 ? “780px” : “auto”) : “780px”) : “auto” );
}
</style>
<![endif]–>



Reply to Topic: Minimum width for IE

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 12 + 2        (Required)

Topic Reply:


 

About the CSS-FAQ forum

Currently Online:

3 Guests

Maximum Online: 20

Forums:

Groups: 3

Forums: 18

Topics: 397

Posts: 834

Members:

There are 1007 members

There are 1 guests

Top Posters:

abc - 57

genius - 47

shane - 46

glowlite.uk - 39

booster - 37

warren - 35

Administrator: admin | Moderators: admin


© Simple:Press Forum - Version 3.1.1 (Build 336)