PHP and CSS (and XHTML)

Questions and tutorials related to Cascading Style Sheets *all versions*

Moderators: macek, egami, gesf

Post Reply
User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: PHP and CSS (and XHTML)

Post by WiZARD » Wed Jan 22, 2003 7:43 am

Hi!
All you problem it's PHP configuretions.... try set in php.ini next: short_open_tag = Off

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: What does it do?

Post by WiZARD » Thu Jan 23, 2003 12:39 am

In this part of youre code:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <link type="text/css" rel="stylesheet" href="style.css">
    <title>
      The Cool Titlel
    </title>
    <meta http-equiv="Refresh"
    content="1; URL=index.php3">
  </head>
  <body>
you not have a error, - all work.
Asi said before: you need change PHP.ini
Cause PHP try process this <? like php code but it's not php code :!:
It's simple redirect at index.php3

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests