Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Programming Help > PHP Programming Help

PHP Programming Help Post any question relating to PHP Programming here and hopefully someone can help.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 2008-04-03, 05:54 AM
Junior Member
 
Join Date: Apr 2008
Posts: 2
cardi777 is on a distinguished road
Default help with css include

Hi all. I think my issue is simple - i guess we'll find out!

I have converted a frameset to php includes. The local include files are fine, but the external files (which I don't have control over) don't include the files which they themselves use. Which is my css issue.

I am new to php, and I don't know if its just a line of code I need, or if this is impossible.

I have tried including the css as includes, which works, but its buggy. This kind of thing was fine with frames, but now... its buggy Something going on with this method.

Not sure what to do!

Cheers,
Doug
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2008-04-14, 01:24 AM
Junior Member
 
Join Date: Apr 2008
Location: Cheltenham, UK
Posts: 11
hoopyfrood is on a distinguished road
Default CSS include

Hi cardy777,

can you please post a sample of your PHP (at least the <head></head> bit where you include the CSS) and a sample of CSS misbehaving?

That should help.
__________________
Love your documents!

DocuView - The best Web 2.0 document management system (DMS) - utilising the latest technology to help your company achieve ISO 9001 certification.
Reply With Quote
  #3 (permalink)  
Old 2008-04-14, 02:19 AM
Junior Member
 
Join Date: Apr 2008
Posts: 2
cardi777 is on a distinguished road
Default Thanks for response

Thanks for your efforts to help me out hoopyfrood

This morning I have discovered that someone else has fixed the problem for me. It turns out that the only way to make php include files correctly display all nested items is to use IFrame.

This was my previous code:

Code:
<?php include('$theLink');?>
This is the new code:

Code:
<iframe width="600" height="600" frameborder="0" src="<?php echo $theLink; ?>"></iframe>
Both these methods worked, but the second one displayer and linked correctly.

Hope that helps anyone else trying to do the same thing!

Cheers,
Doug

Last edited by cardi777; 2008-04-14 at 02:39 AM.
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.0 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.0 (a popular PHP IDE) and NuCoder 1.4 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:24 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.