OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

</body>, </html> inside footer

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> </body>, </html> inside footer
Page: [1]
 
Scotty

 

Posts: 223
Status: offline

 
</body>, </html> inside footer - 10/14/2008 23:35:47   
Is this normal coding practice?...I realize this would automatically place the </body>, </html> at the end of the page, however when I went to install some tracking code I wasn't able to use their automatic install feature as it installs their tracking code right before the </body>, which doesn't show on the page until loaded to the internet.
What's the best work around to this?
Regards, Scotty
Tailslide

 

Posts: 6692
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: </body>, </html> inside footer - 10/15/2008 2:29:23   
No the body and html tags can't be inside another div (if that's what you mean by footer).

They can however be inside an include - I'll often have:

<div id="footer">
  stuff here
</div> <!-- end footer -->

</body>
</html>


Inside an include called footer.php which I then call from the html page.

Most tracking code sits just inside the body tag which is fine - you can have that tracking code in the include if it makes life any easier.

Is that any help - or have I totally misunderstood!

_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to Scotty)
Scotty

 

Posts: 223
Status: offline

 
RE: </body>, </html> inside footer - 10/15/2008 12:27:42   
You answered it...the tracking code couldn't be automatically installed as it can't find the /body in the html page, as it resides in the 'footer' include. I'll check with our hosting company for ideas...then probably will hand paste into the relevant pages.
Using hitslink by the way...any reason to add Google analytics?
Regards, Scotty

(in reply to Tailslide)
Tailslide

 

Posts: 6692
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: </body>, </html> inside footer - 10/15/2008 12:39:30   
Can't you add the tracking code into the include?

Personally I tend to use AWSTATS because I don't have to mess with the code at all but I've used Google Analytics a few times, some clients prefer it.

_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to Scotty)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> </body>, </html> inside footer
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts