0

Hi all,

Hope someone can help me with this issue. Repeat-y is posing me problems. In general, what I am trying to do is putting the most visited pages as a sitemap in the footer part of the website. (Like the ones you see in word press run websites). However, the first divider ends up at the end where there is no content. Please look at the attached photo for better understanding.

Here is my css

/*----------footer----------*/
#footer {
  clear:both;
  background:#174f80;
  min-height:225px;
  padding: 10px 5% 1em;
} 

#footer .content {
  width:100%;
  margin:0;
  color:#ffffff;
  font-size:11px;
}

#footer div
{
	float: left;
	width: 19%;
	padding-right: 2%;
	margin-right: 2%;
	background: url(images/dots.jpg) 100% 10px;	
	background-repeat: repeat-y;
}
#footer p
{
	clear: both;
	width: 59%;
	margin: 0;
	padding: 2em 0;
}

#footer ul
{
	margin: 0 0 1em 0;
	padding: 0;
	list-style-type: none;
	}

#footer li 
{
	background: url(images/arrows.jpg) no-repeat 0 .4em 100% 0; 
	padding-left: 10px;
}

#footer a:link{
  color:#c1d6ec;
 }

Have tried merely everything. Still the first divider winds up at the end. SOS!

Attachments footer.jpg 75.79 KB
2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by javlonchik
0

That won't tell me anything without the html.

It's in a Drupal theme. Here is the page.tpl that holds the layout.

<?php
// $Id: page.tpl.php,v 1.1 2008/04/15 18:31:16 dm66 Exp $
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>">
  <head>
    <title><?php print $head_title ?></title>
    <?php print $head ?>
    <?php print $styles ?>
    <!--[if IE]>
    <link type="text/css" rel="stylesheet" href="/<?php print $directory; ?>/fix-ie.css" />
    <![endif]-->
  </head>
  <body>
    <div id="container">
      <div id="header">
        <div id="search">
         nenenenekdkfjasklfdajsflka;dsjfal;ksdhfasdl;jf
        </div></div>
        <div id="nav">
          <?php if (isset($primary_links)) : ?>
          <?php print theme('links', $primary_links) ?>
          <?php endif; ?>
        </div>
      </div>
      <div id="sidebar_left">
          
          <?php print $left; ?>
        </div>
      <div id="content">
        <?php if ($mission) { ?><div class="mission"><?php print $mission ?></div><?php } ?>
        <?php print $breadcrumb ?>
        <h1><?php print $title; ?></h1>
        <?php if (!empty($tabs)): ?>
        <div class="tabs"><?php print $tabs; ?></div>
        <?php endif; ?>
        <?php print $help; ?>
        <?php print $messages; ?>
        <?php print $content_top; ?>
        <?php print $content; ?>
        <?php print $content_bottom; ?>
        <?php print $feed_icons; ?>
      </div>
        <div id="sidebar_right">
          <?php print $right; ?>
        </div>
      </div>
    <div id="footer">
      <div class="content">
        <?php print $footer_message; ?>
        <?php print $footer; ?>
      </div>
	
    </div>
  </body>
  <?php print $scripts ?>
</html>
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.