If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1

Thread: CSS Help Needed

  1. #1
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Boston, MA
    Member #
    205 times
    Ok, so I took the plunge recently and started working with tableless layouts.

    Well, in my most recent project, I've been having some problems with the CSS for the HTML below.

    The problem I'm having is that I can't seem to get div#nav to stretch to 100% of the height of div#content - if I specify height: 100%, the height is given relative to the page, not the container.....

    Crap, nevermind, I figured out the answer while posting this. You just make the container at a fixed height (i.e. 400px) and it fixes the problem

      <div id="header">
          <div class="logo">
            <a href="index.jsp"><img src="images/logo.gif" /></a>
          <div class="menu">
            <xsl:apply-templates select="menu" />
      <div id="body">
        <div id="nav" />
        <div id="content">
      <div id="footer">
        <p class="copyright">Copyright 1999-2004 BitTime</p>


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 02:20 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: