I use <DIV> tags on my website to organize the layout. I wanted to echo a message that is a result of a query and use the DIV tags to organize where that content appears on the screen. Whenever I echo the DIV tag; however, the content disappears.
PHP Code:
echo "<div id=\"content\"><div>$msg</div></div>";
CSS Code:
#content
{
position: relative;
top: -250px;
left: 260px;
width:500px;
}
any ideas? Whenever I take away the <DIV> tags echo $msg works just fine.
Whenever I add the <DIV> tags the message disappears.
Thanks in advance for any help you can provide me 🙂