I have developed a masterpage and the homepage appearing perfect when we use IE8/IE9 but there alignment problem in IE7. I am attaching screenshot of both IE7 and IE8. plz suggest why the DIV's are stretching ..
IE7 Result

IE8 and above Result

<div id="s4-workspace">
<div id="s4-bodyContainer">
<div id="s4-titlerow" class="s4-pr s4-notdlg s4-titlerowhidetitle">
<div class="s4-title s4-lp">
<div class="s4-title-inner">
<!-- Customization starts here to remove default table based style and prevent rendering of not needed components !-->
<!-- Add Logo !-->
<div class="s4-titlelogo">
<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="samx_onetidProjectPropertyTitleGraphic">
<SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="samx_onetidHeadbnnr2" LogoImageUrl="/Style%20Library/Images/Home.jpg" runat="server"/>
</SharePoint:SPLinkButton>
<div id="secondz" style="margin-top:-14px; margin-left :790px; width:192px">
<div id="child1" style="font-weight:bold; color:white; text-align:right">
<wssuc:Welcome id="IdWelcomex" runat="server" EnableViewState="false">
</wssuc:Welcome>
<wssuc:MUISelector ID="IdMuiSelectorx" runat="server"/>
</div>
<div id="thirdz" style="margin-top:2px;margin-left:-30px; width:100px">
<asp:ContentPlaceHolder id="samx_PlaceHolderSearchArea" runat="server">
<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4"/>
</asp:ContentPlaceHolder>
</div>
</div>
<div id="NavmenuDiv" style="margin-top:-38px; margin-left :200px; width:200px">
<div class="s4-lp s4-toplinks">
<asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server">
<asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">
<SharePoint:AspMenu
ID="TopNavigationMenuV4"
Runat="server"
EnableViewState="false"
DataSourceID="xmlSiteMap"
AccessKey="<%$Resources:wss,navigation_accesskey%>"
UseSimpleRendering="true"
UseSeparateCss="false"
Orientation="Horizontal"
StaticDisplayLevels="2"
MaximumDynamicDisplayLevels="2"
SkipLinkText=""
CssClass = "s4-tn"/>
<asp:SiteMapDataSource
ShowStartingNode="true"
SiteMapProvider="CustomNavigationProvider"
id="xmlSiteMap"
runat="server"/>
<SharePoint:DelegateControl runat="server" ControlId="TopNavigationDataSource" Id="topNavigationDelegate">
<Template_Controls>
<asp:SiteMapDataSource
ShowStartingNode="False"
SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server"
StartingNodeUrl="sid:1002"/>
</Template_Controls>
</SharePoint:DelegateControl>
</asp:ContentPlaceHolder>
</asp:ContentPlaceHolder>
</div>
<!-- Customization of Add Menu Ends here !-->
</div>
</div> <!-- End of s4-titlelogo !-->
<table class="s4-titletable" cellspacing="0" style="display:none">
<tbody>
<tr>
<td class="s4-titlelogo">
<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitleGraphic">
<SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/images/siteIcon.png" runat="server"/>
</SharePoint:SPLinkButton>
</td>
<td class="s4-titletext">
<h1 name="onetidProjectPropertyTitle">
<asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server">
<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" /></SharePoint:SPLinkButton>
</asp:ContentPlaceHolder>
</h1>
<span id="onetidPageTitleSeparator" class="s4-nothome s4-bcsep s4-titlesep">
<SharePoint:ClusteredDirectionalSeparatorArrow runat="server"/> </span>
<h2>
<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />
</h2>
<div class="s4-pagedescription" tabindex="0" >
<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>
</div>
</td>
<td class="s4-socialdata-notif">
<SharePoint:DelegateControl ControlId="GlobalSiteLink3" Scope="Farm" runat="server"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>