Ok here is the source code:
Code:
<!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>Index</title>
<link href="Stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="Dodo">
<div id="apDiv1"></div>
</div>
</body>
</html>
And here is the stylesheet:
Code:
.Dodo {
height: 800px;
background-color: #666;
}
#apDiv1 {
position:relative;
width:400px;
height:400px;
z-index:1;
margin: auto;
background-color: #999999;
top: 300px;
}
Now how would I place two buttons on the side of the big one that is in the middle? And make them line up perfectly?
Quote:
|
Here is an example, for you to try...
|
Well the thing is that I'd like to use ap div elements for the buttons...well I'd like custom images that is why. Plus the layout is quite different well...maybe you could just show me how to add two more ap div elements in the code I provided since the layout is fixed in that one. I'm not lazy it's just that I need to see things visually otherwise it's like chinese to me you see. xD Or anyone could tell me how to add two more ap div elements and line them up?
EDIT: Or maybe it's not good to use ap div elements for buttons? they seem to be very hard to line up correctly...