IE ignoring pagewrapper width

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
kentfx

IE ignoring pagewrapper width

Post by kentfx »

I changed the max-width and min-width of the pagewrapper to 800px (in Layout > Stylesheets > Edit Stylesheet: Layout).  This worked fine in Firefox, but IE ignores the new pagewidth.

I noticed when I "VIEW SOURCE" from the home page, this is in the code --



#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}



This is obviously the reason that IE is ignoring the new pagewidth, and presumably this snip is databased somewhere.  How does one change the #pagewrapper line so that IE also sees it?

Thanks for your help.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: IE ignoring pagewrapper width

Post by tsw »

IE doesnt understand min-width nor max-width so there is a IE specific fix for it. you can edit that in content -> global content blocks -> JavaScript for IE page width

note that if you have wysiwyg editor enabled you wont see anything in the editor area, youll need to use the edit source button from wysiwyg
kentfx

Re: IE ignoring pagewrapper width

Post by kentfx »

Thank you VERY MUCH for solving this problem for me. 
Post Reply

Return to “Developers Discussion”