Question : Div positioning problem

I have all of content of my page held within a container so that the content is in the centre of the screen.  Everything is behaving itself fine apart from one div "unique-ims".

As soon as I try to add left:25px to set it in line with the first square it shoots off to the far left of the screen as if it's not in the container any more.

I'd be really grateful if someone would have a quick look at my code to see why it won't do what it should do

TIA Flo
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
<link href="layout.css" rel="stylesheet" type="text/css" />
<link href="elements.css" rel="stylesheet" type="text/css" />


</head>

<body>

<div id="container">

<div id="unique-ims"><img src="images/unique-ims.gif" width="386" height="75"alt="Unique Information Management Solutions"/>
</div>

<div id="squares">

       <div id="red"></div></li>
       <div id="green"></div>
       <div id="blue"></div>
       
    </div><!--squares--> 
</div><!--container-->
</body>
</html>

html, body {
	margin: 0px;
	padding:0;
	height:100%;
	background-color:#333;
}


#container {
	width:760px;
	margin: 0 auto;
	height:100%;
	background-color:#000;
	min-height:100%;
}

#unique-ims {
	position:absolute;
	left:25px;
	width:760px;
}

#squares{
	text-align:center;
	position:absolute;
	width:760px;
	top:200px;
	height:200px;
}

Answer : Div positioning problem

I think you mean
1:
If DCount("*", "qy_ListEmployeeLeave", "([Forms]![frm_Switchboard].[txtEmployee] > '') And ([Forms]![frm_Switchboard].[cboRoom]) > 0") Then ...
Random Solutions  
 
programming4us programming4us