Hey guys,
I have been having some issues with my layout I don't want it to be fixed width and that's where the issue lies at full screen its fine but once I minimize it drops down below the nav bar.
Anyone willing to have a look or know have had this issue before?
HTML
CSS Code
I have been having some issues with my layout I don't want it to be fixed width and that's where the issue lies at full screen its fine but once I minimize it drops down below the nav bar.
Anyone willing to have a look or know have had this issue before?
HTML
Code:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" charset="utf-8"/>
<title>TITLE</title>
</head>
<body>
<div id="header">
</div><!-- header -->
<div id="wrapper">
<div id="left">
<div id="menu">
<?php include("menu.html") ?>
</div><!-- menu -->
</div><!-- left -->
<div id="right">
<h1>Home</h1>
<p>CONTENT</p>
<p>CONTENT</p>
<p>CONTENT</p>
<p>CONTENT</p>
<h1>About us</h1>
<p>CONTENT</p>
<p>CONTENT</p>
</div><!-- right -->
</div> <!-- wrapper -->
<div id="footer">
<div id="altnav">
<?php include("menu.html") ?>
</div><!-- altNav -->
<p>Copyright © FeelFitFitness designed by <a href="http://www.michaelp.co.uk/">Michael Pereira</a></p>
</div><!-- footer -->
</body>
</html>
CSS Code
Code:
html, body
{
margin:auto;
padding:0px;
font-family: Arial, Helvetica, Verdana, Sans-serif;
font-size: 12px;
color: black;
background-image:url(images/bg.png);
}
#wrapper
{
margin:auto;
}
#header
{
margin:auto;
height:152px;
background-color:#9F111B;
border-bottom: 1px solid #efefef;
background-image:url(images/banner1.png);
background-repeat:no-repeat;
background-position:center;
}
#header img
{
margin:auto;
}
#left
{
margin:20px;
float:left;
width:150px;
}
.nav a
{
font-size:130%;
font-weight:bold;
text-decoration:none;
color:black;
}
#menu
{
background-color:white;
margin:0px;
padding-top:10px;
padding-bottom:10px;
border:1px solid grey;
-webkit-border-radius: 40px;
-moz-border-radius: 40px;
border-radius: 40px;
}
#menu li
{
text-align:center;
list-style-type:none;
padding-top:10px;
padding-bottom:10px;
}
#menu ul
{
margin:0px;
padding:0px;
}
#right
{
float:right;
min-width:690px;
max-width:85%;
background-color:white;
padding-top:20px;
padding-bottom:30px;
margin-right:10px;
margin-top:4px;
margin-bottom:4px;
}
#right p
{
margin-left:30px;
margin-right:30px;
margin-bottom:10px;
}
#right h1
{
margin-left:30px;
margin-right:30px;
}
#footer
{
margin:auto;
min-height:100px;
clear: both;
font-family: Tahoma, Arial, Helvetica, Sans-serif;
font-size: 10px;
color: #c9c9c9;
padding: 13px 25px;
line-height: 18px;
background-color:#9F111B;
}
#footer a
{
color: #c9c9c9;
text-decoration: none;
}
#footer a:hover
{
color: #db6d16;
}
#altnav
{
width: 350px;
float: right;
text-align: right;
}
#altnav li
{
list-style-type:none;
}