Issue reg webpage design & displaying in browser

attached here is the screen shot of web page in design mode & in browser

the screen shot is taken in resolution 1336 * 768

but the same web paeg works fine as per the design in the browser also in 1024 *768 resolution
how do i rectify the degin so that it works fine in all resolutions

similarly i have issues with displaying text with the different resolutions
in 1024 *768 resolution the text appears properly as stateed ie centered
but in 1336 * 768 the text appeasr to left

Do you have a link to the page in question? If not, you need to post the HTML and CSS for the page, so we can see what’s happening. It’s not really possible to diagnose and fix a problem from a screen-shot. :slight_smile:

hello shld i post the page that i get after displaying ibn the browser ie the source code???

If you don’t have a link you can give us, then yes. Remember to wrap

 tags round it to format it.  (The # button in advanced view.)  If your styles are in a separate stylesheet, you'll need to paste a copy of that, too.
<head><title>
	Untitled Page
</title><link href="CSS/a.css" type="text/css" rel="stylesheet" /></head>
<body>
   <form name="form1" method="post" action="details.aspx" id="form1" enctype="multipart/form-data">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE4NTc2MTcwMDQPZBYCAgMPFgIeB2VuY3R5cGUFE211bHRpcGFydC9mb3JtLWRhdGEWBgIBD2QWBAIBDxYCHglpbm5lcmh0bWwFDUwmIFQgSU5GT1RFQ0hkAgMPFgIfAQUGTXVtYmFpZAIDD2QWBAIBDw8WAh4EVGV4dAUKMTMvMDEvMjAxMmRkAgMPDxYCHwIFBUFETUlOZGQCIw9kFgICAQ8PFgIfAgVSQ29weXJpZ2h0ICZjb3B5IDIwMTEuPGEgaHJlZj0nIyc+UHJpdmFjeSBQb2xpY3k8L2E+IHwgPGEgaHJlZj0nIyc+VGVybXMgb2YgVXNlPC9hPmRkZH/LS/pBL1jGlcyH7iRTr/Ffctt6" />
</div>
 
<div>
 
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWCQLvtsymBwLNipDrBQLf3PjlAwLHst2qAgKbzrqVAgKpm96pAwKW5dDTBAKevJu2BALF4cLdAkPdt5mE1/H+Id9PlSbCk/1fQgKS" />
</div>
   
    <table cellpadding="0" cellspacing="0" width="100%" align="center">
        <tr>
            <td align="left">
                &nbsp;
            </td>
            <td align="center" width="950px" valign="top">
                <table cellpadding="0" cellspacing="0" width="100%" class="SideBorder">
                    <tr>
                        <td class="headerbg" valign="top" colspan="3">
                            
<link href="CSS/PMS.css" type="text/css" rel="stylesheet" />
<h2 id="heada_cname" style="color:Navy; font-weight:bolder;  font-size:x-large; background-color:Transparent"></h2>
 
<h5 id="heada_cadd" style="color:Navy; font-weight:bolder;   background-color:Transparent"></h5>
 
 
 
 
 
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" bgcolor="#4D9AD0" colspan="3">
                            
<div style="color: Navy; background-color: Transparent; float: left;">
    <span id="login_lbldt"></span>
</div>
<div style="color: Navy; font-weight: bolder; background-color: Transparent; float: right;">
    <span id="login_lbluser"></span></div>
 
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" bgcolor="#4D9AD0" colspan="3">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" width="185px">
                            <table cellspacing="3" cellpadding="0" width="185px">
                                <tr>
                                    <td>
                                        <table cellpadding="5" cellspacing="0" width="100%">
                                            <tr>
                                                <td class="st6 bgHead" align="left" colspan="2">
                                                    <h1 style="font-size: 14px; text-align: center;">
                                                         DETAILS</h1>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="st11 td4" colspan="2">
                                                    

<table cellpadding="5" cellspacing="0" style="height: 174px; width: 99%;" bgcolor="#FFE1C4">
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2"  style="padding-left:5px">
      
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2"  style="padding-left:5px">
           
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left:5px">
           
        </td>
    </tr>
     <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left:5px">
         
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left:5px">
         
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
           
        </td>
    </tr>
   
</table>
                                                </td>
                                            </tr>
                                            <tr id="admin">
	<td class="st6 bgHead" align="left" colspan="2">
                                                    <h1 style="font-size: 14px; text-align: center;">
                                                        </h1>
                                                </td>
</tr>
 
                                            <tr id="admin1">
	<td class="st11 td4" colspan="2">
                                                    

<table cellpadding="5" cellspacing="0" style="height: 174px; width: 99%;" bgcolor="#FFDBCA">
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href=""> L Master</a>
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href="">S Master</a>
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href="">EDetails</a>
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href=""> details</a>
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href="">Ar</a>
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href="DEPT.aspx">Department</a>
        </td>
    </tr>
   
     
  
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href="" target="_blank">L Report</a>
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href="" target="_blank">P Report</a>
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href="" target="_blank">D List</a>
        </td>
    </tr>
    <tr style="height: 40px;">
        <td class="st11 td4" align="left" colspan="2" style="padding-left: 5px">
            <a href="" >Logout</a>
        </td>
    </tr>
    
</table>
 
                                                </td>
</tr>
 
                                            <tr>
                                                <td class="st11 td4" colspan="2">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="st11 td4" colspan="2">
                                                  
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="st11 td4" colspan="2">
                                                    <span id="lblmsg" style="color:#FF3300;font-weight:bold;"></span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="st11 td4">
                                                </td>
                                                <td class="st11 td4">
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td valign="top" width="683px" align="center" colspan="2">
                            <table cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td class="st6 bgHead" valign="middle">
                                  
                                        <h1 style="font-size: 14px">
                                           Details</h1>
                                    </td>
                                </tr>
                                <tr>
                                                <td valign="top" align="left" style="padding: 8px;" bgcolor="#A99EA6">
                                                    <input type="submit" name="cmdadd" value="Add" id="cmdadd" class="btn" style="width:74px;" />
                                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <input type="submit" name="cmdedit" value="Edit" id="cmdedit" class="btn" style="width:70px;" />
                                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <input type="submit" name="cmdsave" value="Save" id="cmdsave" class="btn" style="width:69px;" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" align="left" style="padding: 8px;">
                                                    <table cellpadding="5" cellspacing="0" style="width: 80%;" bgcolor="#FFE1C4" 
                                                        align="left" border="1">
                                                        <tr>
                                                            <td class="st11 td4" align="left" valign="top">
                                                                 Name
                                                            </td>
                                                            <td class="st11 td4" align="left" valign="top">
                                                                <input name="txtcname" type="text" value="" id="txtcname" style="width:211px;" />
                                                                &nbsp;
                                                            </td>
                                                            <td class="st11 td4" align="left" valign="top">
                                                                Logo
                                                            </td>
                                                            <td class="st11 td4" align="left">
                                                                <img id="imglogo" src="images/spacer.gif" style="border-color:Maroon;border-width:2px;border-style:Solid;height:62px;width:74px;" /><br />
                                                                <input type="file" name="uploadlogo" id="uploadlogo" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="st11 td4" align="left">
                                                                Address
                                                            </td>
                                                            <td class="st11 td4" align="left" colspan="3">
                                                                <textarea name="txtcadd" rows="2" cols="20" id="txtcadd" style="width:537px;"></textarea>
                                                                &nbsp;
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="st11 td4" align="left">
                                                                 Tel
                                                            </td>
                                                            <td class="st11 td4" align="left">
                                                                <input name="txtctel" type="text" value="12345" id="txtctel" style="height:22px;width:208px;" />
                                                            </td>
                                                            <td class="st11 td4" align="left">
                                                                 Email
                                                            </td>
                                                            <td class="st11 td4" align="left">
                                                                <input name="txtcemail" type="text" autocomplete="off" value="" id="txtcemail" style="height:22px;width:208px;" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="st11 td4" align="left" colspan="4">
                                                                Coordination Email &nbsp;
                                                                <input name="txtccemail" type="text" autocomplete="off" value="" id="txtccemail" style="height:22px;width:400px;" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" align="left" style="padding: 8px;">
                                                    <div id="Panel1">
	
                                                    
</div>
                                                </td>
                                            </tr>
                                        </table>
                               
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3">
                            <table width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td bgcolor="#4D9AD0" align="right" class="txtBottom">
                                        
<p style="vertical-align:middle; text-align: center;"><span id="t1_lblfooter">Copyright &copy 2011.<a href='#'>Privacy Policy</a> | <a href='#'>Terms of Use</a></span></p>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td align="Right">
                &nbsp;
            </td>
        </tr>
    </table>
    </form>
</body>
</html>

As far as I can see, the difference in the “design view” and “browser view” in your screen-shots is that the design view is only using the embedded styles, whereas the browser is adding the styles in the a.css style-sheet. Neither layout seems to alter when the browser is resized.

You need to include a doctype at the start of your page, as not doing so can cause odd rendering problems.

You should also run your pages through the W3C HTML validator, which will help you pick up odd errors and typos. For example, near the end of your HTML page, you have


            <td align="Right">
   

which should be align=“right”.

You need to do the same for your CSS, using the CSS validator. There are several places where you have things like

padding: 3;

which will not be understood; you need to add a unit e.g. 3px, 3em, 3%. Only a value of 0 can be written without units.

Tidy up your code, and let us know if that solves your problems.

As far as I can see, the difference in the “design view” and “browser view” in your screen-shots is that the design view is only using the embedded styles, whereas the browser is adding the styles in the a.css style-sheet. Neither layout seems to alter when the browser is resized.

no cleared
is displaed correcl iproperl in1024 resoluion
bu in 1366 same code does no displa prople as in screensho?

Did you fix any of your code?

Design view is worthless. It’s not a browser. It’s fake. Never look at it. Always only ever look in a real browser.

You can also try using browsershots.org it will give you a detailed view on various browsers. That might help you fix them accordingly.