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.

CSS Forum


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



Reply
Old 02-05-2008, 11:30 AM include
Joshy D's Avatar
Extreme Talker

Posts: 178
Name: Josh
Trades: 0
sorry, title isnt descriptive, i couldnt make this short enough for a title.
also I dont know if the solution is in PHP or CSS so im posting in both places.

ok, so i have 4 files:

* index.php
* indexs.css
* template.php
* templates.css

in index.php i have:
<?php
include 'template.php';
?>

that works so now my page has a template (this same template file is being used for all pages) but now in index.php i want to add seperate content but no matter what i do it just shows up below the template.php and not in the area on the template that i want to have it in,, and i dont want to use position: absolute in the css.
Joshy D is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-05-2008, 04:05 PM Re: include
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
No idea.. have to see ALL the code to know what's going on there.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-06-2008, 04:14 AM Re: include
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
but no matter what i do it just shows up below the template.php and not in the area on the template
As it will UNLESS you put your content INTO the template areas OR have variables in the template that insert the content data.

It's actually a PHP issue.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to 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.11688 seconds with 12 queries