jenniferG Posted October 28, 2006 Share Posted October 28, 2006 Why does the text "Test" not shbow up in the browder below the <div> tsags?<html><head> <title></title></head><body><div style="background : #000000; color : #000000; padding : 4px; width : 950px; height : 150px; overflow : auto; "></div><div style="background : #ffffff; color : #ffffff; padding : 4px; width : 950px; height : 450px; overflow : auto; "><?php include 'viewcontacts2.php' ?></div><div>Test</div></body></html> Quote Link to comment https://forums.phpfreaks.com/topic/25403-text-in-div-tags/ Share on other sites More sharing options...
fenway Posted October 28, 2006 Share Posted October 28, 2006 Does it work without the PHP code? Quote Link to comment https://forums.phpfreaks.com/topic/25403-text-in-div-tags/#findComment-115904 Share on other sites More sharing options...
richei Posted November 9, 2006 Share Posted November 9, 2006 you're include statement is wrong, should be <?php include('viewcontacts2.php'); ?>and because you're text and background are the same color, so even if that include does work, you won't see it :) change either the background color or the text color and it should work. Quote Link to comment https://forums.phpfreaks.com/topic/25403-text-in-div-tags/#findComment-121876 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.