Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Makes Page Shift Left

Status
Not open for further replies.

fueonue

Technical User
Mar 18, 2009
24
US
I do not know ANYTHING about PHP.

A friend wrote some code for me that will protect certain pages of a new website I'm building.

Problem is he is no where to be found and I am having a big problem.

My HTML template looks like this:


But when I put the php code into the page and change it to a php page it shifts left...

Here is an example of the php page...


The thing is, it only shifts left, when you are logged in. So I can't show you that because the content is subscription only and it hasnt even gone live yet....

Is there something simple that I may be overlooking?
 
Show us a screenshot of the problem, and also let us see the PHP code that is added.



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Someoone suggested tht I put :

<meta http-equiv="X-UA-Compatible" content="IE=100">

under the title tag...

now it works in IE 8...

So I guess that fixes it... ???
 
I guess, though that would mean it wasn't a Php issue. I'd keep a close eye on it, and make sure it doesn't do it in another browser ar anything like that.

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top