By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,828 Members | 2,241 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,828 IT Pros & Developers. It's quick & easy.

problem with ie v php (include)

P: 1
please help me.
I have troubles with floated objects (div, table, pic ...) with IE.
when i try include a file at another file.
in Firefox the page displays correctly but in IE6 floated objects displayed far down.( a line displayed at first)
for example these code results is




<table border=1 width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><? include("myincludefile.php"); ?></td>
</tr>
</table>

--------------------
myincludefile.php:
--------------------
<table border="1" width="50%" cellspacing="0" cellpadding="0">
<tr>
<td>test</td>
</tr>
</table>

------------------------------------------------------
view source:

<table border=1 width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="1" width="50%" cellspacing="0" cellpadding="0">
<tr>
<td>test</td>
</tr>
</table></td>
</tr>
</table>
Oct 17 '06 #1
Share this Question
Share on Google+
1 Reply


ronverdonk
Expert 2.5K+
P: 4,258
This is not a PHP issue. Moved to the HTML forum.
Oct 18 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.