So are you trying to give the container div a scroll bar?

In which change div1 from overflow:hidden; to overflow:scroll;



On Thu, Sep 25, 2008 at 1:51 AM, Navrang <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     I have tab control which is bigger than window size and i want to show
>     it without scrolling whole page so i did like this.
>     So i want to make small size TOP div and in it big size inner div so i
>     can scroll inner div by using scrollLeft property..
>     It working fine in Firefox but not in IE 7.
>
>     thanks...
>
>     On Sep 24, 8:08 pm, "André Ferreira" <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>     > Why are you putting a wider DIV inside a narrower DIV? That
>     makes no sense.
>     >
>     >
>     >
>     > On Wed, Sep 24, 2008 at 8:32 AM, Navrang <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>     >
>     > > Hi all,
>     >
>     > > I have two divs in my code.
>     >
>     > > <div id='div1' style="overflow: hidden; width: 800px; white-space:
>     > > nowrap; position: relative;">
>     > >    <div id='div2' style="width: 1200px; overflow: hidden; white-
>     > > space: nowrap;">
>     > >        Some text.........
>     > >    </div>
>     > > </div>
>     >
>     > > It is working fine in firefox but not working in IE.
>     > > The same code im using.
>     > > I didnt give padding and margins and all.
>     >
>     > > Can any one help me ?
>     >
>     > > Thanks in advance...
>     >
>     > --
>     > André Ferreira
>     > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>

--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to