HighDots Forums  

Alignment of footer

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Alignment of footer in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Alignment of footer - 12-04-2003 , 01:19 PM






On my site, I have created a footer that is simply a shaded box with a
  character.

Using Server Side Includes, I use this footer on every page. On some
pages it loads fine, on other pages it is butted up against the left
side of the browser - as though the page margin was set to 0.

I cannot figure out why it is not displaying where it is supposed to
display. It is not contained within another DIV or SPAN element - as
far I can can see. Even if it were, all of the other elements on the
page have the correct margin.

The code for the stylesheet and the footer is pasted below.

Any help would be appreciated.

Thanks,
John S.

#footer {
width: 700px;
height: 25px;
background: #695A1BC;
border: 3px solid black;
border-left: 5px solid black;
}


<DIV id=footer>
&nbsp;
</DIV>

Reply With Quote
  #2  
Old   
Steve Pugh
 
Posts: n/a

Default Re: Alignment of footer - 12-04-2003 , 01:33 PM






john.storta (AT) jstorta (DOT) com (J.Storta) wrote:

Quote:
On my site, I have created a footer that is simply a shaded box with a
&nbsp; character.

Using Server Side Includes, I use this footer on every page. On some
pages it loads fine, on other pages it is butted up against the left
side of the browser - as though the page margin was set to 0.
URL?

Quote:
I cannot figure out why it is not displaying where it is supposed to
display. It is not contained within another DIV or SPAN element - as
far I can can see. Even if it were, all of the other elements on the
page have the correct margin.


#footer {
width: 700px;
height: 25px;
background: #695A1BC;
border: 3px solid black;
border-left: 5px solid black;
}


DIV id=footer
&nbsp;
/DIV
Well, it will force a scrollbar in any browser window narrower than
700px wide, which isn't good.

In fact I'd guess that the difference between pages that look okay and
those that don't is in the dimensions of the rest of the contents. But
no way to tell without a URL.

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.