PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.CSS > no float:bottom -- what can be used instead??
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
no float:bottom -- what can be used instead??

Réponse
 
LinkBack Outils de la discussion
Vieux 18/03/2008, 16h40   #1
maya
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut no float:bottom -- what can be used instead??

hi,

pls take a look,
http://www.mayacove.com/misc/ss_html.gif

I need the blue image ("reading is fundamental") to be at the bottom...

the hight of content at the left will vary, but that image needs to be
right on top of footer links, not "hanging" from links on the right.

the whole thing is done in a table and I just would like to be put the
blue img in a div and somehow tell it to valign the div to the bottom
(put height="100%" for the table on the right, hoping it would stretch
that table down to cover height of content on the left, but it's being
ignored.. yes I know, this is not good practice, but trying anything
that works at this point..)

I can't put the blue img in row where footer links are, b/c then it
would look like this: http://www.mayacove.com/misc/ss_html2.gif (lines a
bit rough here, just dragged it down to show what I mean..)

thank you..





  Réponse avec citation
Vieux 18/03/2008, 19h58   #2
maya
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: no float:bottom -- what can be used instead??

Ben C wrote:
> On 2008-03-18, maya <maya778899@yahoo.com> wrote:
>> hi,
>>
>> pls take a look,
>> http://www.mayacove.com/misc/ss_html.gif
>>
>> I need the blue image ("reading is fundamental") to be at the bottom...
>>
>> the hight of content at the left will vary, but that image needs to be
>> right on top of footer links, not "hanging" from links on the right.
>>
>> the whole thing is done in a table and I just would like to be put the
>> blue img in a div and somehow tell it to valign the div to the bottom
>> (put height="100%" for the table on the right, hoping it would stretch
>> that table down to cover height of content on the left, but it's being
>> ignored.. yes I know, this is not good practice, but trying anything
>> that works at this point..)
>>
>> I can't put the blue img in row where footer links are, b/c then it
>> would look like this: http://www.mayacove.com/misc/ss_html2.gif (lines a
>> bit rough here, just dragged it down to show what I mean..)
>>
>> thank you..

>
> You need to use absolute positioning. Set the image's container to
> position: relative, and set the image to position: absolute and bottom:
> 0.
>
> If the container is a table cell this isn't going to work in Firefox (it
> doesn't let table cells be positioned containing blocks).
>
> You can use vertical-align: bottom on table cells but it's difficult to
> know exactly what structure you've got as you haven't posted a URL.


thank you.. I solved prob by taking out the table and simply adding
another row for that img (and putting 'rowspan=2' in adjacent <td>) like
that I put "valign=bottom" in 2nd row where that img is.. and that was
it....

but interesting what you suggest.. I had thought you cannot position any
element absolutely inside an element that is not itself positioned
absolutely..


thank you very much..








  Réponse avec citation
Vieux 18/03/2008, 23h31   #3
Bergamot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: no float:bottom -- what can be used instead??

maya wrote:
>
> I had thought you cannot position any
> element absolutely inside an element that is not itself positioned
> absolutely.


Take that statement and delete the last word, then you're closer to the
truth. Now go read
http://brainjar.com/css/positioning/

--
Berg
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h33.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09816 seconds with 11 queries