June 13, 200818 yr Hello i have a web page i'm designing and the text don't show up in the div i want it to.. here is the code <div class="main"> <div id="menu"><?php include("menu.php");?></div> fddfddfd </div> The Css code : .main { color:#000000; background:#FFFFFF; width:800px; height:1094px; margin-left:auto; margin-right:auto; text-align:right; } #menu { width:800px; height:1094px; float:left; clear:right;} and here is the page.. check the bottom of the page.. the text dont show in the MAIN AREA(white) page thanks Guys !
June 13, 200818 yr Am I missing something here, but I can't see any content in the code for these pages.... But I did see something which is likely to cause you much grief in this page.... Your tags are all over the shop You have several <head>, <body> and <title> tags in your document, but there should only be one of each Your document structure should be as follows: DTD (your doctype declaration) <html> <head> <meta> <title></title> <style></style> </head> <body> all content goes in here </body> </html> Hope that helps
June 13, 200818 yr Hi Looking at your code, its a bit of a mess (sorry to say so) you have two doc types. <script type="text/javascript" src="stmenu.js"></script><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Apostle Francis Dwomoh Ministies</title> <style type="text/css" > @import url(css/master.css); </style> <body > <div id="heather"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css" > #heather { width:800px; height:120px; margin-left:auto; margin-right:auto; margin-top:30px; } </style> </head> Thats as far as i got If you sort this out and the rest of your html it may work. If you need help just post. Pat
Create an account or sign in to comment