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> 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? 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. Link to comment https://forums.phpfreaks.com/topic/25403-text-in-div-tags/#findComment-121876 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.