how remove space at top of hmtl page |
how remove space at top of hmtl page |
21stinc |
Apr 23 2011, 09:25 PM
Post
#1
|
Group: Members Posts: 3 Joined: 23-April 11 Member No.: 14,396 |
below is the code, how do I remove the space between the header image and the top of the page? I don't want so much white space there.
Thanks, Dan <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Think Local Mobile</title> <style type="text/css"> body { background-color: #FFF; text-align: center; font-size: 18px; color: #FFF; font-family: Tahoma, Geneva, sans-serif; } .header1 { font-size: 24px; color: #000; } .body_text { font-size: 16px; color: #666; text-align: center; } .emphasis1 { font-style: italic; font-size: 18px; font-weight: bold; } .header2 { font-size: 24px; color: #000; } .emphasis2 { font-weight: bold; font-size: 18px; font-style: italic; } .contact_info { text-align: center; font-size: 16px; color: #00C; } .body_text_emphasis1 { font-weight: bold; color: #000; } .footer_copy { font-size: 16px; } .footer_copy { font-weight: bold; } .footer_text { font-size: 14px; font-weight: bold; } a:link { color: #03C; } a:hover { color: #009; } a:active { color: #03C; } .gps_emphasis { color: #F30; font-size: 24px; font-weight: bold; } .gps_emphasis2 { color: #F00; font-style: italic; font-size: 18px; } .black_emph { color: #000; font-size: 18px; } .company_name { color: #F00; font-weight: bold; font-size: 18px; } a:visited { color: #09F; } body,td,th { color: #CCC; } </style> </head> <body> <p> </p> <table align="center" border="0" cellpadding="1" width="629"> <tbody> <tr> <td rowspan="4" class="contact_info" width="130"><br> </td> <td class="contact_info" height="24"><img style="width: 685px; height: 75px;" alt="Think Local Mobile" src="http://buybargainland.com/images/think.png"> </td> <td style="vertical-align: top;"><br> </td> </tr> <tr> <td class="contact_info" height="33" width="489"><span class="black_emph">Report for:</span> <span class="company_name">##companyname##</span></td> <td style="vertical-align: top;"><br> </td> </tr> <tr> <td class="contact_info" height="26">##address##</td> <td style="vertical-align: top;"><br> </td> </tr> <tr> <td class="contact_info" height="27">##phone## | ##domain##</td> <td style="vertical-align: top;"><br> </td> </tr> </tbody> </table> _____________________________________________________________________________ <p class="gps_emphasis"><span class="header1">Overview Analysis: Where do you rank?</span></p> <p class="header1">Currently your Google Places ranking is<br> <span style="color: rgb(255, 0, 0);" class="gps_emphasis">###placesposition##</span><br> for the keyword term<br> <span style="color: rgb(255, 0, 0);" class="gps_emphasis">##keywords## </span></p> <table align="center" border="0" cellpadding="1" width="649"> <tbody> <tr> <td height="62" width="643"> <div align="center"><span class="body_text"><big style="font-weight: bold; color: rgb(255, 0, 0);"><big>We will get your Google Place Page <br> on the first page of Google in 60 days or less <br> <big><big>Guaranteed!*</big><br> <br> <object height="349" width="560"><param name="movie" value="http://www.youtube.com/v/uwmogO6Gxuk?fs=1&hl=en_US&rel=0"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/uwmogO6Gxuk?fs=1&hl=en_US&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="349" width="560"></object><br> </big> </big></big> </span></div> </td> </tr> <tr> <td height="81"> <div align="center"><span class="emphasis2"><span class="gps_emphasis2"><span style="color: rgb(0, 0, 0);"><br> <big>Consumers are turning online to search for the </big></span><big><br style="color: rgb(0, 0, 0);"> <span style="color: rgb(0, 0, 0);">goods/services your business offers</span><br> <br> <big>So Here's The Big Question</big></big> <br> </span></span></div> </td> </tr> <tr> <td height="112"> <div align="center"><span class="header1"><span class="body_text"><big><big style="font-weight: bold;"><span style="color: rgb(0, 0, 0);">Are you showing up on the front page of Google <br> for the </span><span style="color: rgb(0, 0, 0);">relevant keywords/keyword phrases <br> in your industry?<br> </span></big></big> </span></span></div> </td> </tr> <tr> <td> <big style="font-weight: bold;"><span style="color: rgb(0, 0, 0);">Contact Us Today at (800) 758-3054 <br> To Set Up A <span style="color: rgb(255, 0, 0);">FREE</span> Online Marketing Consultation.<br> <br> </span></big> </td> </tr> <tr> <td height="63"> <div align="center"><span class="body_text_emphasis1">Is your Google Place page owner-verified? <big style="color: rgb(255, 0, 0);"><br> ##ownerverified##</big></span><span class="body_text"><big style="color: rgb(255, 0, 0);"><span style="font-weight: bold;"></span><span class="gps_emphasis"><span class="gps_emphasis"></span></span></big><br> <span style="color: rgb(0, 0, 0);">If not, you need to get your listing verified as soon as possible.</span><br> <br> </span></div> </td> </tr> <tr> <td> <div align="center"><span class="body_text"><span class="body_text_emphasis1">Your Google Places Listing title is:</span><br> <span class="gps_emphasis"><span style="color: rgb(255, 0, 0);">##placestitle## </span><br> </span></span><span class="gps_emphasis"><span class="gps_emphasis"></span></span></div> </td> </tr> <tr> <td height="59"> <div align="center"><span class="body_text"><span style="color: rgb(0, 0, 0);">Your Places title has a lot to do with how well your listing will rank with Google so it's important to use a title that is well researched to gain more visability and rank higher.</span><br style="color: rgb(0, 0, 0);"> <br> </span></div> </td> </tr> <tr> <td> <div align="center"><span class="body_text"><span class="body_text_emphasis1">The categories displayed in your Google Places listing are:</span><br> </span><span class="gps_emphasis"><span style="color: rgb(255, 0, 0);">##categories##</span><br> </span></div> </td> </tr> <tr> <td> <div align="center"><span class="body_text"><span style="color: rgb(0, 0, 0);">This may not be the best categories to attract targeted traffic to your listing, and can even effect how well your listing does ranks. If you see this, #categories#, it means that no categories have been chosen and it is actually hurting your listing and it's ranking power.</span><br style="color: rgb(0, 0, 0);"> <br> </span></div> </td> </tr> <tr> <td height="92"> <div class="gps_emphasis" align="center"><span class="header1"><span style="color: rgb(255, 0, 0);">We will only work with 2 businesses </span><br style="color: rgb(255, 0, 0);"> <span style="color: rgb(255, 0, 0);">in a particular niche & area.</span><br> <br> Don't let your competition get the customers <br> that could increase your bottom line.<br> </span></div> </td> </tr> <tr> <td> <br> </td> </tr> <tr> <td> <big style="font-weight: bold;"><span style="color: rgb(0, 0, 0);">Contact Us Today at (800) 758-3054 <br> To Set Up A <span style="color: rgb(255, 0, 0);">FREE</span> Online Marketing Consultation.</span></big><br> </td> </tr> </tbody> </table> <p class="body_text"><span class="footer_text"> 21st Century Marketing Inc | All rights reserved </span></p> </body> </html> |
Darin McGrew |
Apr 23 2011, 10:47 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry How do I eliminate the margins around my page?
|
21stinc |
Apr 24 2011, 07:04 AM
Post
#3
|
Group: Members Posts: 3 Joined: 23-April 11 Member No.: 14,396 |
I have looked at the code, there is nowhere where the word "margin" is in it to adjust. What do I do? |
Frederiek |
Apr 24 2011, 09:19 AM
Post
#4
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Yes there is. It sets all margins to 0 (zero), both with the old way as with a CSS style.
You could also use a reset css like the one from Eric Meyer: http://meyerweb.com/eric/tools/css/reset/ . And your body starts with an empty P tag: <p> </p>. |
21stinc |
Apr 24 2011, 02:59 PM
Post
#5
|
Group: Members Posts: 3 Joined: 23-April 11 Member No.: 14,396 |
Yes there is. It sets all margins to 0 (zero), both with the old way as with a CSS style. You could also use a reset css like the one from Eric Meyer: http://meyerweb.com/eric/tools/css/reset/ . And your body starts with an empty P tag: <p> </p>. thanks, taking out <p> </p> fixed it. |
Lo-Fi Version | Time is now: 5th May 2024 - 03:19 PM |