473,788 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I place a footer after many absolute DIVs ???

Dears,

I'd like to know the cleanest solution for the following problem.
I want to insert some CSS/htm after a long vertical column
of DIVs absolutely positioned.

Since this code is generated automatically by a streamwriter, I am
looking for the cleanest and simplest solution possible.

I would like:
- No reference to external stylesheet
- No solution where I have to write something "before and after" some
other code. The code should be in on place only, possibly at the end of
the page.

Thank you very much,

Pam

----------------------------------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=UT F-8">
<style type="text/css" media="screen">
..c0bg{position :absolute...
..c0fg{position :absolute...

..... A lot DIVs here in a long vertical column ...
.... All DIVs absolutely positioned

<div class=c3bg style="top:...
<div class=c3bg style="top:...
Q. How do I place the following at the bottom of the page ?

<br><p><b><fo nt face="Tahoma" size="2" color="#99CCFF" >Page
automatically generated on ... </font></a></font></b></p>

</body>
</html>

Aug 20 '06
22 2242
Do not understand the meaning of "top post". What does that mean?
>
http://www.google.com/search?q=%22top%20post%22 - first hit
Ah I see. That stuff "David Dorward ha scritto:" is inserted
automatically by Google. Perhaps they want all posters to look "idiot".
As to the definition:
"This term is generally used pejoratively with the implication that the
offending person is a newbie, a Microsoft addict (Microsoft mail tools
produce a similar format by default), or simply a
common-and-garden-variety idiot.",

I would be curious to know in which category I could fall according to
your opinion :)
But they might have interest in having the text large enough to read. Or
they might have a minimum font size set.
They can be set it in the Designer. There are many elements whose
position cannot
be jeopardized (like a magazine page) otherwiae the report become a
mess. It's not an artistic web page, it's a precisely designed
enterprise report.
>
By the way is there some tag I can insert to avoid some of these
problems?

No.
:(

By the way, nice blog. I feel honored to be helped by someone
contributing to the css3 spec.

Ciao,

-Pam

Aug 20 '06 #11
On 20 Aug 2006 04:22:16 -0700, pa***********@l ibero.it wrote:
Nije Nego ha scritto:
>On 20 Aug 2006 03:17:54 -0700, pa***********@l ibero.it wrote:
>>User cannot change
it.

You'd be suprised!

eh? I do not want surprises. Tell me if there is anything I should take
care of :)

-Pam
>>
--
buy, bought, bye
When it comes to www - the only way to protect your design (in graphic
point of view), is to upload it as graphic file.

This goes for font sizes as well.

And, even so, user has the last word, he can choose not to view images.

--
buy, bought, bye
Aug 20 '06 #12
On 20 Aug 2006 04:37:02 -0700, pa***********@l ibero.it wrote:
>Good to know that. The pages are web rendering that try to clone
pages made with a page setter. The user should not have interest to
spoil his layout work, done on the page setter.

By the way is there some tag I can insert to avoid some of these
problems?
If you have a genuinely good reason for maintaining a completely fixed
layout (it does happen occasionally - I can't judge from your post
whether this is the case here) then the best approach is probably to
provide a PDF document to the reader.

Or you might provide two versions: a flexible HTML layout for easy
on-screen reading and a PDF for producing nice printed copies.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Aug 20 '06 #13
If you have a genuinely good reason for maintaining a completely fixed
layout (it does happen occasionally - I can't judge from your post
whether this is the case here) then the best approach is probably to
provide a PDF document to the reader.
We already do. But enterprises want web pages mostly.
>
Or you might provide two versions: a flexible HTML layout for easy
on-screen reading and a PDF for producing nice printed copies.
The relative positioning is not possible in my specific context, where
the precise relative position of several items of different nature is
crucial.

I know that if you could see all the code generated you would have some
tons of criticism, but I have to balance a lot of other things and
considerations. This is not a page manually created, but an attempt to
render as close as possible a design made in a composer.

There are also interactivity problem as I have to handle the click on
each cell. and there could be thousands of cell arranged in any
possible layout, not necessarily "tables".

Cells can have pictures and alarms inside. There can be label
superposed precisely on charts,... So a mess.

I am always trying to do the best compromise between many factors.

You are like artists. It's more less like telling Michelangelo to go
buy a paint at a shop. But most people are not Michelangelo, ... and
they do have to go buy it to the shop...

I bet 95% of you (in this group) would throw Front Page directly in the
dubstin, but nevertheless it's an indispensable tool to million of
persons who focus their life on other things (like money for instance).

I understand all the instances of you artists, and I try to get as
close as possible, because I admire you, but on the other hand must do
fight with a lot of other factors...

-Pam
>
--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Aug 20 '06 #14
pa***********@l ibero.it wrote:
Do not understand the meaning of "top post". What does that mean?

http://www.google.com/search?q=%22top%20post%22 - first hit

Ah I see. That stuff "David Dorward ha scritto:" is inserted
automatically by Google. Perhaps they want all posters to look "idiot".
Yes, but there isn't any need to put the entire response above it.
As to the definition:
"This term is generally used pejoratively with the implication that the
offending person is a newbie, a Microsoft addict (Microsoft mail tools
produce a similar format by default), or simply a
common-and-garden-variety idiot.",

I would be curious to know in which category I could fall according to
your opinion :)
Newbie (to Usenet), in a non-pejorative fashion.
>But they might have interest in having the text large enough to read. Or
they might have a minimum font size set.

They can be set it in the Designer.
I mean set in their browser (and it would apply to all websites).
There are many elements whose position cannot be jeopardized (like a
magazine page) otherwiae the report become a
mess. It's not an artistic web page, it's a precisely designed
enterprise report.
Perhaps, but HTML/CSS isn't a very good tool for achieving that type of
result.

--
David Dorward <http://blog.dorward.me .uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Aug 20 '06 #15
pa***********@l ibero.it wrote:
Hi David,

As to fonts, No the user cannot change sizes. Everything is done
absolutely with pixel precision. Fonts are fixed defined in pixels.
This is a very precise layout (enterprise report). User cannot change
it. User can only interact with it with some onclick onmousedown
events.
An Enterprise Report with precise laayout requirements should be
published as PDF, not HTML. PDF is customary for ssuch purposes. You are
mistaken in your belief that the user cannot change the font size in an
HTML page.

--
Jack.
http://www.jackpot.uk.net/
Aug 22 '06 #16
Nije Nego wrote:
On 20 Aug 2006 04:22:16 -0700, pa***********@l ibero.it wrote:
>Nije Nego ha scritto:
>>On 20 Aug 2006 03:17:54 -0700, pa***********@l ibero.it wrote:

User cannot change
it.
You'd be suprised!
eh? I do not want surprises. Tell me if there is anything I should take
care of :)

-Pam
>>--
buy, bought, bye

When it comes to www - the only way to protect your design (in graphic
point of view), is to upload it as graphic file.

This goes for font sizes as well.

And, even so, user has the last word, he can choose not to view images.
Indeed she can choose not to view PDF documents - or even HTML pages.

I am still recommending PDF for the OP's purposes.
>

--
Jack.
http://www.jackpot.uk.net/
Aug 22 '06 #17
pa***********@l ibero.it wrote:
>If you have a genuinely good reason for maintaining a completely
fixed layout (it does happen occasionally - I can't judge from your
post whether this is the case here) then the best approach is
probably to provide a PDF document to the reader.

We already do. But enterprises want web pages mostly.
With PDF, you can get precise control of typography, spacing and so on.
With HTML, you provide a flexible layout that should aim to look "good
enough" on as wide a variety of popular browsers s possible.

You need to explain to your "enterprise s", that they can have one, or
the other, or both; but they can't have both using the same technology
and the same URL.

If you're selling your services to these enterprises, then it's in your
interest to encourage them to go for both. Then you get to charge them
for two different designs.
>
There are also interactivity problem as I have to handle the click on
each cell. and there could be thousands of cell arranged in any
possible layout, not necessarily "tables".

Cells can have pictures and alarms inside. There can be label
superposed precisely on charts,... So a mess.
I thought you described these things as "enterprise reports" - what you
are talking bout seems to be some kind of applicattion, not a normal report.

There are web-based reporting tools that allow you to interactively
drill down into corporate databases, produce consolidated ready-to-print
regional sales figures, and all that; but they are expensive, and tend
not to work cross-browser, and tend not to respect the fact that some
users need to override the author's rendering suggestions. The fact that
these solutions are expensive *and* sell, suggests that the enterprises
that buy them aren't entirely on-the-ball.

The situtions in which I've seen these things demo-d and sold have some
or all of these characteristics :
* The solution is used exclusively by in-house staff
* The material being presented is more-or-less confidential
* In-house staff are required to use Internet Explorer version $LAST-1
* IE settings must allow all kinds of executable content to execute
uninterrupted
* The resulting page is often intended for use in sales proposals and
bids

Such software is expensive because it's complex and hard to write well.
The best solutions also have a "Render to PDF" option anyway.

If you output your report as XML, you can then use XSLT to generate
either nice, versatile HTML that will work in (nearly) any browser,
although it won't necessarily be anything like pixel-perfect; or PDF,
which will appear exactly as specified by the murketing department.
Generating PDF from XSL can be done with free/libre tools (there are
also expensive commercial tools that don't do a better job of it).
>
I am always trying to do the best compromise between many factors.

You are like artists.
Who? Me? I think not, somehow; I wish I had even the vestiges of good taste.
It's more less like telling Michelangelo to go buy a paint at a shop.
But most people are not Michelangelo, ... and they do have to go buy
it to the shop...
It's more like asking Leonardo to produce a gallery-grade masterpiece
rendition in oil of his latest prototype design for a flying machine.
He'd try to presuade you that not only would the design not be properly
readable if painted in oil; but that the proper medium for an
engineering drawing is - well - a drawing.
>
I bet 95% of you (in this group) would throw Front Page directly in
the dubstin,
Yer probably right.
but nevertheless it's an indispensable tool to million of persons who
focus their life on other things (like money for instance).
That is wrong. There is nothing that can be done with Front Page that
can't be done better and more easily using better tools. Front Page is
not only obsolete; it generates awful, unmaintainable HTML, and it ties
you into expensive technology from a single vendor (or at least it tries
to). Doing things better and more easily is the key to beating the
competition, and so to making money, and Front Page is unhelpful in
meeting that objective.

What it has going for it is that it comes for "free" with a certain
expensive office-productivity suite; and on the face of it, it seems to
be a drag-and-drop application. But even in the drag-and-drop world,
there are better HTML editors.
>
I understand all the instances of you artists, and I try to get as
close as possible, because I admire you, but on the other hand must
do fight with a lot of other factors...
Most of the people here are engineers of one kind or another (as far as
I can tell). And my sense is that you are neither an artist nor an
engineer, but an office functionary of some kind, who has been asked to
perform a task that is (currently) outside of their skill-set.
>
-Pam
Is that single hyphen your sig-separator:-?)
--
Jack.
http://www.jackpot.uk.net/
Aug 22 '06 #18
On 20 Aug 2006 09:46:59 -0700, pa***********@l ibero.it wrote:
>
This is not a page manually created, but an attempt to
render as close as possible a design made in a composer.
- cut
>
I bet 95% of you (in this group) would throw Front Page directly in the
dubstin, but nevertheless it's an indispensable tool to million of
persons who focus their life on other things (like money for instance).
When it comes to pixel precision:

Front Page is definitely not the tool for what you want to achieve.
Web is definitely not the medium for what you want to achieve.

This is one example how some people did it (not that I am advertising - try
to look at the site with images turned off - some people do so!)
http://www.farfungplaces.com/

You should try to explain further more to your clients, or train yourself
better, since pixel precision on www is Mission Impossible.

--
buy, bought, bye
Aug 22 '06 #19
Thank you to all guys for the interesting discussion. I do not come
often to this group, but I must admit it's always a pleasure to
interact with you. You are always so helpful. I feel this group has
something different from others I frequent more often, although I have
not yet fully realized what it is...

I will be monitoring this thread .. in case there are further
contributions.. . Thanks!!

Pam
Nije Nego ha scritto:
On 20 Aug 2006 09:46:59 -0700, pa***********@l ibero.it wrote:

This is not a page manually created, but an attempt to
render as close as possible a design made in a composer.
- cut

I bet 95% of you (in this group) would throw Front Page directly in the
dubstin, but nevertheless it's an indispensable tool to million of
persons who focus their life on other things (like money for instance).
When it comes to pixel precision:

Front Page is definitely not the tool for what you want to achieve.
Web is definitely not the medium for what you want to achieve.

This is one example how some people did it (not that I am advertising - try
to look at the site with images turned off - some people do so!)
http://www.farfungplaces.com/

You should try to explain further more to your clients, or train yourself
better, since pixel precision on www is Mission Impossible.

--
buy, bought, bye
Aug 22 '06 #20

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

Similar topics

82
10723
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | | | | | | | | left | center | right | | | | | | | | |
1
3947
by: Tony Benham | last post by:
Hi, I've been trying for a while, but I still haven't worked out a way of making a footer appear at the bottom of a webpage, and not at the bottom of the browser window ! See http://woodleyzebrasfc.port5.com/index.html for an example. The div with id footer appears at the bottom of the browser window, but I'm trying to make it appear at the bottom of the page, so that you scroll down to see it if needed, and it will be placed below the...
2
4477
by: Tristan Miller | last post by:
Greetings. I have a two-column web layout, where the first column is just the regular body text with a "marign-right" of 16em, and the second column is an "absolute"-positioned div with a width of 16em. I would like to have a footer extending across the entire width of the page, at the very bottom of the page (i.e., after both columns end). How can I do this? There is no way of knowing in advance which of the two columns will be...
7
2107
by: Ian Watts | last post by:
Hi I am designing a website for a local school, and I have knocked up a quick prototype for them to look at. http://www.ianwatts.info/schoolweb/ http://www.ianwatts.info/schoolweb/school.css The problem I am having is that the footer is not clearing both of the
11
8331
by: Peter Wu | last post by:
Hello, I want to create a Header and Footer for every ASPX page I build. I created 2 Web user controls respectively and placed them in an ASPX page. The problem is that I cannot position the Footer to be always at the bottom of the page. The Header and Footer are always together at the top of the page. Was I missing anything? Thanks!
5
1930
by: Richard Shewmaker | last post by:
Hi. I've been using CSS for basic stuff, mostly concerning fonts. I want to get going with using CSS fully. Two days ago I purchased O'Reilly's "Cascading Style Sheets" and "CSS Cookbook." I've been reading them and have tried some really basic stuff and am not having a very good time (lol). I'm feeling really stupid, to be honest. I was able to center an image on a page by mucking about with code primarily from the Cookbook. I only...
2
1377
by: dubing | last post by:
Hi, I'm trying to create a style sheet for print. Part of the style sheet is shown below. The three columns are layed out fine. But the footer is messed up with the navigation menu at the top. What should I do to make the footer always show up at the bottom of the page? Thanks in advance. == #container {
4
7817
by: TheCeej | last post by:
I'm sorry to post what is ultimately a myspace problem, but I'm sure I'd still be having this problem with any html/css document, so the answer would more than likely be able to help anyone out. I'm pretty sure I know what the problem is already. I just don't know how to fix it. I'd be very grateful of any help. I'll post what I'm trying to do, what keeps happening, what I believe the problem is, the link to my page and the css, and things...
4
29390
by: john | last post by:
Hi to All, I am new to html authoring, so sorry if my terminology is not correct or exact. I would like to position a footer div to the bottom of the browser window. As I research in the web shows this could be done a containing element with "min-height: 100%;" and an absolute positioned element (div) inside, aligned to bottom ("position: absolute; bottom:0px")
0
10366
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.