Reply to Re: CSS Position Layer relative to bottom of another layer (cont.)

Your name:

Reply:


Posted by wayne on 02/19/06 05:51

Dave Smithz wrote:
> Hi there,
>
> A good while ago I posted a request about how I could get copy right message
> always be a fixed distance from the bottom of another layer / table.
> This meant I would be able to make the content of a particular page be as
> long as necessary and then the copyright message always be a fixed distance
> from the bottom of the text.
>
> I read all your useful messages, but could just not get it to work for me. I
> have decide to post the actual page and see if anyone can recommend how I
> would achieve what I'm after.
>
> Take a look at:
>
> http://www.d-geo.com/about-test.htm
>
> and see the copyright message at the bottom- this is a fixed position using
> a class that has an absolute positioning, but bearing in mind the rest of
> the page layout (as in the rest of the website is already rolled out in the
> current style), how do I add the copyright information so that it is in a
> fixed position below the text (without using Javascript).
>
> Also in an ideal world, the position of the copyright text would also be at
> a maximum vertical position on the page. Therefore if the text part is quite
> small on the page, the copyright message would only come up to a maximum
> point on the page (so it does not end up being too high on pages with a
> little text). This part is not as important.
>
> Hope this makes sense.
>
> Kind regards
>
> Dave
>
>

Replace your css for .copyright entries for margin-top and margin-bottom
with

top : auto;
bottom : 1em;

Regards,

--
Wayne
http://www.glenmeadows.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация