Hi,
It doesn't look too bad at the moment 
To get the more info on one line you need to float both items left and right. Then you can put bthe border underneath with a separate div.
Code:
<div id=main>
<div class = "homepage_item1">
<h1>Game design & development</h1>
<h2>more info »</h2>
<div class="border"></div>
<p>Mediakitchen design & develop custom games</p>
<p><a href = "#">View examples</a></p>
</div>
CSS:
Code:
div.homepage_item1 h1 {
font-size: 12px;
color: #00436E;
font-weight: bold;
float:left;
margin-bottom:0;
}
.border{
border-top: 1px #8F8F8F dotted;
height:1px;
overfloww:hidden;
clear:both;
margin-bottom:5px;
}
div.homepage_item1 h2 {
font-size: 9px;
color: #A90000;
font-weight: normal;
float:right;
margin-bottom:0;
}
If you follow that format for your other divs it should display ok.
Try to minimise your code while writing it. You have a lot of duplicated styles. Especially for those four main divs.
Define all the common styles with a multiple selector and then just style the difference after.
e.g.
Code:
#div1,#div,2,#div3,#div4 {
color:red:
background:blue;
width:100px;
height:200px;
position:absolute;
left:100px;
top:100px;
}
#div2 {left:200px}
#div3{left:300px}
#div4{left:400px}
Thats just an example but saves almost 70% of the code.
I also noticed you have positioned the elements using relative positioning. This is not a good idea and you should use a combination of static, floated or absolutely placed elements.
When you use relative positioning you leave gaps all over the place that can bnever be filled without extra positioning and soon beciomes very messy.
I would just float the elements left and right and then clear them for following content.
Hope that helps.
Paul
Bookmarks