Evening All.

I am busy creating a website that will have about 20 pages. So I have made a header and a footer (include("");). now that i am ready to start with the main content of the site i cannot seem to add div tags to the css file inside the include("header.php").

Please could someone explain to me how i can add more div tags to the same stylesheet.

I would like to use one style sheet for this website as it is a small site.

I am a beginner at php so if you could help me out I would really appreiciate it.

Thank you very much.

8 Years
Discussion Span
Last Post by spthorn

This is the header include().

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles.css" rel="stylesheet"  type="text/css" />
<link type="text/css" href="menu-style.css" rel="stylesheet"/>
<title>Untitled Document</title>
<style type="text/css">
body {
	background-color: #FFFFCC;
	margin-top: 0px;

<div id="body">
<!-- start of header container -->
  <div id="header-container">
    <div id="black-box"></div>
    <div id="flash-logo">
      <div id="logo"><img src="images/IKB.jpg" alt="IKB Logo" /></div>
      <div id="main-flash-container">
        <object width="450" height="200">
        <param name="movie" value="flash/home_banner.swf">
        <embed src="flash/home_banner.swf" width="450" height="200">
  <!-- end of logo and flash home banner  -->
  <!--  menu starts here  -->
  <div id="menu-container">
  	<ul class="solidblockmenu">
        <li><a href="http://www.istl.com/arpad/IKB/index1.html" class="current">Home</a></li>
        <li><a href="http://www.istl.com/arpad/IKB/about.html" >About Us</a></li>
        <li><a href="http://www.istl.com/arpad/IKB/interior.html">Interior Architect</a></li>
        <li><a href="http://www.istl.com/arpad/IKB/portfolio.html">Portfolio</a></li>
        <li><a href="http://www.istl.com/arpad/IKB/links.html">Links</a></li>
        <li><a href="http://www.istl.com/arpad/IKB/contact-us.html">Contact</a></li>
	</ul><br />
  <!--  main body container starts here  -->
  <div id="body-container"><br />
  	<div id="information-container">

This is the footer include():

</div><br />
  <!--  footer starts here  -->
  <div id="footer-container">
    <div id="biulder-logo"><img src="images/NHBRC.jpg" alt="National building assoc" border="0" /></div>
<!-- end of body div -->  


OK, you don't have any divs inside your CSS so I'm not entirely sure what you want to do. If you want to add more stylesheets just use

<link type="text/css" href="yourstylesheethere.css" rel="stylesheet"/>

I would like to add more styles inside the styles.css file that has been saved inside the include. So how can i add more styles in that specific css file?

Thanks for you patience?


This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.