SitePoint Sponsor |
|
User Tag List
Results 1 to 17 of 17
Threaded View
-
Apr 7, 2007, 05:32 #1
- Join Date
- Apr 2002
- Posts
- 2,322
- Mentioned
- 3 Post(s)
- Tagged
- 0 Thread(s)
how to use js min max css width for IE script?
hi,
i'm trying to use the javascript that's talked about on this page: http://www.doxdesk.com/software/js/minmax.html and the actual javascript file is here: http://www.doxdesk.com/file/software/js/minmax.js
in my page i have <script type="text/javascript" src="includes/minmax.js"></script> following on after <title>..</title> in the head, and i have a min and max width set in css which works fine on most browsers but not IE hense why i want to use this script. with it all in place it doesn't seem to work in IE (any version) -- according to the browser screen shots i get from using www.browsershots.org (i don't have a PC so don't have IE).
here's the page my attempt to use it is on: http://www.hdbatik.co.uk/ectemp/b/coolpeople.html . i've made the width very narrow just to make it obvious if it's working or not. this is the style (which is linked to by "@import url(includes/default-ghi.css);") which states the min, max width:
Code:#outer { width:85%; min-width:20em; max-width:30em; /* min-width:49em; */ /* max-width:80em; */ margin:40px auto 0 auto; text-align:left; }
tia
Bookmarks