Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with text out of div?

Featured Replies

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 ! :D

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 :pp

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.