Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1709 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Can anyone tell me what I'm doing wrong here?

Thread title: Can anyone tell me what I'm doing wrong here?
Closed Thread    
    Thread tools Search this thread Display Modes  
04-12-2006, 11:08 PM
#1
b3six is offline b3six
Status: I'm new around here
Join date: Oct 2005
Location:
Expertise:
Software:
 
Posts: 8
iTrader: 0 / 0%
 

b3six is on a distinguished road

  Old  Can anyone tell me what I'm doing wrong here?

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml" >
<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<meta name="author" content="efhx" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="robots" content="all" />
<title>Jayme Jackson's Page</title>
<link href="css/main.css" type="text/css" rel="stylesheet" />

</head>

<body><div id="container">
		<div id="header">
		</div>
			<div id="nav">
		<ul>
			<li class="active"><a href="default.html">Home</a></li>
			<li><a href="portfolio.html">Portfolio</a></li>
			<li><a href="quote.html">Services</a></li>
			<li><a href="contact.html">Contact</a></li>
	
		</ul>
			</div>
			<div id="main">
			</div>
</div>
</body>
</html>
Code:
#container{
	background-color:#aba8a3;
	width:388px;
	height:507px;
	margin:0 auto;
	padding:0;
	border-top:hidden 1px;
	}
body{
	margin: 0;
	padding: 0;
	background-color:#f3f1e8;
	background-image: url(..gfx/bg.jpg);
	background-repeat: repeat-x;
	font-family:Geneva, Arial, Helvetica, sans-serif;
	text-align:left;
	color:#ffffff;
	font-size:12px;
	}
.bold{
	font-weight:bold;
	color:#d1ba9f;
	}
td{
	line-height:10px;
	}
.imgdesc{
	padding:0px 0px 0px 5px;
	}

#header{
	width:388px;
	height:134px;
	background-color:#242424;
	background-image:url(../gfx/top.jpg);
	clear:both;
	}
#main{
	background-color:#fff;
	height:368px;
	padding-left:3px #aaa8a2;
	padding-right:3px #aaa8a2;
	border-left:1px solid #42413f;
	border-right:1px solid #42413f;
	width:380px;
	}
.imgwidth{
width:100px;
height:100px;
}
.nospace{
	margin-bottom:0;
	}
#nav{
	background-color:#fff;
	border-left:1px solid #42413f;
	border-right:1px solid #42413f;
	width
	}
#nav ul{
	margin: 0;
	padding: 3px 0px 3px 0px;
	list-style-type: none;
	text-align: center;
	clear:both;
}
#nav ul li { display: inline;
	font-family: "Trebuchet MS", Geneva, Arial, Helvetica, sans-serif;
	font-size:10px;
	}
#nav ul li a{
	text-decoration: none;
	padding: 10px;
	color: #6a6a6a;
}

#nav ul li a:hover
{
	color: #fff;
}
#nav ul li a:active{
	color:#6a6a6a;
	}
.active{
	color:#212121;
}
a:link {
	color:#ffffff;
	text-decoration:none;
}
a:hover{
	color:#8fc9e4;
	text-decoration:none;
}
a:visited {
 	color:#ffffff;
	text-decoration:none;
}
a:active { 
	color:#8fc9e4;
	text-decoration:none;
}
acronym{
	font-style:italic;
	border-bottom: 1px dotted #8fc9e4;
}	
.noborder{
	border:none;
	}
I forgot quite a bit of css since I've been doing other things and cant remember how to get this the way I want it to be. All I want is the part under the header to look like this

basically i want:
1px left border (black)
3px padding (grey)
Main content (white)
3px padding (grey)
1px right border (black).. i hope someone can understand this.. but anyways I dont remember how to set padding color (if i can) or what to do to put color between the border and the main content..
Thx!

04-14-2006, 06:59 AM
#2
Jen is offline Jen
Status: Member
Join date: Dec 2004
Location: Australia
Expertise:
Software:
 
Posts: 413
iTrader: 0 / 0%
 

Jen is on a distinguished road

  Old

I've seen your same thread in other forum but why post another one?

#main { width:380px; = replace with 388px, the content will be correct width, follow your layout width. I know I cannot view the images.

04-14-2006, 03:51 PM
#3
b3six is offline b3six
Status: I'm new around here
Join date: Oct 2005
Location:
Expertise:
Software:
 
Posts: 8
iTrader: 0 / 0%
 

b3six is on a distinguished road

  Old

yea i posted on sitepoint also but wasnt able to solve the problem and no1 responded for a while.. just wanted to get this done soon thats all ill try those fixes but im not sure if it will give me the look that i want.. are you having problems viewing the image that i uploaded? I uploaded somewhere else incase so you can see what I mean..

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed