Quantcast

Forums | MacLife

You are not logged in.

#1 2003-09-11 3:47 pm

jdsmith575
Member
From: Texas Tech Univ.
Registered: 2001-04-09
Posts: 741
Website

Help with float and footer placement

This is the page in question

As I understand it, it is being rendered in IE 6 and Mozilla 1.4 properly (floats are taken out of the flow, correct?), which isn't how I want it to render. The footer, which normally sits below everything else, is riding behind the label span.

Take a look at some of the other pages for an idea of how the footer is normally placed.

Any suggestions as to how to get the footer back where it belongs? Oh, and I stole this from an AListApart article, in case you were wondering

The styles

Code:

#footer {
    text-align: center;
    font-size: x-small;
    padding: 0;
    margin: 0;
    }

.row {
    clear: both;
    padding-top: 10px;
    display: block;
    }
.row span.label {
    float: right;
    width: 190px;
    text-align: left;
    }
.row span.pic {
    float: left;
    width: 200px;
    text-align: left;
    }


The page

Code:

        <div id="content">
            <div id="contentbox">
                <h1>Summer 2003 Interns</h1>
                <p class="center">
                    <img src="./images/congressional/2003summer_group.jpg" width="381" height="256" alt="Summer 2003 Interns" />
                </p>
                <ul>
                    <li><a href="./current/congressional/">Program Information</a></li>
                    <li><a href="./current/congressional/guidelines/">Guidelines</a></li>
                    <li><a href="./current/congressional/2003summer/">Summer 2003 Interns</a></li>
                    <li><a href="./current/congressional/2003fall/">Meet our Fall 2003 Interns</a></li>
                    <li><a href="./current/congressional/application/">Online Application</a></li>
                    <li><a href="./current/congressional/photos/">Photo Album</a></li>
                    <li><a href="./current/congressional/contacts">Contacts</a></li>
                </ul>
                <p class="row">
                    <span class="pic"><img src="./images/congressional/harris_deidrea.jpg" height="282" width="200" alt="Deidea Harris" /></span>
                    <span class="label">
                        <p>
                            Deidrea Harris<br />
                            Agricultural Communications<br />
                            Pearland, Texas<br />
                            Congressman Kevin Brady
                        </p>
                    </span>
                </p>
####SNIP####                
    
                <p class="toplink">
                    <a href="./current/congressional/2003summer/#header">Top</a>
                </p>
                <p id="footer">
                    <?php include("http://www.casnr.ttu.edu/testing/footer.php"); ?>
                </p>
            </div>
        </div>

The footer

Code:

<?php
    print "Copyright © 2003 <a href=\"http://www.ttu.edu\">Texas Tech University</a><br />\n";
    print "\t\t\t\t\tAll Rights Reserved<br />\n";
    print "\t\t\t\t\t<a href=\"mailto:arcjobposting@hotmail.com\">Webmaster</a> | <a href=\"http://www.ttu.edu/privpolicy.php\">TTU Privacy Policy</a> | <a href=\"./sitemap/\">Site Map</a>\n";
?>

Any suggestions? Also, any commentary on the site would be greatly appreciated.

Offline

 

#2 2003-09-11 6:05 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: Help with float and footer placement

add clear:both to the footer.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#3 2003-09-11 9:36 pm

jdsmith575
Member
From: Texas Tech Univ.
Registered: 2001-04-09
Posts: 741
Website

Re: Help with float and footer placement

Thanks Scott. I'll give it a try tomorrow.

Offline

 

#4 2003-09-12 12:09 pm

jdsmith575
Member
From: Texas Tech Univ.
Registered: 2001-04-09
Posts: 741
Website

Re: Help with float and footer placement

That seems to have worked. Thanks.

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson