No replies
andreea115
andreea115's picture
Offline
newbie
United Kingdom
Last seen: 8 years 38 weeks ago
United Kingdom
Joined: 2011-09-01
Posts: 1
Points: 2

hi everybody

thank you for taking the time to read my message. i am relatively new to CSS but picking up quite quickly.

i have taken over the builing of this site

http://www.aupair-world-agency.com/index.html

i am now trying to reposition elements within the header section ( where the company logo is position).

i essentially need to do two things;

1. move the top navigation down a bit so that the company logo does not look so cramped where it is. i also want to add some words under the companies name (Aupair World Agency). However, at present, there is not enough space to add the word: hence the urgent need to move the top navigation down.

i have looked over the CSS script but i cannot seem to find the code that will allow me to move the naviation down.

2nd problem. i wish to place a picure in the middle of the header: between the logo and the sign out link.
the picture is SRC is src="/images/logo_picture.jpg" . it is however proving impossible for me to position the picgture. i have tried using absolute positioning and relative postioning but nothing seem to put it into position. can anyone please recommend the best way for me to position this picture.

i have enclosed the appropriate code : css and html below.
thanks for your kind help

warm regards

Andreea

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
<!-- TemplateBeginEditable name="doctitle" -->
<title>Template3</title>
 
 
 
<!-- TemplateEndEditable -->
 
<link rel="stylesheet" type="text/css" href="../style.css" media="screen" />
 
 
 
 
<meta name="coverage" content="Worldwide" />
<meta name="robots" content="all" />
 
 
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body><div id="wrap">
 
<div id="header">
<div class="headerleft">
 
 
 
<h1><a href="/index.html" title="Au Pair World Agency| Au Pair Site-Au Pair Agency|">
<img src="../images/logo.jpg" alt="" width="72" height="70"   align="absmiddle"   />    Aupair World Agency     </a>
 
</h1>
 
</div>
 
<div >
<img src="/images/logo_picture.jpg" alt="" width="42" height="37"  />
 
 
 
</div>
 
 
 
 
 <img src="https://csscreator.com/sites/all/modules/smileys/packs/Roving/smile.png" title="Smile" alt="Smile" class="smiley-content" /> 
 
 
 
 
/*css   */
 
* {
    padding: 0;
    margin: 0;
} 
 
body {
	background: #F2F1E9;
	/* [disabled]font-family: Verdana, Tahoma, Arial, sans-serif; */
	font-size: 14px;
	padding: 0;
	margin: 0;
	color: #666;
	line-height: 17px;
}
 
img { border: none; }
a {
	color: #00F;
}
a:hover { text-decoration: none; color : #444; }
 
#wrap {
background: #fff;
width: 920px;
margin: 5px auto 0 auto;
padding: 0 10px;
}
 
#header {
height: 70px;
line-height: 70px;
}
#header h1 {
font-size: 38px;
font-weight: 600;
letter-spacing: -4px;
}
#header h1 a {
color: #FF7400;
text-decoration: none;
}
#header h1 a:hover {
color: #000;
text-decoration: none;
}
.headerleft {
float: left;
line-height: 15px;
margin-right: 140px;
position:absolute;
 
 
}
 
 
 
 
.headermiddle {
float: right;
margin-left: 360px;
}
 
.headerright {
float: right;
font-weight: 600;
color: #000;
height: 70px;
line-height: 15px;
margin-left: 30px;
 
}
 
 
.headerright  a {
 
color:  #00F ;
text-decoration: none;
}
.headerright a:hover {
color: #000;
text-decoration: none;
}
 
 
/* the CSS for the logo and its position  */
	.headerleft img{
 
		Padding: 2px 10px 1px 8px;
 
	}
 
	/* end of the css for the logo position */
 
 
 
 
 
 
#menu {
margin-top: 5px;
height: 30px;
line-height: 30px;
background: #FFCC33 url(images/menu.gif) no-repeat;
}
#menu li
{
float: left;
list-style-type: none;
padding: 0 10px 0 0;
}
#menu li a{ 
color: #fff;
font-weight: 600;
display: block;
text-decoration: none;
padding: 0 10px;
}
#menu li a:hover {
background: #FA9C39 url(images/menuover.gif) repeat-x;
}
#menu ul { padding-left: 1px;}
 
#content {
margin-top: 10px;
}
.right {
float: right;
width: 700px;
}
.right h2 {
/*color: #FF7400;*/
font-size: 24px;
/*letter-spacing: 3px;*/
font-weight: 100;
padding : 10px 0 15px 0;
}
.right h2 a {
color: 	#000#;
}
.right h2 a:hover {
color: #333;
}
 
.left {
float: left; 
width: 210px;
border: 1px solid #EBE8DB;
background: #FAF9F4;
}
 
.left h2 {
	color: #FF7400;
	padding: 20px 0 20px 10px;
	font-size: 20px;
	letter-spacing: -1px;
	font-weight: 100;
}
 
 
.left h3 {
	color: #FF7400;
	padding: 5px 0 15px 25px;
	font-size: 15px;
	letter-spacing: -1px;
	font-weight: 100;
}
 
 
 
 
 
 
 
.left ul { padding: 10px 0 10px 30px; list-style-type: square; }
.left ul li { padding-bottom: 5px; }
.left ul li a { color: #777; text-decoration: none;  }
.left ul li a:hover { color: #FF7400; }
 
#footer {
font-size: 15px;
color: #aaa;
text-align: left;
padding: 10px 0;
margin: 20px 0;
border-top: 1px solid #ccc;
}
#footer a { 
color: #aaa;
}
#footer a:hover {
color: #aaa; 
text-decoration: none; 
}
.main_pageheading2 {
	font-weight: bold;
}
.internal-advert {
	color: #666;
	text-decoration: none;
}
.main_pageheading1 {
	font-size: 24px;
	font-weight: bold;
	color: #000;
	text-align: center;
}