ID: 14777
Updated by: imajes
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Apache related
Operating System: Windows ME
PHP Version: 4.1.0
New Comment:
Actually, it's to do with the IE engine not interpreting css correctly. Remember, that
the scroll bar code is a: microsoft proprietary, and b: not standard compliant. Thus,
the error is in the ie engine in the way it inteprets html. I have found that this
works sometimes and sometimes not on .php files, and the same is true for .html files.
Go yell at Microsoft. :)
Previous Comments:
------------------------------------------------------------------------
[2001-12-30 17:49:38] [EMAIL PROTECTED]
Thanks, I tried changing the wrong DOCTYPE-Definition (I replaced all extensions .html
with .php via Search and Replace, so also the DOCTYPE-Definition was wrong
afterwords), aswell as deleting it from the file, but it didn't work out
unfortunately.
Have you got another clue?
------------------------------------------------------------------------
[2001-12-30 15:40:30] [EMAIL PROTECTED]
i forgot to +bogus
------------------------------------------------------------------------
[2001-12-30 15:31:12] [EMAIL PROTECTED]
check your DOCTYPE definition:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
it's WRONG. either chose the right one or leave it out.
Kind Regards,
Daniel Lorch
------------------------------------------------------------------------
[2001-12-30 14:39:52] [EMAIL PROTECTED]
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;">
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 this 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]