Forum Moderators: not2easy
... but for future reference what else could/should i be using. Can you suggest any reading material on this.I still haven't found what I think is a great resource on this. It's really about moving from divs-for-layout (which is really like tables-for-layout - just using divs instead), to marking up your html semantically, then using cascading style sheets to apply the styles to achieve the desired layout.
... there is a 2 or 3 pixel horizontal line ... It isn't in the graphic images and it has only appeared since defining the image location in the CSS but it was not an issue when it was in the HTMLNot seeing this, but it's the second time you've referred to before/after removing the image locations from the html. Can you post a snippet of the locations in the html (before), and the css (after)?
<!-- .................Middle & Bottom Content Start.............. -->
<div id="body" class="body_layout">
<div id"overlay">
</div>
<div id="middle-H" class="middle-H">
Welcome to Brighton Lighting Hire:
</div>
<div id="middle-P" class ="middle-P">
We provide professional lighting systems and lighting
technicians to bands, DJs, conferences, corporate
events, festivals, nightclubs, hotels and other
sound and lighting companies.
</div>
<!-- Bottom Content Start -->
<div id="bottom-H" class="Bottom-H">
Who We Are:
</div>
<div id="bottom-P" class="Bottom-P">
We are a local lighting company specialising in the
hire, installation, programming, operation and maintenance
of professional lighting systems. We are committed to providing
a high quality service paired with the very best equipment and technicians.
</div>
<div id="gear-i" class="gear-i">
</div>
<div id="artbracket">
</div>
<div id="arttxt" class="arttxt">
Worked with such artist as:
</div>
<div id="arttxt2" class="arttxt2">
Olly Murs... Calvin Harris... Goldie...
</div>
<!-- SlideShow -->
<div id="kenburns" class="slideshow">
<img src="pictures/1.jpg" alt="1">
</div>
</div>
<!-- .........Middle & Bottom Content End.......... -->
<!-- ............Footer Content Start.............. -->
<div id="footer" class="footer_layout">
<div id="jtl" class="jtl">
© J.T.L ***************. All Rights Reserved
</div>
</div>
<!-- ...........Footer Content End......... -->
<!-- Page End--> #body {
position: absolute;
margin-left: -436px;
left: 50%;
top: 113px;
width: 872px;
height: 649px;
z-index: 2;
background-image: url(../images/index.png);
}
#footer {
position: absolute;
margin-left: -436px;
left: 50%;
top: 747px;
width: 872px;
height: 83px;
z-index: 3;
background-image: url(../images/footer.png);
} [edited by: Cira at 1:29 am (utc) on Apr 26, 2011]