Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

CSS Minimum width of page

css minimum width of page

  • Please log in to reply

#1 SmartWeb


    Senior Member

  • Designer
  • 271 posts

Posted 26 August 2013 - 09:27 PM

min-width command is a very useful CSS command, which allows you to specify minimum widths for elements. This is very handy when specifying a minimum width for pages.
IE however doesn't complie this command, and so an alternative for the min-width command for IE would be
1. first insert a <div> under your <body> tag, (since you cannot assign a minimum width to your <body>)
<div id="yourcontainer">
2. Then create your CSS commands like this
min-width: 400px;
width:expression(document.body.clientWidth < 400? "400px": "auto" );

#2 denvarghese



  • Banned
  • 50 posts

Posted 11 June 2014 - 12:37 AM

Let me check... Anyway it will be good one.

#3 karthikeyankr


    Junior Member

  • Designer
  • 11 posts

Posted 01 September 2014 - 05:51 AM

Nice thankyou

#4 mrdollywaggit


    Junior Member

  • Designer
  • 11 posts

Posted 15 June 2015 - 10:38 PM

IE really needs to adopt more modern web standards. It is slowly improving, but I pity the IE 8 users who are unable to view certain things and don't understand why.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users