Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 01-15-2008, 03:36 PM Broken Layout HELP
Valiant's Avatar
Super Talker

Posts: 112
Location: England
Trades: 0
Here is a screen print:

http://sixpop.com/images/file/84541562.jpg

Heres the coding:

Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AquaLoad</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
	<div id="header"></div>Webmaster-Talk.com - Post New Thread
    <div id="body"><div id="content"><p>When i add content here, and it goes onto the next line, the design doesnt break! OMFG</p></div>
  </div> 
    <div id="foot"></div>
</div>
</body>
</html>
Code:
body{
	background: #2b2b2b;
	text-align: center;
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
#container {
		margin: 0 auto;   /* align for good browsers */
		text-align: left; /* counter the body center */
		width: 800px;
		margin: 0 auto 0 auto;
}
#header{
	background: url("head.jpg");
	height: 180px;
	margin: 0 auto 0 auto;
}
#body{
	background: url("body.jpg");
	height: 100%;
	margin: 0 auto 0 auto;
}
#content{
	padding-right: 150px;
	padding-left: 150px;
	text-align: left;
}
#foot{
	background: url("foot.jpg");
	height: 60px;
	margin: 0 auto 0 auto;
}
Thanks for any help in advanced!
Valiant is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-15-2008, 03:43 PM Re: Broken Layout HELP
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Put a proper DOCTYPE on your page !

Then add this to your CSS:

#content p{
margin: 0;
padding: 0;
}
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 01-15-2008 at 03:49 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Broken Layout HELP
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32184 seconds with 12 queries