PDA

View Full Version : Php table question


stevan
03-19-2004, 03:01 AM
I am using this script to call another script and the question i have is i want the table that is in the other script to be a 100% of the page width
Is it here you would place it and how do i code that in more than i can handel

THXS STeve



<style>
.my_price {
color: #000000;
font-weight: bold;
}

.my_data {
color: green;
}

.my_text {
color: blue;
}

.my_head {
color:red;
}
</style>


<script src="index.php"></script><br>

firepages
03-19-2004, 08:19 AM
regardless of where the HTML/CSS comes from (PHP here(as it should be;))) , its still a HTML/CSS question so moving thread...

ronaldb66
03-19-2004, 10:23 AM
Stevan,

I'm almost positive that you can't access a php document using a script element; anyway, since I don't know the content of index.php it's gonna be a wild goose chase, but I bet the table is constructed in that document some way or another; said document is the place to control formatting and presentation of it.

STDestiny
03-19-2004, 04:16 PM
About the only way to use <script> to call a php script is if that php outputs javascript.

You want to use <?php include "index.php"; ?>

-Anderw