Sadly i have not had any positive progress. I did however fix the little snags in my code to make it look neater and easier to understand.
My "menu.css" file is the file that is the stylesheet for my "menuTable.php" file.
menuTable.php = list of links
menu.css = stylesheet
I am confused on when you said
In the body, just leave it be.. set your style in a stylesheet .css file for body and call it above in the head, before menu.css
When you said, "In the body, just leave it be..", what are you referring to when you said "it"?
When you said "set your style in a stylesheet .css file for body and call it above in the head, before menu.css", i think you mean by style, my back ground and other css syntax.
I saved that css syntax and called it in with a
- Code: Select all
<link rel="stylesheet" href="style.css">
before the link of "menu.css"
I took off the 2cd menu stylesheet as you said.
Here is FAQ.php:
- Code: Select all
<html>
<head>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="menu.css">
<style type="text/css">
body
{
background-image:url('BannerTileBackground.gif');
background-repeat:repeat-x;
width:100%;
height:100%;
}
</style>
</head>
<title>FAQ</title>
</head>
<body>
<center>
<?php include("menuTable.php"); ?>
<h4>This page is currently under construction</h4>
</center>
</body>
</html>
Here is menu.css:
- Code: Select all
*{ margin:0px; padding: 0px; }
#nav {
font-family: arial, sans-serif;
position: relative;
width: 550px;
height:56px;
font-size:20px;
color:#999;
margin: 0 auto;
}
#nav ul {
list-style-type: none;
}
#nav ul li {
float: left;
position: relative;
}
#nav ul li a {
text-align: center;
border-right:1px solid #e9e9e9;
padding:20px;
display:block;
text-decoration:none;
color:#999;
}
#nav ul li ul {
display: none;
}
Here is style.css:
- Code: Select all
<style type="text/css">
body
{
background-image:url('BannerTileBackground.gif');
background-repeat:repeat-x;
width:100%;
height:100%;
}
</style>
I hope i didnt post what was unneeded, but i had to be safe.
Could someone explain what i am doing wrong or what logic or syntax i am missing?
Thank you
I study Gotafu.