include() seems to mess up my css!
Posted: Thu Aug 05, 2004 5:38 am
I've got an access control file which I include on every page on a site in order to check whether the user is logged in, or has the correct security privileges to view the page they are on.
The pages it is included on used to display fine even when I included the access.php file, but I must have done something yesterday because now if the file is included all the text displays one size larger in IE than is defined in the .css file. It looks as if some one has set the browser text size to large but I've checked and its set to the default medium as before.
As soon as I remove the include() file it displays fine again. Note this hasn't affected Netscape 7.
I've stripped all the html/css out of the include file, but for the form and the "login failed messages", but its still causing the same prob if I include it. I haven't posted any code for now because theres quite a bit of it.
The file is included at the very top of each page before any browser output. I've read through most of the css issues on the forum in search of a reason for this problem but had no luck so far.
Any suggestions anyone? It's driving me crazy!
The pages it is included on used to display fine even when I included the access.php file, but I must have done something yesterday because now if the file is included all the text displays one size larger in IE than is defined in the .css file. It looks as if some one has set the browser text size to large but I've checked and its set to the default medium as before.
As soon as I remove the include() file it displays fine again. Note this hasn't affected Netscape 7.
I've stripped all the html/css out of the include file, but for the form and the "login failed messages", but its still causing the same prob if I include it. I haven't posted any code for now because theres quite a bit of it.
The file is included at the very top of each page before any browser output. I've read through most of the css issues on the forum in search of a reason for this problem but had no luck so far.
Any suggestions anyone? It's driving me crazy!