Adsense breaks Frontpage

B

brendafrick

Hi All,

Hope someone can help. I have gone through and searched for this issue
but
don't think I have come across it. I am trying to place the Google
Adsense script into my webpage designed in FrontPage 2002 (running
WinXP Pro). Below is the code and also noted is where I would like to
place the script. At the very bottom is the actual script from
Google.
Please help and if possible I need to step by step instrutions as I
am
really new to alot of this. Thanks for your help.


<html>


<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Welcome</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="network 011, default">
</head>


<body><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="150" colspan="2" align="center">&nbsp;</td>
<td align="center">
<!--webbot bot="Navigation" s-type="banner" s-
rendering="graphics"
S-Orientation B-Include-Home B-Include-Up U-Page S-Target --></td>
</tr>
<tr>
<td width="100%" colspan="3" style="border-bottom-style: none;
border-bottom-width: medium"></td>
</tr>
</table><table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td style="border-bottom-style: solid; border-bottom-width: 1"
align="right">
<h4>Today's Date is:
<!--webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%m/%d/
%y" -->
</h4>
</td>
</tr>
</table><table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td valign="top" width="75" style="border-left-style:none;
border-
left-width:medium; border-right-style:solid; border-right-width:1;
border-top-style:none; border-top-width:medium; border-bottom-
style:none; border-bottom-width:medium">
<!--webbot bot="Navigation" S-Orientation="vertical" S-
Rendering="graphics" S-Type="children" B-Include-Home="TRUE" B-
Include-
Up="FALSE" -->


<td valign="top" width="5" style="border-right-style:none;
border-
right-width:medium; border-top-style:none; border-top-width:medium;
border-bottom-style:none; border-bottom-width:medium"></td>
<td valign="top" width="100%" height="100%" style="border-right-
style:none; border-right-width:medium; border-top-style:none; border-
top-width:medium; border-bottom-style:none; border-bottom-
width:medium">


**** HERE IS WHERE I WOULD LIKE TO PLACE THE GOOGLE ADSENSE SCRIPT
****


<h3>Welcome to EgFinancial and the place to get fast quotes on
Life and
Health Insurance!</h3>
<p align="left">We are dedicated to helping families, individuals
and small
businesses find competitively priced life insurance and health
insurance
either for those who qualify for a normal plan or for those who
have special
circumstances.</p>
<h3 align="left">Our Mission</h3>
<p align="left">Our goal is to educate our clients about
investments,
insurance, retirement and contingency planning. Our mission is
to provide superior customer service to our clients through some
of the
industry's best products and the highest rated companies.</p>
<center>
<table border="0" width="100%" cellspacing="0" cellpadding="5"
height="325">
<tr>
<td width="50%" align="left" valign="top" style="border-left-
style:none; border-left-width:medium; border-right-style:none;
border-
right-width:medium; border-top-style:solid; border-top-width:1;
border-
bottom-style:none; border-bottom-width:medium" height="30">
<h3>Life Insurance</h3>
</td>
<td width="50%" align="left" valign="top" style="border-
right-
style:none; border-right-width:medium; border-top-style:solid;
border-
top-width:1; border-bottom-style:none; border-bottom-width:medium"
height="30">
<h3>Health Insurance</h3>
</td>
</tr>
<tr>
<td width="50%" align="left" valign="top" style="border-left-
style:none; border-left-width:medium; border-right-style:none;
border-
right-width:medium; border-top-style:none; border-top-width:medium"
height="178">
<p></p>
<table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td valign="top" width="100%">
<a href="http://www.gohealthinsurance.com/quotes/
life.jsp?
link_id=2137">
<img border="0" src="images/lfeins.jpg" width="303"
height="202"></a></td>
</tr>
</table>
<p></p>
</td>
<td width="50%" align="left" valign="top" style="border-
right-
style:none; border-right-width:medium; border-top-style:none; border-
top-width:medium" height="178">
<p>
<a href="http://www.gohealthinsurance.com/quotes/health.jsp?
link_id=2137">
<img border="0" src="images/hlthins.jpg" width="302"
height="203"></a></p>
</td>
</tr>
<tr>
<td width="50%" align="left" valign="top" style="border-left-
style:none; border-left-width:medium; border-right-style:none;
border-
right-width:medium; border-top-style:solid; border-top-width:1;
border-
bottom-style:none; border-bottom-width:medium" height="41">
<h3>Group Insurance</h3>
</td>
<td width="50%" align="left" valign="top" style="border-
right-
style:none; border-right-width:medium; border-top-style:solid;
border-
top-width:1; border-bottom-style:none; border-bottom-width:medium"
height="41">
<h3>Short Term Insurance</h3>
</td>
</tr>
<tr>
<td width="50%" align="left" valign="top" style="border-
style:none; border-width:medium; " height="36">
<a href="http://www.gohealthinsurance.com/quotes/group.jsp?
link_id=2137">
<img border="0" src="images/grpins.jpg" width="180"
height="267"></
a></td>
<td width="50%" align="left" valign="top" style="border-
right-
style:none; border-right-width:medium; border-top-style:none; border-
top-width:medium; border-bottom-style:none; border-bottom-
width:medium" height="36">&nbsp;<table border="0" cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td>
<a href="http://www.gohealthinsurance.com/quotes/short-
term.jsp?link_id=2137">
<img border="0" src="images/stins.jpg" width="295"
height="197"></a></td>
</tr>
</table></td>
</tr>
</table>
</center></td>
</tr>
</table>
<p align="center"><small>
<!--webbot bot="Navigation" S-Orientation="horizontal" S-
Rendering="html" S-Bar="Bars" S-Btn-Nml="&lt;A HREF=&quot;#URL#&quot;
TARGET=&quot;#TARGET#&quot; STYLE=&quot;text-decoration:
none;&quot;&gt;#LABEL#&lt;/A&gt;" S-Btn-Sel="#LABEL#" S-Btn-
Sep="&amp;nbsp;|&amp;nbsp;" S-Type="children" B-Include-Home="TRUE"
B-
Include-Up="FALSE" -->
</small></p>
<p><i><small>This site was last updated
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%m/%d/%y" --> </
small></i>
</p>


</body>


</html>


**** HERE IS THE GOOGLE ADSENSE SCRIPT ****


<script type="text/javascript"><!--
google_ad_client = "pub-1826991040751516";
//728x90, created 11/9/07
google_ad_slot = "8324140167";
google_ad_width = 728;
google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


Thank you again for your help.
Eric
 
S

Steve Easton

Move the Google adsense script and place it in the section of the page
where you want the add to appear like I did below:

--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm


Hi All,

Hope someone can help. I have gone through and searched for this issue
but
don't think I have come across it. I am trying to place the Google
Adsense script into my webpage designed in FrontPage 2002 (running
WinXP Pro). Below is the code and also noted is where I would like to
place the script. At the very bottom is the actual script from
Google.
Please help and if possible I need to step by step instrutions as I
am
really new to alot of this. Thanks for your help.


<html>


<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Welcome</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="network 011, default">
</head>


<body><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="150" colspan="2" align="center">&nbsp;</td>
<td align="center">
<!--webbot bot="Navigation" s-type="banner" s-
rendering="graphics"
S-Orientation B-Include-Home B-Include-Up U-Page S-Target --></td>
</tr>
<tr>
<td width="100%" colspan="3" style="border-bottom-style: none;
border-bottom-width: medium"></td>
</tr>
</table><table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td style="border-bottom-style: solid; border-bottom-width: 1"
align="right">
<h4>Today's Date is:
<!--webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%m/%d/
%y" -->
</h4>
</td>
</tr>
</table><table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td valign="top" width="75" style="border-left-style:none;
border-
left-width:medium; border-right-style:solid; border-right-width:1;
border-top-style:none; border-top-width:medium; border-bottom-
style:none; border-bottom-width:medium">
<!--webbot bot="Navigation" S-Orientation="vertical" S-
Rendering="graphics" S-Type="children" B-Include-Home="TRUE" B-
Include-
Up="FALSE" -->


<td valign="top" width="5" style="border-right-style:none;
border-
right-width:medium; border-top-style:none; border-top-width:medium;
border-bottom-style:none; border-bottom-width:medium"></td>
<td valign="top" width="100%" height="100%" style="border-right-
style:none; border-right-width:medium; border-top-style:none; border-
top-width:medium; border-bottom-style:none; border-bottom-
width:medium">


**** HERE IS WHERE I WOULD LIKE TO PLACE THE GOOGLE ADSENSE SCRIPT

**** HERE IS THE GOOGLE ADSENSE SCRIPT ****
<script type="text/javascript"><!--
google_ad_client = "pub-1826991040751516";
//728x90, created 11/9/07
google_ad_slot = "8324140167";
google_ad_width = 728;
google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 
B

brendafrick

Move the Google adsense script and place it in the section of the page
where you want the add to appear like I did below:

--

Steve Easton
Microsoft MVP FrontPage
FP Cleanerhttp://www.95isalive.com/fixes/fpclean.htm
Hit Me FPhttp://www.95isalive.com/fixes/HitMeFP.htm












**** HERE IS THE GOOGLE ADSENSE SCRIPT ****
<script type="text/javascript"><!--
google_ad_client = "pub-1826991040751516";
//728x90, created 11/9/07
google_ad_slot = "8324140167";
google_ad_width = 728;
google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">








- Show quoted text -- Hide quoted text -

- Show quoted text -

Steve,

I'm sorry for being such a dunce but I don't understand in your reply
what you are describing.

Eric
 
S

Steve Easton

Move the adsense script to the location where you indicated you wanted the adsense to appear.
**** HERE IS WHERE I WOULD LIKE TO PLACE THE GOOGLE ADSENSE SCRIPT
That's where you place it.
You have it below the closing </html> tag.
Therefore it fails to work because the closing </html> tells the browser that is the end of the page.

--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
B

brendafrick

Move the adsense script to the location where you indicated you wanted the adsense to appear.
**** HERE IS WHERE I WOULD LIKE TO PLACE THE GOOGLE ADSENSE SCRIPT
That's where you place it.
You have it below the closing </html> tag.
Therefore it fails to work because the closing </html> tells the browser that is the end of the page.

--

Steve Easton
Microsoft MVP FrontPage
FP Cleanerhttp://www.95isalive.com/fixes/fpclean.htm
Hit Me FPhttp://www.95isalive.com/fixes/HitMeFP.htm






...

read more >>- Hide quoted text -

- Show quoted text -

Steve,

I appologize for not being clear. I did try to put the code where
indicated, but the adsense code seemed to 'break' the theme and
headings of the webpage when I tried to preview and also when
published.

Eric
 
P

P@tty Ayers

Steve,

I appologize for not being clear. I did try to put the code where
indicated, but the adsense code seemed to 'break' the theme and
headings of the webpage when I tried to preview and also when
published.

Eric

It probably does "break" the page, and that may be unavoidable when placing
the code in that location. Why not try a different location?
 
B

brendafrick

It probably does "break" the page, and that may be unavoidable when placing
the code in that location. Why not try a different location?

--
Patty Ayers |www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--

I did try placing it the first thing right after the <body> tag but it
still took out the theme and link bar formatting. Any suggestions
would be helpful on where to place it without having it negatively
affect the pages' design.

Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top