HighDots Forums  

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

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


Discuss Re: How do I place a footer after many absolute DIVs ??? in the Cascading Style Sheets forum.



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

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 05:59 AM






pamelafluente (AT) libero (DOT) it wrote:

Quote:
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.
Then you've go problems - unless you know the height of the column (and can
absolutely position the other content), then you've no way of knowing
where "after" is.

Quote:
div class=c3bg style="top:...
div class=c3bg style="top:...
On the subject of which - how do you know where "after" is for the second of
those divs? (Hint: The user might change their font size).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #2  
Old   
pamelafluente@libero.it
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 06:17 AM






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.

I thought that with a mix of Javascript (to retrieve the end of the
document)
and CSS this could be done.

(I could keep track of the last pixel written programmatically, but, if
possible, I would like to avoid that complication.)

I would prefere something self contained based on CSS (and possibly
javascript, if necessary)

-Pam


David Dorward ha scritto:

Quote:
pamelafluente (AT) libero (DOT) it wrote:

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.

Then you've go problems - unless you know the height of the column (and can
absolutely position the other content), then you've no way of knowing
where "after" is.

div class=c3bg style="top:...
div class=c3bg style="top:...

On the subject of which - how do you know where "after" is for the second of
those divs? (Hint: The user might change their font size).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/
Home is where the ~/.bashrc is


Reply With Quote
  #3  
Old   
Chris F.A. Johnson
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 06:32 AM



On 2006-08-20, pamelafluente (AT) libero (DOT) it wrote:
Quote:
Hi David,

As to fonts, No the user cannot change sizes. Everything is done
absolutely with pixel precision.
That is almost always a mistake.

Quote:
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.
The user can always change it, unless you have some way of
absolutely controlling the users' browser and environment.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


Reply With Quote
  #4  
Old   
Nije Nego
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 06:54 AM



On 20 Aug 2006 03:17:54 -0700, pamelafluente (AT) libero (DOT) it wrote:

Quote:
User cannot change
it.
You'd be suprised!

--
buy, bought, bye


Reply With Quote
  #5  
Old   
pamelafluente@libero.it
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 07:08 AM



Quote:
As to fonts, No the user cannot change sizes. Everything is done
absolutely with pixel precision.

That is almost always a mistake.
Agree with that from the perspective of a web artist. My perspective is
that
of a document prepared in a page setter (like quark Xpress) and
outputted to web.
There are many other things (pictures, label, text) to match: so
precision is a feature.

Quote:
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.

The user can always change it, unless you have some way of
absolutely controlling the users' browser and environment.
That I have just tried. Changing the font size from the menu has no
effects (tried with IE).

Thanks for the advice. If all of you experts think there is no clean
solution in js/css, I will resort
to compute the last div position programmatically. Let me know...

-Pam



Reply With Quote
  #6  
Old   
pamelafluente@libero.it
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 07:22 AM




Nije Nego ha scritto:

Quote:
On 20 Aug 2006 03:17:54 -0700, pamelafluente (AT) libero (DOT) 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

Quote:
--
buy, bought, bye


Reply With Quote
  #7  
Old   
David Dorward
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 07:22 AM



pamelafluente (AT) libero (DOT) it wrote:

Don't top post.

Quote:
As to fonts, No the user cannot change sizes.
Wrong. The user can always change the font sizes.

Quote:
Everything is done absolutely with pixel precision.
Almost always a mistake on the WWW.

Quote:
Fonts are fixed defined in pixels.
Which will stop the user from resizing the text ... if (and only if) they
use Internet Explorer ... and if (and only if) they don't use a custom
style sheet ... and if (and only if) they don't tell their browser to
ignore font size information from websites ... and if (and only if) they
don't have a bookmarklet to zap font size information ... and ... and ...
and.


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #8  
Old   
pamelafluente@libero.it
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 07:37 AM



David Dorward ha scritto:

Quote:
pamelafluente (AT) libero (DOT) it wrote:

Don't top post.
Do not understand the meaning of "top post". What does that mean?
Sorry if I have done something wrong (I use Google to post).

Quote:
As to fonts, No the user cannot change sizes.

Wrong. The user can always change the font sizes.

Everything is done absolutely with pixel precision.

Almost always a mistake on the WWW.
Answered above.

Quote:
Fonts are fixed defined in pixels.

Which will stop the user from resizing the text ... if (and only if) they
use Internet Explorer ... and if (and only if) they don't use a custom
style sheet ... and if (and only if) they don't tell their browser to
ignore font size information from websites ... and if (and only if) they
don't have a bookmarklet to zap font size information ... and ... and ...
and.
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?

Quote:

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/
Home is where the ~/.bashrc is
-Pam



Reply With Quote
  #9  
Old   
David Dorward
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 07:54 AM



pamelafluente (AT) libero (DOT) it wrote:

Quote:
David Dorward ha scritto:
pamelafluente (AT) libero (DOT) it wrote:

Don't top post.

Do not understand the meaning of "top post". What does that mean?
http://www.google.com/search?q=%22top%20post%22 - first hit

Quote:
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.
But they might have interest in having the text large enough to read. Or
they might have a minimum font size set.

Quote:
By the way is there some tag I can insert to avoid some of these
problems?
No.


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #10  
Old   
pamelafluente@libero.it
 
Posts: n/a

Default Re: How do I place a footer after many absolute DIVs ??? - 08-20-2006 , 08:11 AM



Quote:
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

Quote:
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.

Quote:
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



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 - 2009, Jelsoft Enterprises Ltd.