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
&nsbp;

#1 SmartWeb

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>)
Ex.
<body>
<div id="yourcontainer">
2. Then create your CSS commands like this
#yourcontainer
{
min-width: 400px;
width:expression(document.body.clientWidth < 400? "400px": "auto" );
}

#2 denvarghese

denvarghese

    Banned

  • Banned
  • 50 posts

Posted 11 June 2014 - 12:37 AM

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

#3 karthikeyankr

karthikeyankr

    Junior Member

  • Designer
  • 11 posts

Posted 01 September 2014 - 05:51 AM

Nice thankyou

#4 mrdollywaggit

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.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users