Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Poblems Re: Poblems

#54199
hal8
Member

Umm not at the moment

Here is the css

/* CSS Document */

*/

/* RESETS & BASIC PAGE SETUP */
* { margin: 0; padding: 0; }
html {overflow-y: scroll; }
body {
font: 62.5 Helvetica, sans-serif;
background: url(images/body-bg.jpg) top left repeat;
}

ul { list-style: none inside; }
p { font-size: 1.2em; line-height: 1.2em; margin-bottom: 1.2em; }
a {outline: none; }
a img {border: none; }
/* END RESET*/

/* TOOLBOX */
.floatleft { float: left; }
.floatright { float: right; }
.clear { clear: both; }
/* END TOOLBOX */

/* STRUCTURE AND STUFF */
#page-wrap {
width: 980px;
margin: 0 auto;
background: url(images/content-bg.jpg) repeat-y;
}

#main-content {
padding: 40px 60px 40px 60px;
}
ul#nav {
}
ul#nav li {
display: inline;
}
ul#nav li a {
display: block;
height: 87px;
text-indent: -9999px;
float: left;
}
ul#nav li.home a {
width: 193px;
background: url(images/nav-home.jpg) bottom center no-repeat;
}

ul#nav li.forum a {
width: 118px;
background: url(images/nav-forum.jpg) bottom center no-repeat;
}

ul#nav li.playing-abroad a {
width: 175px;
background: url(images/nav-abroad.jpg) bottom center no-repeat;
}

ul#nav li.education a {
width: 131px;
background: url(images/nav-education.jpg) bottom center no-repeat;
}

ul#nav li.PFA a {
width: 119px;
background: url(images/nav-pfa.jpg) bottom center no-repeat;
}

ul#nav li.contact a {
width: 244;
background: url(images/nav-contact.jpg) bottom center no-repeat;
}
ul#nav li a:hover {
background-position: top;
}

#footer {
min-height: 94px;
background: url(images/footer.jpg) no-repeat;
}

AND HERE IS THE HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
<html xmlns="http://www.w3.org/1999/xhtml"&gt;
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="page-wrap">

<ul id="nav">
<li class="home"><a href="#">Home</a></li>
<li class="forum"><a href="#">Forum</a></li>
<li class="playing-abroad"><a href="#">Playing Abroad</a></li>
<li class="education"><a href="#">Education</a></li>
<li class="PFA"><a href="#">The PFA</a></li>
<li class="contact"><a href="#">Contact Us</a></li>

</ul>

<div id="main-content">

<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Why do we use it?

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>

</div>

<div id="footer">
</div>

</body>
</html>