Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Bottom positioning

Reply
Thread Tools

Bottom positioning

 
 
=?ISO-8859-1?Q?Fran=E7ois_de_Dardel?=
Guest
Posts: n/a
 
      12-21-2003
See: http://mapage.noos.fr/dardelf/2004.html

Is there a way I can position a line ("Happy New Year") to the bottom of
the window, irrespective of its size ? I think something was posted here
recently, but I did not save the note.

(Msg re-sent, because I did not see it in the NG 2 hours after sending
the 1st one).
--
François de Dardel
--
http://mapage.noos.fr/dardelf/
Utilisez mon adresse sur noos seulement
Use only my noos e-mail

 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      12-21-2003
in post <news:3fe58ace$0$18534$(E-Mail Removed)>
François de Dardel said:

> Is there a way I can position a line ("Happy New Year") to the bottom of
> the window,


p{width:99%;bottom:0;text-align:center;position:absolute;}

<p>xmas sucks big ones</p>

--
brucie
21/December/2003 10:17:07 pm kilo
 
Reply With Quote
 
 
 
 
DU
Guest
Posts: n/a
 
      12-21-2003
brucie wrote:
> in post <news:3fe58ace$0$18534$(E-Mail Removed)>
> François de Dardel said:
>
>
>>Is there a way I can position a line ("Happy New Year") to the bottom of
>>the window,

>
>
> p{width:99%;bottom:0;text-align:center;position:absolute;}
>
> <p>xmas sucks big ones</p>
>


Only Opera 7.x will render this correctly. Mozilla 1.x and MSIE 6 will
treat bottom:0 relative to the viewport, not to the document. The
correct way to position it relative to the viewport is to use
position:fixed, not position absolute. The specs are also quite clear on
this.

Mozilla has a bug on this.
Bug 105286: viewport used as containing block for absolutely positioned
elements instead of root (percentage height, %, bottom)
http://bugzilla.mozilla.org/show_bug.cgi?id=105286

Opera is correct.

DU
 
Reply With Quote
 
=?ISO-8859-1?Q?Fran=E7ois_de_Dardel?=
Guest
Posts: n/a
 
      12-21-2003
brucie wrote:
> in post <news:3fe58ace$0$18534$(E-Mail Removed)>
> François de Dardel said:
>>Is there a way I can position a line ("Happy New Year") to the bottom of
>>the window,

>
> p{width:99%;bottom:0;text-align:center;position:absolute;}


Many thanks, Brucie, it works fine with Safari and Netscape 7, not with
MSIE 5.2 (Mac) or iCab 2.9. Will test MSIE (PC) tomorrow.
(http://mapage.noos.fr/dardelf/2004.html)

--
François de Dardel
--
http://mapage.noos.fr/dardelf/
Utilisez mon adresse sur noos seulement
Use only my noos e-mail

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
css "div" bottom of window or bottom of content. Dan HTML 1 04-04-2008 09:40 AM
How do we know the memory arrangement using in microprocessors? Top-Bottom or Bottom-Top? Cuthbert C Programming 8 09-13-2006 12:09 PM
CSS to put text at bottom of browser window, or page bottom, whichever is lower? Noozer HTML 1 03-13-2006 10:35 AM
div id positioning w.r.t. bottom James Mercola HTML 7 08-24-2004 06:04 AM
Bottom positioning =?ISO-8859-1?Q?Fran=E7ois_de_Dardel?= HTML 1 12-21-2003 10:14 AM



Advertisments