From:             [EMAIL PROTECTED]
Operating system: Windows ME
PHP version:      4.1.0
PHP Bug Type:     Apache related
Bug description:  Style Sheets not interpreted when sent through Apache/PHP

Hi!

I've got the following configuration:
PHP 4.1.0 running as ISAPI-Module on Apache 1.3.22

The following "problem" results only (!) if I use .php as extension. 

I originally programmed the entire site with the extension .html. I used
IE-specific CSS-elements to change the color/style of the scrollbar. It all
worked fine.

Then I wanted to use .php as extension instead, so that I could use a
prepend if necessary (e.g. include a config.php, etc.). It seemed to work
fine still, PHP code is executed, the page is shown as usual. Only that the
scrollbar is not shown with its changed appearance anymore. If I change
back to .html everythings fine again.

I can't explain this because I have in mind, that everything that is
outside of <?php-Tags is sent unchanged to the browser. And the Source-Code
(right-click in Internet-Explorer) shows no differences between the two
files. Still it doesn't seem to work with .php

Hereby the necessary files:

hp_mitte.php:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>Pfarrgemeinde St. Maria Geburt, Duderstadt-Gerblingerode</title>
<script type="text/javascript"><!--
function checkFrameset() 
  {if(!parent.oben) location.href="index.php";}
--></script>
<style type="text/css"><!--
body {margin-bottom:0px; margin-top:0px; margin-left:0px; margin-right:0px;

      scrollbar-face-color:#FFFFFF; scrollbar-highlight-color:#43CBFF; 
      scrollbar-shadow-color:#43CBFF; scrollbar-3dlight-color:#43CBFF; 
      scrollbar-arrow-color:#43CBFF; scrollbar-track-color:#D5D5D5;
scrollbar-darkshadow-color:#43CBFF;}
table {border:0px;}
--></style>
</head>
<body onLoad="checkFrameset()">
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
  <tr bgcolor="#D5D5D5">
    <td height="24px" colspan="3">
    <font style="font: bold 12pt Arial, Helvetica, sans-serif;">
      &nbsp;&nbsp;Startseite
    </font>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="3" valign="middle">
        <img src="images/kirche.jpg" /><br />
        <font style="font:10pt Arial, Helvetica, sans-serif;">
        Pfarrkirche St. Maria Geburt
        </font>
    </td>
  </tr>
</table>
<body>
</html>

index.php:

<!DOCTYPE php PUBLIC "-//W3C//DTD php 4.0 Frameset//EN">
<html>
<head>
<title>Pfarrgemeinde St. Maria Geburt, Duderstadt-Gerblingerode</title>
</head>
<frameset frameborder="no" border="0" framespacing="0"
rows="30px,*,24px">
  <frame src="hp_oben.php" noresize="noresize" scrolling="no" name="oben"
marginheight="0" marginwidth="0">
  <frameset border="0" frameborder="no" framespacing="0"
cols="159px,*,9px">
    <frame src="hp_links.php" noresize="noresize" scrolling="no"
name="links" marginheight="0" marginwidth="0">
    <frame src="hp_mitte.php" noresize="noresize" name="mitte"
scrolling="yes" marginheight="0" marginwidth="0">
    <frame src="hp_rechts.php" noresize="noresize" scrolling="no"
name="rechts" marginheight="0" marginwidth="0">
  </frameset>
  <frame src="hp_unten.php" noresize="noresize" scrolling="no" name="unten"
marginheight="0" marginwidth="0">
  <noframes>
    <body>
    </body>
  </noframes>
</frameset>
</html>

The other files are not really important, you can have empty files and the
same problem results (or results not depending on the file-extension).

I hope you can help me!
Sincelery
Daniel Warner


-- 
Edit bug report at: http://bugs.php.net/?id=14777&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to