Afficher un message
Vieux 18/03/2008, 16h36   #4
Dave Rado
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is it possible to vertical align in a div?

Hi dorayme

On 17 Mar, 22:14, dorayme <doraymeRidT...@optusnet.com.au> wrote:

> Perhaps you can develop from this idea, instead of your html:
>
> <div><img src="../images/Icons/AcrobatSmall.gif" border="0"
> height="100" width="21"></div>
>
> <div><img src="../images/Icons/Bookmark.gif" border="0"
> height="50" width="28"></div>
>
> <div><img src="../images/Icons/Key.jpg" border="0" height="250"
> width="26"></div>
>
> (I have exaggerated your img heights for demo purposes)
>
> And for css, nothing complicated at all, like:
>
> div {display: inline; margin:5%}


I tried your suggestion but must be doing something wrong - see my
mock-up at http://tinyurl.com/2pjwwy. Can you see what I'm doing
wrong? Also, I can't see anything in your code that specifies the
horizontal postions of the three icons. They need to have the exact
horizontal positions that were specified in my original mock-up at
http://tinyurl.com/35tv29.

See also my note to Ben C about my relative lack of expertise and need
for hand-holding.

Dave
  Réponse avec citation
 
Page generated in 0,15923 seconds with 9 queries