473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Alignment of footer

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>
Jul 20 '05 #1
1 1814
jo*********@jstorta.com (J.Storta) wrote:
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?
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 <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Cruzweb | last post by:
http://storm-enterprises.net/cgi/contact.php is the design Works fine in ie, but in firefox the content <div> expands behind the footer <div> and through the wrapper <div> background. Any help is...
67
by: S.Tobias | last post by:
I would like to check if I understand the following excerpt correctly: 6.2.5#26 (Types): All pointers to structure types shall have the same representation and alignment requirements as each...
2
by: Saket Mundra | last post by:
I have a webform in which i have used Image Control for displaying Header & footer. I have noticed that when i open the same webform in differnet IE windows having different settings for toolbars,...
13
by: aegis | last post by:
The following was mentioned by Eric Sosman from http://groups.google.com/group/comp.lang.c/msg/b696b28f59b9dac4?dmode=source "The alignment requirement for any type T must be a divisor of...
3
by: aljamala | last post by:
Hi All, I have reports which display various icons/buttons/dropdowns in the report header/footer area. However, I have one report that is about double the size of the screen, so there is a...
6
by: rupinderbatra | last post by:
Hello Everyone, I am working on a website and while trying to make rounded corners, I used a header and footer with rounded corners and a div between them to contain the text. In Internet...
14
by: issentia | last post by:
I'm working on this site: http://www.essenceofsoy.com/redesign/index2.html and I'm having a few problems with getting the layout exactly right. 1) When the menu items are rolled over, they...
5
by: wastedguitarist | last post by:
hey everyone, i have a site that i have designed in dreamweaver. In firefox, the site looks fine, but in IE the whole thing is vertically missalligned, apart from the header / menu. I have created...
2
by: wastedguitarist | last post by:
Hey guys, still having loads of trouble with this website, it looks fine in Firefox, and in IE8, but any previous version of IE looks terrible. The site can be viewed here...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.