Results 1 to 11 of 11
Related
-
hidden text in source ! Forum: Search Engine Optimization - SEO - Forum
Replies: 12 -
Another AdSense hidden benefit Forum: Google Adsense
Replies: 1 -
Overflow hidden in a table Forum: HTML Forum
Replies: 1 -
Hidden links on an image Forum: Javascript Forum
Replies: 2 -
td { overflow: hidden; } ? Forum: CSS Forum
Replies: 10
-
12-15-2005, 03:24 AM #1
Getting to the hidden code...help please!
Hi all
I had a web page developed for me in PHP and no matter what I do to optimise it...nothing changes...then I picked up by looking at the source code in my browser that there is the section (in bold) below sitting there...but I cannot see it on any editing programmes.
All I can edit is the <head> section that appears way down the page and so no matter what I change down there...no changes come through on the site because the "hidden" head section takes priority.
Can someone please help show me how to get the "hidden" section to appear on a web edit tool? Can I just delete that part?
Any help most appreciated...finger nails are now very short...
Steve
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Frontiercoffee.co.za</title> <link rel="stylesheet" type="text/css" href="./css/default.css" media="screen"> </head> <body> <div id="content_container_bg"> <div id="content_container"> <div id="left_column"> <div id="header"> <img src="pics/logo.gif" width="450" height="73" border="0"> <div id="button_container"> <div id="button"><a href="index.php">Home</a></div> <div id="button_spacer"></div> <div id="button"><a href="offerings.php">Our offerings</a></div> <div id="button_spacer"></div> <div id="button"><a href="clients.php">Our clients</a></div> <div id="button_spacer"></div> <div id="button"><a href="about_coffee.php">About coffee</a></div> <div id="button_spacer"></div> <div id="button"><a href="contact.php">Contact</a></div> </div> </div> <div id="content"><head> <TITLE>Coffee machines and other hot beverage vending machines</TITLE> <META NAME="KEYWORDS" CONTENT="coffee machines,hot beverage machines,coffee,coffee vending,vending machines,vended beverage,office coffee"> <META NAME="DESCRIPTION" CONTENT="Sale, rental and maintenance of coffee machines and coffee and other hot beverage vending machines. We also offer a complete service option where we manage the provision of hot beverages to staff. "> <META NAME="GENERATOR" content="www.ahfb2000.com"> <META NAME="ROBOTS" CONTENT="INDEX,NOFOLLOW"> </head> <p>
Last edited by HTML; 12-18-2005 at 11:32 AM.
-
12-15-2005, 07:01 AM #2
Re: Getting to the hidden code...help please!
You can only have 1 head section and it must come before any body content. I am not sure what you mean by hidden, do you mean it is in a script? If so you have to go there to edit it.
-
12-15-2005, 07:34 AM #3
Re: Getting to the hidden code...help please!
Originally Posted by Dave
Thanks for responding. If you look at the original post you'll see that there are two <head> sections. My problem is that while I can see two when on-line and checking the source code option in IE, I can only see one, the second one, when I download my index file from the server and try to edit the file. For some reason I cannot see the first <head> section. So I am assuming it is hidden text. I am not a programmer...just thought if it was a simple issue I could do fix it myself.
If you have any ideas?
Regards, Steve
-
12-15-2005, 07:59 AM #4
Re: Getting to the hidden code...help please!
Are you on a free host? who inputs and hides this section?
-
12-15-2005, 09:42 PM #5
Re: Getting to the hidden code...help please!
Is the code you posted from the rendered page; i.e., viewing source from the internet, or is it the actual page code? That will make a difference as to where you look for what needs to be modified.
Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
-
12-18-2005, 10:36 AM #6
Re: Getting to the hidden code...help please!
Thanks for the posts Vinyl-Junkie and Dave
Vinyl-Junkie-The script I have sent through is a cut and paste from the live site using "View" and then "Source" in Internet Explorer.
I cannot see the offending <head> section when using a web page editor.
Dave - the page may have been built around a free generator but is hosted privately. The code must have been part of the page when it was developed.
Hope this helps.
Steve
-
12-18-2005, 11:31 AM #7
Re: Getting to the hidden code...help please!
What you are going to have to do is go into your server through ftp and show us a copy of your pre-rendered code.
Dave
-
12-18-2005, 11:45 AM #8
Re: Getting to the hidden code...help please!
Hi Dave - I have cut and paste the actual page code (have just left out the body)..
<?php
include "layout_top.php";
?>
<head>
<TITLE>Coffee machines and other hot beverage vending machines</TITLE>
<META NAME="KEYWORDS" CONTENT="coffee machines,hot beverage machines,coffee,coffee vending,vending machines,vended beverage,office coffee">
<META NAME="DESCRIPTION" CONTENT="Sale, rental and maintenance of coffee machines and coffee and other hot beverage vending machines. We also offer a complete service option where we manage the provision of hot beverages to staff. ">
<META NAME="GENERATOR" content="www.ahfb2000.com">
<META NAME="ROBOTS" CONTENT="INDEX,NOFOLLOW">
</head>
<p>
<?php
include "layout_btm.php";?>
-
12-18-2005, 11:49 AM #9
Re: Getting to the hidden code...help please!
Code:<?php include "layout_top.php"; ?>
, this is where your "hidden" code is. Locate this file (through ftp) and make your head changes in it, then remove the duplicate code from your index file..
Dave
-
12-18-2005, 12:12 PM #10
Re: Getting to the hidden code...help please!
Dave! Thanks...got it!! You have certainly helped someone today...
-
12-18-2005, 12:26 PM #11
Re: Getting to the hidden code...help please!
Glad to know you got your problem solved.
Next time, don't forget to put code tags around your code. That makes your posts much easier to read.Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum