No replies
jhnroze
jhnroze's picture
Offline
newbie
Last seen: 9 years 23 weeks ago
Timezone: GMT+8
Joined: 2011-04-17
Posts: 2
Points: 4

This is currently my code but when i resize the page the image overlaps (right div),
i wanted the page when resize that it wont overlap and there is a scrollbar if its too small. any help will do

NOTE: im using IE 8

  .leftDiv
        {
            left: 0px;
            width: 50%;
            height: 100%;
            position: absolute;
        }
        .rightDiv
        {
            margin-left: 50%;
            width: 50%;
            height: 100%;
            position: absolute;
            right: 0px;
        }

<body style="background: white none">
    <form id="form1" runat="server" style="height: 100%">
    <asp:ScriptManager ID="scriptManager" runat="server" />
 
    <div class="leftDiv">
     <div align=right>
        <img src="/templogo.png" alt="" /></div>
    </div>
 
    <div class=rightDiv>
    <div align="left">
           <img src="/templogo.png" alt="" />
         </div>
    </div>
        </form>
</body>