473,320 Members | 2,048 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,320 software developers and data experts.

Print Footers anomaly

Hi
I'm attempting to use css to place a footer at the bottom of the
printed version of a webpage. Like this:
<HTML><HEAD>
<TITLE>CSS2</TITLE>
<STYLE type="text/css">
@media screen
{
.printonly { display: none; }
}
@media print
{
.screenonly { display: none; }
}
BODY { height: 8.5in 11in}
#footer {
position: fixed; bottom: 10px; width: 100%
}
</STYLE>
</HEAD>
<BODY>

<BR><BR><BR><BR><BR><BR><BR><B*R><BR><BR><BR><BR>< BR><BR><BR>*<BR><BR><BR>

<DIV id="footer"> <FONT SIZE="-2"><CENTER>This is the footer
text.</CENTER></FONT> </DIV>
</BODY></HTML>
It works fine with the latest version of FireFox (the footer prints at
the bottom of the page) but not with Internet Explorer 6. Does IE6
implement the CSS standards required? Or am I missing something?

Jul 21 '05 #1
8 1812
JohnSouth wrote on 06 mrt 2005 in
comp.infosystems.www.authoring.stylesheets:


BODY { height: 8.5in 11in}
#footer {
position: fixed; bottom: 10px; width: 100%
} <DIV id="footer"> <FONT SIZE="-2"><CENTER>This is the footer
text.</CENTER></FONT> </DIV>
</BODY></HTML>
It works fine with the latest version of FireFox (the footer prints at
the bottom of the page) but not with Internet Explorer 6. Does IE6
implement the CSS standards required? Or am I missing something?


Try:

#footer {position: absolute; bottom: 10px;}

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 21 '05 #2
Thanks. That works much better!

JohnSouth
Pangbourne UK

Jul 21 '05 #3
Thanks. That works much better!

JohnSouth
Pangbourne UK

Jul 21 '05 #4
JohnSouth wrote on 06 mrt 2005 in
comp.infosystems.www.authoring.stylesheets:
Thanks. That works much better!


Please include a quote of the posting you are replying on.
This is not email but usenet

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 21 '05 #5
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
JohnSouth wrote on 06 mrt 2005 in
comp.infosystems.www.authoring.stylesheets:
Thanks. That works much better!


Please include a quote of the posting you are replying on.
This is not email but usenet


For the benefit of those using Google Groups Beta, if you use "Show Options"
and then "Reply" from there, it will include the quoted material (which you
can snip as appropriate to leave the relevant material to which you are
replying).
Why Google Groups Beta has the stupid default "Reply" option with no quoted
material, I can't imagine.
--
David Biddulph
Jul 21 '05 #6

"David Biddulph" <da***@biddulph.org.uk> wrote in message
news:d0**********@sparta.btinternet.com...
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
JohnSouth wrote on 06 mrt 2005 in
comp.infosystems.www.authoring.stylesheets:
Thanks. That works much better!


Please include a quote of the posting you are replying on.
This is not email but usenet


For the benefit of those using Google Groups Beta, if you use "Show
Options" and then "Reply" from there, it will include the quoted material
(which you can snip as appropriate to leave the relevant material to which
you are replying).
Why Google Groups Beta has the stupid default "Reply" option with no
quoted material, I can't imagine.


Save bandwidth?
Jul 21 '05 #7
Aidan wrote:
"David Biddulph" <da***@biddulph.org.uk> wrote in message
news:d0**********@sparta.btinternet.com...

Why Google Groups Beta has the stupid default "Reply" option with no
quoted material, I can't imagine.


Save bandwidth?


I doubt that was much of a consideration, considering all the extra
stuff that's already in the articles but just hidden with JavaScript.

BTW, if they dumped most of that stoopid JS, they could probably save a
lot more bandwidth than by not automatically quoting. That would be a
win-win all around, methinks. :)

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Jul 21 '05 #8
Tim
On Mon, 7 Mar 2005 12:36:36 +0000 (UTC),
"David Biddulph" <da***@biddulph.org.uk> posted:
Why Google Groups Beta has the stupid default "Reply" option with no quoted
material, I can't imagine.


Probably because it can't manage to neatly reply.

Various postings that I've seen show that it quotes just as badly as MSOE
(with all the mangled line wraps, etc., that MSOE is famous for).

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 21 '05 #9

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

Similar topics

12
by: Michael Foord | last post by:
Here's a little oddity with 'print' being a reserved word... >>> class thing: pass >>> something = thing() >>> something.print = 3 SyntaxError: invalid syntax >>> print something.__dict__...
1
by: michaaal | last post by:
I am developing an Intranet application for a business. I would like to be able to print out certain bits of information just as regular applications do. I realize that this is a little more...
4
by: Das | last post by:
Hi All, I want to have a link on the web form. On click it should print the web form. If I use javascript window.print then it displays the Title on the top of the page & URL at the bottom but i...
1
by: Kenneth | last post by:
Hi, In IE6 you can configure output to the printer getting a clean printout only with content, but without headers and footers. You remove the Header and Footer content from the Page Setup. But...
7
by: Robert Adkison | last post by:
I need to print a web page. It is my preference that my users just do a File/Print from explorer. That way my users will get the print dialog that will allow them to select the fax printer. The...
22
by: stephen | last post by:
I have created an order form that users javascript to create a new html document when the customers clicks the "print page" button. Once the new document has been created it then prints the...
3
by: John Peterson | last post by:
Hello all! I'm at my wits end trying to search for what I assumed to be a relatively straightforward task. I have a Web application written in C#, and I have a button on the form that I want to...
1
by: mai | last post by:
Hi everyone, i'm trying to exhibit FIFO anomaly(page replacement algorithm),, I searched over 2000 random strings but i couldnt find any anomaly,, am i I doing it right?,, Please help,,,The...
0
by: Andrew Meador | last post by:
I have implemented a printing scenario where an html file is printed using the the following code: public void PrintHtmlFile(string url) { RegistryKey IERegKey; string header = null; string...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.