Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 06-26-2009, 03:29 PM PHP Include
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
How would you include another HTML document with a different stylesheet in a document. I used to use iframes but now I can't since they are deprecated in HTML Strict.

I know it has something to do with a php include function, but I believe those use the same stylesheet as the page it is on. Thanks

Alex
__________________
Alex
konetch is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-27-2009, 08:12 AM Re: PHP Include
Defies a Status

Posts: 1,606
Trades: 0
A page can utilize more than one stylesheet at a time if the name is different and the declarations have unique names.

The page to be included should not contain head, body or html tags to prevent duplicate instances of them in the output.

Quote:
<?php include("filename.ext"); ?>
or
<?php include("pathto/ filename.ext"); ?> if in another directory.
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Old 06-27-2009, 05:04 PM Re: PHP Include
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
Yeah, the stylesheet does include similar tags. Do I need to change all of them to make it work or can I get around it some how? Thanks
__________________
Alex
konetch is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP Include
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.75264 seconds with 12 queries