spdwrench Posted October 23, 2007 Share Posted October 23, 2007 I have been using html for a while.. but I did not write the code that my site runs on I only modify it... I noticed on my page the table width is set to 100% and it only fills 3/4 of my browsers width... it seems most other sites autosize to fit the browser window... can anyone tell me how this is accomplished and why my site is set to only fill 3/4 of the pages width? any ideas or help on this greatly appreciated.. thanks Paul you can check the page at http://abmatch.com Quote Link to comment Share on other sites More sharing options...
dewey_witt Posted October 23, 2007 Share Posted October 23, 2007 Well I would have to see the code itself. It liiks as if the page is framed by a sliced picture. this could be the problem. Look in the Images file and see if you have something titled "background.gif or jpg or something w/o the code I can't help. Quote Link to comment Share on other sites More sharing options...
spdwrench Posted October 23, 2007 Author Share Posted October 23, 2007 here is the code if you could help... how can I keep all the page the same just stretch it to fit the browser window?? <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td><a href="index.php?page=index"><img alt="Abmatch Logo" src="images/en/logo.gif" border="0" hspace="15"></a></td> <td><table cellspacing="2" cellpadding="2"><tr><td>{LANG_BAR}</td></tr></table> </td> </tr> <tr> <td colspan="3"> <br> <a href="index.php?page=index"><img alt="home button" src="images/en/menu_home.gif" width="96" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=register"><img alt="register button" src="images/en/menu_register.gif" width="123" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=sign_in"><img alt="login button" src="images/en/menu_login.gif" width="128" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=search"><img alt="search button" src="images/en/menu_search.gif" width="120" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=browse"><img alt="browse button" src="images/en/menu_browse.gif" width="101" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=faq"><img alt="faq button" src="images/en/menu_faq.gif" width="71" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=contact_admin"><img alt="contact button" src="images/en/menu_contact.gif" width="125" height="25" border="0"></a></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="770"> <tr valign="top"> <!--free dating --> <td width="513" > <!-- <table border="0" bgcolor="#33CCFF" cellpadding="2" cellspacing="0" width="100%">--> <TABLE border=0 bgcolor="#0FAFFC"> <TR> <td> <a href="index.php?page=view_profile&id=7292" target="_blank"><img alt="free dating member" src="photos/008663_1_thumb.jpg?1191017740" width="69" height="100" border="0"></a> <a href="index.php?page=view_profile&id=14477" target="_blank"><img alt="free dating member" src="photos/017504_1_thumb.jpg?1191016657" width="75" height="100" border="0"></a> <a href="index.php?page=view_profile&id=13080" target="_blank"><img alt="free dating member" src="photos/015835_1_thumb.jpg?1189297153" width="61" height="100" border="0"></a> <a href="index.php?page=view_profile&id=8321" target="_blank"><img alt="free dating member" src="photos/009892_1_thumb.jpg?1189283694" width="62" height="100" border="0"></a> <a href="index.php?page=view_profile&id=12036" target="_blank"><img alt="free dating member" src="photos/014496_1_thumb.jpg?1191018377" width="77" height="100" border="0"></a> <a href="index.php?page=view_profile&id=9903" target="_blank"><img alt="free dating member" src="photos/011855_1_thumb.jpg?1189283694" width="78" height="100" border="0"></a> <a href="index.php?page=view_profile&id=12734" target="_blank"><img alt="free dating member" src="photos/015411_1_thumb.jpg?1191018234" width="64" height="100" border="0"></a> <a href="index.php?page=view_profile&id=7614" target="_blank"><img alt="free dating member" src="photos/009042_1_thumb.jpg?1189296778" width="82" height="100" border="0"></a> <a href="index.php?page=view_profile&id=8832" target="_blank"><img alt="free dating member" src="photos/010534_1_thumb.jpg?1189296909" width="96" height="100" border="0"></a> <a href="index.php?page=view_profile&id=13465" target="_blank"><img alt="free dating member" src="photos/016310_1_thumb.jpg?1191016657" width="75" height="100" border="0"></a> <a href="index.php?page=view_profile&id=8550" target="_blank"><img alt="free dating member" src="photos/010178_1_thumb.jpg?1191017417" width="72" height="100" border="0"></a> <a href="index.php?page=view_profile&id=14324" target="_blank"><img alt="free dating member" src="photos/017332_1_thumb.jpg?1193090166" width="75" height="100" border="0"></a> <a href="index.php?page=view_profile&id=15116" target="_blank"><img alt="free dating profile" src="photos/018266_1_thumb.jpg?1193090415" width="83" height="100" border="0"></a> </td> </TR> </table> <table width="100%" border="0" cellspacing="6" cellpadding="0"> <tr> <td colspan="3" style="padding:15px;background-image:url(images/woman_bg.jpg);background-repeat:no-repeat;"> <div class="headline"><font size=2><font color="0066CC"> Abmatch free dating online dating site never a charge. Chat. Forums. No charge.</font> </font></div> <div class="subject"> <div style="text-align: center;"> <p><font size=4><font color="0066CC">Abmatch is always free never a charge.</font></font></p></div> <p><font color="0066CC" size="4">Abmatch free dating site blocks scammers and spammers.</font></p> <div style="text-align: center;"> <p> <strong><font color="0066CC"><font size="3">Abmatch is for singles who are serious about finding someone. </font></font></strong></p> <p><strong><font color="0066CC"><font size="3">Search for your match and contact someone today. <br> <br> Click Register to start contacting members now. <br> </font></font></strong></p> <table width="100%" border="5" bordercolor="#0FAFFC"" bgcolor="#0FAFFC" cellspacing="0" cellpadding="0"> <tr> <td class="mn" align="center"> <div style="text-align: center;"><br> <a href="index.php?page=register"><font size=4>Register</font></a> | <a href="index.php?page=register"><font size=4>2 Minute Sign Up</font></a> | <!-- <a href="phpBB3"><font size=3>New Forum</a> | --> <a href="/import" target="_blank"><font size=4>Invite Friends</font></a> </div><br></td></tr></table> <p><strong><font color="0066CC"><font size="3"><br> Free to email. Free to chat. Free matchmaking. </font></font></strong></p> <p><strong><font color="0066CC"><font size="3">Free forums. Free instant messenger. Everything on the site is always totally free there is never a charge.<br> <br> No charge ever. Totally free dating. Put away your checkbook. Put away your credit card.</font></font></strong></p> <p><strong><font color="0066CC"><font size="3">No credit card needed. Free dating at ABmatch.com online dating site.<br> <br> Because finding that special someone is priceless. <br> <br> Abmatch has Chat rooms. Forums. Instant messenger. Matchfinder and more. </font></font></strong></p> <p><strong><font color="0066CC"><font size="3">Compare our free site to the major sites like match. yahoo personals. eharmony. american singles. plentyoffish. <br> <br> Online dating for caring single people with no charge to anyone.<br> <br> Free matchfinder . Instant messenger. Chat rooms Totally free dating with ABmatch.com .</font></font></strong></p> <p><strong><font color="0066CC"><font size="3"> Free to email and instant message. Features compare with Match.com and it's all totally free! <br> <br> Simply the best free dating site. Find happiness now. Meet new, available singles!<br> <br> <br> Abmatch.Com is always free never a charge. No credit card needed. </font></font></strong></p> </div> </td> </tr> </table> <table width="100%" border="5" bordercolor="#0FAFFC"" bgcolor="#0FAFFC" cellspacing="0" cellpadding="0"> <tr> <td class="mn" align="center"> <div style="text-align: center;"><br> <a href="index.php?page=register"><font size=2>Register</font></a> | <a href="index.php?page=register"><font size=2>2 Minute Sign Up</font></a> | <a href="phpBB3"><font size=2>Forum</a> | <a href="links.html"><font size=2>Links</font></a> | <a href="/import" target="_blank"><font size=2>Invite Friends</font></a> <br><br><font color="0066CC" size="4"> Abmatch </font> <a href="index.php?page=register"><font size=3>Free Dating</a> | <font color="0066CC" size="4"> Abmatch </font><a href="index.php?page=register"><font size=3>Free Dating</font></a> </div><br></td></tr></table> </td> <!--free dating at abmatch forums chat rooms --> <td width="257" class="trs"> <table border="0" cellpadding="2" cellspacing="0" width="230" align="center"> <form action="index.php?page=search&search_type=quick_search&action=process_search" method=post> <tr> <td colspan="2" style="padding-top:10px;"><div class="headline_w">Quick Search</div></td> </tr> <tr> <td width="100" class="w">I am a</td> <td width="130">{QUICK_SEARCH_GENDER}</td> </tr> <tr> <td class="w">seeking a</td> <td>{QUICK_SEARCH_LOOKING_FOR}</td> </tr> <tr> <td class="w">between ages</td> <td>{QUICK_SEARCH_AGE_FROM}</td> </tr> <tr> <td class="w">and</td> <td>{QUICK_SEARCH_AGE_TO}</td> </tr> <tr> <td class="w">Located within</td> <td> <select name="search_radius"> <option value="5">5 miles of</option> <option value="10">10 miles of</option> <option value="25">25 miles of</option> <option value="50">50 miles of</option> <option value="100">100 miles of</option> <option value="250">250 miles of</option> <option value="500">500 miles of</option> <option value="50000" selected>500+ miles of</option> </select> </td> </tr> <tr> <td class="w">Zip/Postal Code</td> <td> <input type="Text" name="search_zipcode" size="15"> </td> </tr> <tr> <td class="w">Photos only</td> <td><input type="Checkbox" name="search_piconly"></td> </tr> <tr> <td> </td> <td><input name="imageField" type="image" src="images/en/button_search.gif" width="55" height="20" alt="Search" border="0"></td> </tr> </form> </table> <br> <br><br> <div style="text-align: center;"> <a href="index.php?page=register"><font size=5>Sign Up Now</font></a></div> <div style="text-align: center;"> <a href="index.php?page=register"><font size=5>Only 2 Minutes</font></a></div><br><br> <br><br><div style="text-align: center;"> <br><br> <div style="text-align: center;"> <a href="index.php?page=register"><font size=5>Sign Up Now</font></a></div> <div style="text-align: center;"> <a href="index.php?page=register"><font size=5>Only 2 Minutes</font></a></div><br><br> <h1><font color="33CCFF"><font size=4> Free Dating No Charge</font></font></h1> <h2><font color="33CCFF"><font size=4> Online Dating Free Dating</font></font></h2> </td> </tr> </table><!--Added--> <table border="0" cellpadding="0" cellspacing="0" width="770"> <td colspan="6" align="right" class="trs" height="20"> <div class="w">Abmatch.Com Free Online Dating Site Never A Charge Free Dating. Data Center Austin, TX. Administrative Office Hartford,Ct </div> <br> </td> </tr> </table> </body> </html> Quote Link to comment Share on other sites More sharing options...
AndyB Posted October 23, 2007 Share Posted October 23, 2007 <table border="0" cellpadding="0" cellspacing="0" width="770"> Right in the code, that limits the width. Quote Link to comment Share on other sites More sharing options...
spdwrench Posted October 23, 2007 Author Share Posted October 23, 2007 I changed that width to 100% percent and it still stays the same... so I changed it back Quote Link to comment Share on other sites More sharing options...
spdwrench Posted October 23, 2007 Author Share Posted October 23, 2007 ok I got it to center the tables in the full browser window... but only works in internet explorer and not firefox... in firefox the top logo and buttons are centered but the lower tables do not center in the window... does anyone know why??? here is the altered code... <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <div style="text-align: center;"> <a href="index.php?page=index"><img alt="Abmatch Logo" src="images/en/logo.gif" border="0" hspace="15"></a></div></td> <td><table cellspacing="2" cellpadding="2"><tr><td>{LANG_BAR}</td></tr></table> </td> </tr> <tr> <td colspan="3"> <br> <div style="text-align: center;"> <a href="index.php?page=index"><img alt="home button" src="images/en/menu_home.gif" width="96" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=register"><img alt="register button" src="images/en/menu_register.gif" width="123" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=sign_in"><img alt="login button" src="images/en/menu_login.gif" width="128" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=search"><img alt="search button" src="images/en/menu_search.gif" width="120" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=browse"><img alt="browse button" src="images/en/menu_browse.gif" width="101" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=faq"><img alt="faq button" src="images/en/menu_faq.gif" width="71" height="25" border="0"></a><img alt="line" src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=contact_admin"><img alt="contact button" src="images/en/menu_contact.gif" width="125" height="25" border="0"></a></div></td> </tr> </table> <div style="text-align: center;"> <table border="0" cellpadding="0" cellspacing="0" width="770"> <tr valign="top"> <!--free dating --> <td width="100%" > <!-- <table border="0" bgcolor="#33CCFF" cellpadding="2" cellspacing="0" width="100%">--> <TABLE border=0 bgcolor="#0FAFFC"> <TR> <td> <a href="index.php?page=view_profile&id=7292" target="_blank"><img alt="free dating member" src="photos/008663_1_thumb.jpg?1191017740" width="69" height="100" border="0"></a> <a href="index.php?page=view_profile&id=14477" target="_blank"><img alt="free dating member" src="photos/017504_1_thumb.jpg?1191016657" width="75" height="100" border="0"></a> <a href="index.php?page=view_profile&id=13080" target="_blank"><img alt="free dating member" src="photos/015835_1_thumb.jpg?1189297153" width="61" height="100" border="0"></a> <a href="index.php?page=view_profile&id=8321" target="_blank"><img alt="free dating member" src="photos/009892_1_thumb.jpg?1189283694" width="62" height="100" border="0"></a> <a href="index.php?page=view_profile&id=12036" target="_blank"><img alt="free dating member" src="photos/014496_1_thumb.jpg?1191018377" width="77" height="100" border="0"></a> <a href="index.php?page=view_profile&id=9903" target="_blank"><img alt="free dating member" src="photos/011855_1_thumb.jpg?1189283694" width="78" height="100" border="0"></a> <a href="index.php?page=view_profile&id=12734" target="_blank"><img alt="free dating member" src="photos/015411_1_thumb.jpg?1191018234" width="64" height="100" border="0"></a> <a href="index.php?page=view_profile&id=7614" target="_blank"><img alt="free dating member" src="photos/009042_1_thumb.jpg?1189296778" width="82" height="100" border="0"></a> <a href="index.php?page=view_profile&id=8832" target="_blank"><img alt="free dating member" src="photos/010534_1_thumb.jpg?1189296909" width="96" height="100" border="0"></a> <a href="index.php?page=view_profile&id=13465" target="_blank"><img alt="free dating member" src="photos/016310_1_thumb.jpg?1191016657" width="75" height="100" border="0"></a> <a href="index.php?page=view_profile&id=8550" target="_blank"><img alt="free dating member" src="photos/010178_1_thumb.jpg?1191017417" width="72" height="100" border="0"></a> <a href="index.php?page=view_profile&id=14324" target="_blank"><img alt="free dating member" src="photos/017332_1_thumb.jpg?1193090166" width="75" height="100" border="0"></a> <a href="index.php?page=view_profile&id=15116" target="_blank"><img alt="free dating profile" src="photos/018266_1_thumb.jpg?1193090415" width="83" height="100" border="0"></a> </td> </TR> </table> <table width="100%" border="0" cellspacing="6" cellpadding="0"> <tr> <td colspan="3" style="padding:15px;background-image:url(images/woman_bg.jpg);background-repeat:no-repeat;"> <div class="headline"><font size=2><font color="0066CC"> Abmatch free dating online dating site never a charge. Chat. Forums. No charge.</font> </font></div> <div class="subject"> <div style="text-align: center;"> <p><font size=4><font color="0066CC">Abmatch is always free never a charge.</font></font></p></div> <p><font color="0066CC" size="4">Abmatch free dating site blocks scammers and spammers.</font></p> <div style="text-align: center;"> <p> <strong><font color="0066CC"><font size="3">Abmatch is for singles who are serious about finding someone. </font></font></strong></p> <p><strong><font color="0066CC"><font size="3">Search for your match and contact someone today. <br> <br> Click Register to start contacting members now. <br> </font></font></strong></p> <table width="100%" border="5" bordercolor="#0FAFFC"" bgcolor="#0FAFFC" cellspacing="0" cellpadding="0"> <tr> <td class="mn" align="center"> <div style="text-align: center;"><br> <a href="index.php?page=register"><font size=4>Register</font></a> | <a href="index.php?page=register"><font size=4>2 Minute Sign Up</font></a> | <!-- <a href="phpBB3"><font size=3>New Forum</a> | --> <a href="/import" target="_blank"><font size=4>Invite Friends</font></a> </div><br></td></tr></table> <p><strong><font color="0066CC"><font size="3"><br> Free to email. Free to chat. Free matchmaking. </font></font></strong></p> <p><strong><font color="0066CC"><font size="3">Free forums. Free instant messenger. Everything on the site is always totally free there is never a charge.<br> <br> No charge ever. Totally free dating. Put away your checkbook. Put away your credit card.</font></font></strong></p> <p><strong><font color="0066CC"><font size="3">No credit card needed. Free dating at ABmatch.com online dating site.<br> <br> Because finding that special someone is priceless. <br> <br> Abmatch has Chat rooms. Forums. Instant messenger. Matchfinder and more. </font></font></strong></p> <p><strong><font color="0066CC"><font size="3">Compare our free site to the major sites like match. yahoo personals. eharmony. american singles. plentyoffish. <br> <br> Online dating for caring single people with no charge to anyone.<br> <br> Free matchfinder . Instant messenger. Chat rooms Totally free dating with ABmatch.com .</font></font></strong></p> <p><strong><font color="0066CC"><font size="3"> Free to email and instant message. Features compare with Match.com and it's all totally free! <br> <br> Simply the best free dating site. Find happiness now. Meet new, available singles!<br> <br> <br> Abmatch.Com is always free never a charge. No credit card needed. </font></font></strong></p> </div> </td> </tr> </table> <table width="100%" border="5" bordercolor="#0FAFFC"" bgcolor="#0FAFFC" cellspacing="0" cellpadding="0"> <tr> <td class="mn" align="center"> <div style="text-align: center;"><br> <a href="index.php?page=register"><font size=2>Register</font></a> | <a href="index.php?page=register"><font size=2>2 Minute Sign Up</font></a> | <a href="phpBB3"><font size=2>Forum</a> | <a href="links.html"><font size=2>Links</font></a> | <a href="/import" target="_blank"><font size=2>Invite Friends</font></a> <br><br><font color="0066CC" size="4"> Abmatch </font> <a href="index.php?page=register"><font size=3>Free Dating</a> | <font color="0066CC" size="4"> Abmatch </font><a href="index.php?page=register"><font size=3>Free Dating</font></a> </div><br></td></tr></table> </td> <!--free dating at abmatch forums chat rooms --> <td width="257" class="trs"> <table border="0" cellpadding="2" cellspacing="0" width="230" align="center"> <form action="index.php?page=search&search_type=quick_search&action=process_search" method=post> <tr> <td colspan="2" style="padding-top:10px;"><div class="headline_w">Quick Search</div></td> </tr> <tr> <td width="100" class="w">I am a</td> <td width="130">{QUICK_SEARCH_GENDER}</td> </tr> <tr> <td class="w">seeking a</td> <td>{QUICK_SEARCH_LOOKING_FOR}</td> </tr> <tr> <td class="w">between ages</td> <td>{QUICK_SEARCH_AGE_FROM}</td> </tr> <tr> <td class="w">and</td> <td>{QUICK_SEARCH_AGE_TO}</td> </tr> <tr> <td class="w">Located within</td> <td> <select name="search_radius"> <option value="5">5 miles of</option> <option value="10">10 miles of</option> <option value="25">25 miles of</option> <option value="50">50 miles of</option> <option value="100">100 miles of</option> <option value="250">250 miles of</option> <option value="500">500 miles of</option> <option value="50000" selected>500+ miles of</option> </select> </td> </tr> <tr> <td class="w">Zip/Postal Code</td> <td> <input type="Text" name="search_zipcode" size="15"> </td> </tr> <tr> <td class="w">Photos only</td> <td><input type="Checkbox" name="search_piconly"></td> </tr> <tr> <td> </td> <td><input name="imageField" type="image" src="images/en/button_search.gif" width="55" height="20" alt="Search" border="0"></td> </tr> </form> </table> <br> <br><br> <div style="text-align: center;"> <a href="index.php?page=register"><font size=5>Sign Up Now</font></a></div> <div style="text-align: center;"> <a href="index.php?page=register"><font size=5>Only 2 Minutes</font></a></div><br><br> <br><br><div style="text-align: center;"> </div><br><br> <div style="text-align: center;"> <a href="index.php?page=register"><font size=5>Sign Up Now</font></a></div> <div style="text-align: center;"> <a href="index.php?page=register"><font size=5>Only 2 Minutes</font></a></div><br><br> <h1><font color="33CCFF"><font size=4> Free Dating No Charge</font></font></h1> <h2><font color="33CCFF"><font size=4> Online Dating Free Dating</font></font></h2> </td> </tr> </table><!--Added--> <table border="0" cellpadding="0" cellspacing="0" width="770"> <td colspan="6" align="right" class="trs" height="20"> <div class="w">Abmatch.Com Free Online Dating Site Never A Charge Free Dating. Data Center Austin, TX. Administrative Office Hartford,Ct </div> <br> </td> </tr> </table></div> </body> </html> Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted October 23, 2007 Share Posted October 23, 2007 I changed it to 100% and it worked fine in FF. I changed that width to 100% percent and it still stays the same... so I changed it back You did reload the page, right? Quote Link to comment Share on other sites More sharing options...
spdwrench Posted October 23, 2007 Author Share Posted October 23, 2007 could you check how it looks in internet explorer I used <div style="text-align: center;"> <table border="0" cellpadding="0" cellspacing="0" width="770"> ..... </div> and it centers the 770 width tables in the midle of the whole screen if I change that to 100 it works in firefox but stretches out my page I need the table to remain 770 and to get centered in 100 percent of the browser... the <div style="text-align: center;"> accolplished centering the table to the midle of the browser... but it wont in firefox can I created another table that will center the 770 width table to the midle of the screen? thanks for your help Paul Quote Link to comment Share on other sites More sharing options...
spdwrench Posted October 23, 2007 Author Share Posted October 23, 2007 I got it to work adding align="center" into the table is this method recomended? also I do not have a doc type how do I know what doc type I should be using... I was also trying to validate my code... Paul Quote Link to comment Share on other sites More sharing options...
dewey_witt Posted November 10, 2007 Share Posted November 10, 2007 yeah thats a good method. Or you could just use a global body width in CSS. But then again you'd have no background. ehe it looks good tho. if it works and looks/feels the way you want it.(or your client w/e) Its right. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.