almostbob 866 Retired: passive income ROCKS
  1. go to google, read "Google 101: How google crawls the web"
  2. get Google webmaster tools account
  3. follow Google instructions
  4. ignore all other instructions
    google make the rules, google offer you correct personalised instructions for your web site
    why listen to us, when you can listen to them

google will paraphrase evelyn above "relavant keyword and content"

almostbob 866 Retired: passive income ROCKS

Answering that question, would be a paid service, this is a HELP site, the users here help out with problems from sheer kindness
Kindness does not translate to stupidity
Nobody should do this for you, show some effort
Look up the apis for the hardware you intend to use, come back when you have a specific problem, not a "do all my work for me"

Hazuan Nazri commented: not helping +0
almostbob 866 Retired: passive income ROCKS

a penalty is something that is done manually

think about what you wrote,
the largest, most automated, technology company in existence. codes and recodes its algorithms to be aware of manipulation attempts,
automatically scans trillions of web pages
automatically determines which breach it's TOS
then manually de-list each breaching page
Bullshit, the time required to read the list of breaching pages, would be man-years each day

the algorithm does not provide a penalty,
how your site responds to the bot operating under the algorithm determines whether there is a penalty

perhaps read the article series "How Google crawls the web" by Google and ignore speculative imaginings
SEresponse to the bot algorithm; automatic, has very little to do with manual penalty applied after a verified complaint

almostbob 866 Retired: passive income ROCKS

a google search would have informed that these are names given to search bot algorithm updates
search bots change, what was 'grey' SEO today, is black tomorrow,
the algorithm does not provide a penalty,
how your site responds to the bot operating under the algorithm determines whether there is a penalty
the benefit is always the same from grey SEO, temporary enhanced SEresults
the penalty is always the same from grey SEO, delisted from SEresults
the benefit is temporary, the penalty is permanent

This would be a good time to get a google webmaster tools account, and have them that makes the rules tell you personally where or if, you break the rules, and how to generally improve SER without breaking the rules

almostbob 866 Retired: passive income ROCKS

@agilemind
There is nothing to counter,
a misrepresentation of my post was made by you, to further your argument
Your ramble, just your inability, to make concise argument.
I have not bothered to read it, it does not relate to my only discussion with you, about falsifying my post

every 0-10 scale needs a zero

plonk

RobertHDD commented: Your quite queer taday take a rest from machines mate +0
almostbob 866 Retired: passive income ROCKS

@Agilemind, selective editing of a quote, is not particularly agile, not much mind, when the original is in plain view.

I was playing the fool, as stated, using statistics to demonstrate anything.
It has never reached 66 degrees anywhere the other side of Australia

unfortunately you seem to be one who isn't playing the fool
PEBKAC,
put brain in gear before mouth in motion

'The stupid, it burns'

RobertHDD commented: idiot and dumbfounded +0
almostbob 866 Retired: passive income ROCKS

run the css of a div {z-index:0;} through the w3c css validator if you care to.

almostbob 866 Retired: passive income ROCKS

http://www.w3.org/wiki/CSS/Properties/z-index

The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element.

and
http://www.w3.org/TR/CSS2/visuren.html#propdef-z-index

In the following example, the stack levels of the boxes (named with their "id" attributes) are: "text2"=0, "image"=1, "text3"=2, and "text1"=3. The "text2" stack level is inherited from the root box. The others are specified with the 'z-index' property.

the stack levels of the boxes.. .. "text2"=0 ∴ 0 is valid,

In this case I am one of many who Wrote TFM

Troy III commented: z-index:0; is the same as unspecified -2
almostbob 866 Retired: passive income ROCKS

Then, why didn't you put in a little effort?
Nobody else should until after you do

I didnt bother helping you, you came across as a petulant R-sole

You can't fix stupid

almostbob 866 Retired: passive income ROCKS

One ring to rule them all
One ring to find them
In google where the searches are

:)

almostbob 866 Retired: passive income ROCKS

cant always think of .., but a possible explanation of why ..

IE builds the box model for nested elements differently to other browsers.
padding margins etc is inside each element on ie, outside the element on more standards compliant browsers
. . so . . .
when IE creates an element there is a bare area at the border, not part of any element, not present in other browsers, just big enough to cause the :hover effect to fail.

you may be able to repair it by altering padding and/or margin in the css for the nested lists

almostbob 866 Retired: passive income ROCKS

[humor]
OMG, A female
[/humor]
Hi

almostbob 866 Retired: passive income ROCKS

it would be better not to use proscribed characters

The following printing ASCII characters are not used in Python. Their occurrence outside string literals and comments is an unconditional error:$ ?

$ is proscribed,
$0-$9 are used in python internal structure, if the executing program set $3, that value would be printed
As strings, they SHOULD be printing, is there anything elsewhere in the code that could cause the interpreter to assume the reference is to the internal variable
it could be as slates idea,
without the proper declaration in the first line the interpreter is throwing "spasms"

almostbob 866 Retired: passive income ROCKS

because: it looks like they've been asked to make changes to existing code for a web site. the poster being unversed in coding xhtml, and not wanting to make changes outside of what was asked

the OP asked for what may seem redundant questions, for an outdated language version.
I still have code in html4, no need to change them they function as required
some pages in xhtml, ditto
some pages in html5 playing with function, that dont work on my POS terminals since the embedded OS has IE7 (and its ugly)
just saying, cut em some slack

almostbob 866 Retired: passive income ROCKS

I know the answer, you do not
I know how statcounter operates
I know how google analytics operates
I am not going to do it for you,
I have instead pointed you at the source, to accomplish what you want.
You will then have the tools neccessary to make your site behave as you wish, and not have to ask the same question the next time you wish to make any alteration
the googleads api, mentioned in many prior posts, contains instructions on how to interact with adwords ads
API = Application Programming Interface

last time, : does the googleads api have anything to say ?

kmayoyo kōhai

almostbob 866 Retired: passive income ROCKS

No,.
telling you to check the google adwords API to find how to interact with the code
google publish instructions for their systems
ergo, 'does the googleads api have anything to say?'

the google search would probably be 'google adwords api'

almostbob 866 Retired: passive income ROCKS

Your code is irrelevant. An iframe is not part of your page, it is external, a complete page from doctype to /html rendered in a little box.
the code of the iframe is by google
the terms of service are by google
the API to manipulate the iframe is by google
ergo, 'does the googleads api have anything to say?'

and even if the href of the iframe is ON your server it is still external to the page that calls it, just for reference.

almostbob 866 Retired: passive income ROCKS

Does the googleads api have anything to say?

the googlead is outside your page, the clicktrack is already written to report to google, so your code will have no effect
if it did, you would break the googleads TOS,

I would not want to argue an intellectual rights lawsuit against google

almostbob 866 Retired: passive income ROCKS

Sites promising SER, share one thing in common, they do not work, most penalise
the place to submit to SE is as the first reply, mark, wrote
submit to the search engine

almostbob 866 Retired: passive income ROCKS

Current standards and best practices suggest that pixels are not an appropriate dimensioning tool for laying out a web page.
a crt uses approx 96 px/inch
an lcd approx 120 p/inch
a current hi-res plaasma, cell phone /tablet approx 267 px/inch
a printer up to 4000 px /inch
depending on the device used to lay out the page, it will appear from vainshingly small, to ridiclously large on different devices
NO fixed dimension site works, on any device except that which it was laid out on
best practice is to lay the site in em or % scalar dimensions that auto adjust to screen resolution, window size device capability and user preferences. this ensures the page loooks as similar as possible, within the display capabilities of the device it is being viewed on.

A page laid in pixels, looks ridiculous on this widescreen monitor,
1000px column in the middle of a 2600px screen
the same page looks worse on a phone or small device, or partscreen window, the content is pushed offscreen right and all the user sees is the pretty blank border. Users do not scroll sideways to view content, they leave.
with a body { width:100%; margin:2%; } or similar, all users have the same experience.
font-size set in em, the site becomes visual disabiliity friendly, emphasised text adjusts around the user's preference instead of an arbitrary XXpx, which may be vanishingly small on the Ipad-etc at …

almostbob 866 Retired: passive income ROCKS
<!DOCTYPE html>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

just a thought, I'm not going through a few hundred K of file

almostbob 866 Retired: passive income ROCKS

is it htaccess or .htaccesss

almostbob 866 Retired: passive income ROCKS
<?php header ('content-type:text/css');
ob_start("ob_gzhandler"); ?>
/* <style type=text/css> */ 
@media all {.dontall {display:none;}}
@media handheld { img { display:none; } }
@media print {
 body {font-size:10pt; font-family:verdana, arial, sans-serif;}
 .dontprint {display:none;}
 .lt {float:left;text-align:right;width:30%;}
 .rt {float:right;text-align:left;width:65%;}
 .bk {clear:both;width:97%;border:#778899 solid 0;margin:4pt 1% 4pt 1%;padding:4pt;}
 .bkb {width:95%;border:#778899 solid 1pt;margin:4pt 1% 4pt 1%;padding:4pt;}
 .block {float:left;border:#778899 solid 1pt;margin:5pt;padding:2pt;}
 .blockr {float:right;text-align:left;border:#778899 solid 1px;margin:5pxpadding:5px;}
 fieldset {border:none;}
 p {padding:1px;margin:0;list-style-type:square;}
 p:first-line {font-weight:bold;}
 p:first-letter {font-size:100%;}
}
@media screen {
 .dontshow{ display:none;} 
 .doshow{ display:inline;}
}
a {text-decoration:none;padding:0 3px;}
a:hover {background-color:#66cdaa;text-decoration:none;}
a:focus {background-color:#66cdaa;text-decoration:none;}
<?php ob_flush();?>

the first 2 and last 1 lines, style.css as style.css.php

almostbob 866 Retired: passive income ROCKS

assuming the DB is designed with a colum for the submitted date/time
When submitting the upload to th db populate it with the sql keyword 'now'
when executing the query populate the date-time with the returned value of that column

|-|x commented: unclear response, inacurate, incorrect and incomplete information -1
almostbob 866 Retired: passive income ROCKS

If BS were music, this would be a Symphony orchestra.

almostbob 866 Retired: passive income ROCKS

Ignore BS kills, BS,
PX Hacks are no way to make the site appear as you wish, they do not work.
current best practice is em & % as layout tools, pixels are device dependent, and change size a 15inch monitor used to be 800px, now a 7inch tablet is 2600px, px are not user friendly
read a 'box model' tutorial and continue what you are trying

almostbob 866 Retired: passive income ROCKS

Then DO your coursework. the course is to teach you, Nobody does your homework for you. *expletive deleted* lazy students

almostbob 866 Retired: passive income ROCKS

I din't have a magic invisible friend who lives in the sky and grants wishes.
I cannot conceive of a possible reality where a magic invisible friend lives in the sky and grants wishes
I cannot convieive a reality where multiple magic invisible friends live in the sky grant wishes, and tell their corporeal friends to kill each other.
Religion, cult, insanity, are synonymic

almostbob 866 Retired: passive income ROCKS

true,
'49 I apologise snide comments are unfair, and mine were snide

I would like you to consider as well, I am your potential employer, the ceo of a below fortune 500 company, we do our 1 thing, and do it very well
assuming the resume submitted was syntactically and grammatically correct enough to not be binned
If you begin any part of your in-person interview with 'like', you are out the door.
my generation are remarkably, as demonstrated by me, intolerant.

asif49 commented: This person is rude, arrogant and unhelpful. -1
almostbob 866 Retired: passive income ROCKS

I did use the intervening time learning how to read,
and think,
a simple search, either of Google or the search box on this site,
would return the consensus, current best practice, and negate the requirment for such a question.
Perhaps the rudeness of the reply is balanced by the ignorance of the question.

dilligaf

almostbob 866 Retired: passive income ROCKS

Dont worry,
use tables for layout, you would not be a potential employee anywhere,
problem solved

almostbob 866 Retired: passive income ROCKS

it is the same as interacting with any other input,
password
light pen
touchscreen
the output of the device is compared with the stored sample on submit of the form

no more difficult than any other submitted form
the number of posts on this from 1 post wonders leads me to believe that this is a school exercise

this site is not a homework repository, you will learn nothing from having someone else do it for you

post some attempted code for remediation people
get off your butts and make an attempt

maxlipman commented: always picking on everyone if they use site the way he doesnt like it -1
almostbob 866 Retired: passive income ROCKS

If your web site was built by an 8 year old, it would be appropriate,
it does not approach the possibilities available,

this is a widescreen monitor 2600px wide, your single column fixed design looks ridiculous floating in the middle
on a phone/tablet, the content is pushed offscreen right,
in a partscreen window, or small display content is pushed offscreen right
users do not scroll sideways, mice do not have hscroll wheels, but they will follow a page down forever
properly laid out in em or % the logo issue would not arise, the page layout would auto adjust to window size

replace yoursite.com in the inactive links above with your uri, and follow the instructions to fix the site up, to current code standards
There are many 'professional' sites far worse than yours,
there are commercial sites that do not display in google chrome, firefox or safari, because they were built using IE specific code, there are other sites that refuse IE because the developers think they are superior to the 70% of users still using IE

your site, its actually pretty good, it displays in most browsers,
just that you might as well learn best practice, (its simpler to code) and produce a good site, instead of just a site

dunno if you get this, havent replied to a solved thread b4

almostbob 866 Retired: passive income ROCKS

its not on your site

your way, does not work
the right way, works

no further discussion required

ya messed up
fix it

[flush]

Xcelled194 commented: Not helpful at all. -1
almostbob 866 Retired: passive income ROCKS

you are reading a file
the documentation requests a file
the function file_get_contents() should suggest a file
the op states

I need to retrieve a HTML file from an external site (http://example.com/page.html) and parse it.

http://www.example.com is not a file, and not even the uri from the original post
a file is http://www.example.com/FILENAME.FILE_EXTENSION

almostbob 866 Retired: passive income ROCKS

you pointed to a file that does not exist, check the filename

almostbob 866 Retired: passive income ROCKS

you could fix your database design by a tableupdate now, and
store only a timestamp,
use 4bytes per record instead of 35,
require simpler code to select records,
simpler code to update the table,
simpler code to display
allow any user to have the date and time formatted to their preference, or their country code standard

correct the problem, intead of patch it, and make the whole thing much easier elseif() is fractionally faster than else if()

pbcomput commented: your answer is not related to the question. -1
almostbob 866 Retired: passive income ROCKS

because google analytics depends on javascript and an external server, it is blocked by much ant-spyware, particularly the MSMVP Hosts file, and does not record accurately
there are several php sqsl/flatfile trackers that act solely on your server so are not blockd
I like bbclone for limited hosts, or use the logs built in to your server, if your host package gives access, there are many programs to interpret the server logs,

almostbob 866 Retired: passive income ROCKS

If this is the same css that is set with fixed margins and position:absolute, of course it stayed put, absolute means STAY PUT, if you want it to move it can't be fixed or absolute

almostbob 866 Retired: passive income ROCKS

You had this to display the image.

background: url("h1.png") no-repeat scroll left top transparent;

You ad this to link the image:

background-image:url(http://yourlink.com);

Ps. I see your site on your last post linked is off.

Please ignore this BS
background is a shorthand entry for all the separate css properties applicable to background, and does NOT link the image
body {background:#ffffff url('img_tree.png') no-repeat right top;}

almostbob 866 Retired: passive income ROCKS

just sick of people not making any attempt,
now post the code you have worked out for assistance

almostbob 866 Retired: passive income ROCKS

Includes are the right way to go
the file is processed as a single file includes are not separate
if the validation authentication were the first lines in include.php they are processed first, no part of the page is output to the browser untill after that include
the exit will always take place before browser output as long as only php functions that do not output to screen are in those include files
your worries seem to be baseless
changing back to no-include files would be an extreme retrograde step and increase the number of edits to individual pages not decrease them

almostbob 866 Retired: passive income ROCKS
<script language="javascript" type="text/javascript">
if (top.frames.length != 0 ) {  top.location = self.document.location; }
</script>

this code in the head of your proz.com site is called a framebreaker, (one of several types) so that it will not appear as content in an external site, including yours

almostbob 866 Retired: passive income ROCKS

what you are asking for is not what you are attempting
you asked for a form processed by a php form handler after it has been validated by a javascript ?
wrong way to do things
javascript validation isnt validation, it can be faked wrong blocked disabled
the form should submit to the form handler to be validated, basic javascript validation can be used, prior to submission, but its no value for real work
if validation fails, return to the form for correction

<form method='post' action='phpscripthandler'>
<input name='ralph' value='<?php if isset($_GET['ralph'] echo $_GET['ralph']; ?>'><label for='ralph'> ralph</label>
bla bla bla

example code ralph is populated with return values from the handler script to be edited for resubmission

almostbob 866 Retired: passive income ROCKS

there is no width set for the body, so you get the browser defaults
try

#footer{ width:100%; height:23px; background-image:url('../img/site_layout/footer_gradient.gif'); background-repeat:repeat-x; 	margin-top:40px; margin-bottom:-8px; text-align:center; }

try also to get away from pixels for layout
px dont work, on any monitor except yours the layout may be totally unviewable, users leave in droves if there are horizontal scroll bars, mice dont have hscroll wheels
and if they have a widescreen, most of the screen is unoccupied

px dont adjust to user preference
px become vanishingly small on hi res-monitors, annoyingly large on low res (like handheld) devices
current best practice is ems , % for anything except an image, images are pixel sized
using a relative scale, like an em or %, allows for accessibility,
blind freddy to set his basefont to 100px,
your site adjusts to a font that blind freddy can read, based around 100% or 1em being 100px
for blind freddy, 14px might as well be 1pxto any visually impaired person named Fred, blind freddy is an archetype not an individual

almostbob 866 Retired: passive income ROCKS

In what form is the date stored, as a date object or in some text form, comparing DMY d - m y y-MD makes a lot of difference, it may be impoosible to match different date formats

edit, impoosible ?? ha ha

almostbob 866 Retired: passive income ROCKS

show your code, one of the gurus will be able to point you right

almostbob 866 Retired: passive income ROCKS

reread My post, it states Designers code is correct and states the reason.
there is no statement that your code is wrong
that your second code sample is different, confirms the first sample is not appropriate for this task
single quotes are better for straight text, the php interpreter does not waste time looking for variables so they execute faster
however dQuoted text and variables is simpler , more intuitive, to read and lay out than:: open close variable open close variable open close variable open close;
with single quoted text

almostbob 866 Retired: passive income ROCKS

designer's solution is correct, for more than one reason, importantly,,
php will parse dQuoted text for variables and replace them with the value echo "i want $breakfast"; will render as I want BACON single quotes wil not parse the variables and of course,,,
WoNt WoRk

almostbob 866 Retired: passive income ROCKS

<!-- style out in the external stylesheet usually -->

.con {height:300px;width100%;}
.in {width:25%;height:100%;float:left;
<div class='con'>
<div class='in'><img src="image1"><br>description 1</div>
<div class='in'><img src="image2"><br>description 2</div>
<div class='in'><img src="image3"><br>description 3</div>
<div class='in'><img src="image4"><br>description 4</div>
</div>
<div class='con'>
<div class='in'><img src="image5"><br>description 5</div>
<div class='in'><img src="image6"><br>description 6</div>
<div class='in'><img src="image7"><br>description 7</div>
<div class='in'><img src="image8"><br>description 8</div>
</div>