Re-sizing window screws up my website

Discussion in 'HTML & JavaScript' started by danielgm55, Oct 11, 2011.

  1. danielgm55

    danielgm55 Regular Member

    Apr 3, 2011
    Likes Received:
    Inside your computer
    Hello..I am new to website building and Dreamweaver. Whenever I resize my browser website gets screwed up. I use Photoshop to build my template..sliced the clickable buttons (twitter..facebook..Youtube) out at the bottom of the page. Saved it for web..and uploaded it into dreamweaver and this is the code that it produced. I manually added the <div align="center"> to center the website. Other than that i manually added the iframe youtube codes...the twitter and facebook widget in the upper right corner and the Ads just below the widgets (i tried to change the font color of the things that i manually added within this thread..but it didn't work well for me...user error i'm sure). Anyway If anyone can help..Plz..

    Also I know that my search box in not working....i'm still working on it

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    [COLOR="Red"]<meta name="KEYWORDS" content="heavy rotation hip hop, rap, worldstar hip hop, hip hop song, rap songs, hip hop tracks, hip hop songs, hip hop new, hip hop world, world hip hop, world of hip hop, hip hop world star, star hip hop, hip hop star, hip hop worldstar, world hip hop star, 2010 hip hop, hiphop unsigned artist new hip hop r&b latest hip hop news world empire hip hop all hip hop youtube hip hop" /><meta[/COLOR]
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    [COLOR="red"]<div align="center">[/COLOR]
    [COLOR="red"]<iframe style="position:absolute; TOP:319px; LEFT:160px;" width="613" height="263" src="" frameborder="0" allowfullscreen></iframe>
    <iframe style="position:absolute; TOP:709px; LEFT:159px;" width="293" height="260" src="" frameborder="0" allowfullscreen></iframe>
    <iframe style="position:absolute; TOP:709px; LEFT:479px; height: 260px; width: 292px;" width="295" height="258" src="" frameborder="0" allowfullscreen></iframe>
    <iframe style="position:absolute; TOP:708px; LEFT:794px; width: 288px; height: 260px;" width="293" height="258" src="" frameborder="0" allowfullscreen></iframe>
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=""  WIDTH="293px" HEIGHT="187px" align="right" id="Player_bf0e0c95-237b-45aa-826c-1e578fe32607" style="position: absolute; top: 300px; left: 793;"> <PARAM NAME="movie" VALUE=""><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="" id="Player_bf0e0c95-237b-45aa-826c-1e578fe32607" quality="high" bgcolor="#ffffff" name="Player_bf0e0c95-237b-45aa-826c-1e578fe32607" allowscriptaccess="always"  type="application/x-shockwave-flash" align="right" height="187px" width="293px"></embed></OBJECT> <NOSCRIPT><A HREF=""> Widgets</A></NOSCRIPT>
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=""  WIDTH="293px" HEIGHT="191px" align="right" id="Player_db44f982-780d-464c-ad1a-4dc1ed4045cc" style="position: absolute; top: 502px; left: 795;"> <PARAM NAME="movie" VALUE=""><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="" id="Player_db44f982-780d-464c-ad1a-4dc1ed4045cc" quality="high" bgcolor="#ffffff" name="Player_db44f982-780d-464c-ad1a-4dc1ed4045cc" allowscriptaccess="always"  type="application/x-shockwave-flash" align="right" height="191px" width="293px"></embed></OBJECT> <NOSCRIPT><A HREF=""> Widgets</A></NOSCRIPT>
    <div style="position:absolute; TOP:308px; LEFT:800px; id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) {return;}
      js = d.createElement(s); = id;
      js.src = "//";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div style="position:absolute; TOP:240px; LEFT:795px;" class="fb-like" data-href="" data-send="false" data-layout="button_count" data-width="200" data-height="150" data-show-faces="false"></div>
    <iframe allowtransparency="true" frameborder="0" scrolling="no"
      style="position:absolute; TOP:267px; left:795; width:250px; height:20px;"></iframe>[/COLOR]
    <!-- Save for Web Slices (HR Sliced.psd) -->
    <table id="Table_01" width="1200" height="1099" border="0" cellpadding="0" cellspacing="0">
    		<td colspan="7">
    			<img src="" width="1200" height="980" alt=""></td>
    		<td rowspan="2">
    			<img src="" width="134" height="119" alt=""></td>
    			<a href="">
    				<img src="" width="186" height="74" border="0" alt="Subscribe"></a></td>
    		<td rowspan="2">
    			<img src="" width="40" height="119" alt=""></td>
    			<a href="">
    				<img src="" width="218" height="74" border="0" alt="Follow Us"></a></td>
    		<td rowspan="2">
    			<img src="" width="49" height="119" alt=""></td>
    			<a href="">
    				<img src="" width="200" height="74" border="0" alt="Like Us"></a></td>
    		<td rowspan="2">
    			<img src="" width="373" height="119" alt=""></td>
    			<img src="" width="186" height="45" alt=""></td>
    			<img src="" width="218" height="45" alt=""></td>
    			<img src="" width="200" height="45" alt=""></td>
    <!-- End Save for Web Slices -->
    Last edited: Oct 11, 2011
  2. EdgarFoX

    EdgarFoX Newbie

    Nov 18, 2011
    Likes Received:
    It's because your page is made of table.
    You divs and CSS to create "comfrotable" web pages.