Thread View: adobe.golive.macintosh
5 messages
5 total messages
Started by Jesper_M�ller
Fri, 13 Mar 2009 20:57
vertical alignment in xhtml
Author: Jesper_M�ller
Date: Fri, 13 Mar 2009 20:57
Date: Fri, 13 Mar 2009 20:57
4 lines
761 bytes
761 bytes
Im having problem with getting text and object to vertical align in div's. I cnat get them to position as i want them without position them with either margin/padding og using absolute position... Anny advise ??
Re: vertical alignment in xhtml
Author: Murray
Date: Sat, 14 Mar 2009 11:27
Date: Sat, 14 Mar 2009 11:27
4 lines
784 bytes
784 bytes
Uhhh - let's see the code. -- Murray
Re: vertical alignment in xhtml
Author: Jesper_M�ller
Date: Sat, 14 Mar 2009 14:58
Date: Sat, 14 Mar 2009 14:58
13 lines
1150 bytes
1150 bytes
Hi Murray Still working hard on the page so the page looks very unfinish, but here it is <http://home19.inet.tele.dk/jgom/js/> If you look at the logo-head part <div id="logohead"> <div>Kvalitet � Service � Garenti </div> woud like the payoff "Kvalitet � Service � Garenti" to be vertical align in the logohead div the only way i have found to do this is to set the line height to be the hight i want the div to be (55px) What i realy woud like is to ba able to vertical align the payoff (and the logo) without using linehieght and/or padding/margin
Re: vertical alignment in xhtml
Author: Murray
Date: Sat, 14 Mar 2009 22:10
Date: Sat, 14 Mar 2009 22:10
9 lines
1138 bytes
1138 bytes
Why do you have the <div> around the image? Why not just this? <div id="logohead"><img src="graphic/JS-logo-35x210.gif" alt="" width="210" height="35" class="logo" />Kvalitet . Service . Garenti</div> Anyhow, if you float that image, then the text will align to the top of it. -- Murray
Re: vertical alignment in xhtml
Author: Jesper_M�ller
Date: Sat, 14 Mar 2009 22:20
Date: Sat, 14 Mar 2009 22:20
11 lines
1043 bytes
1043 bytes
have the div around it to make a box with the blu border to the right of it. Also when floating that i make the payoff center over page canvas ;-)
Anyhow, if you float that image, then the text will align to the top of
it. Ok... think i have to rethink the page agin... (Think i have to do
that anyway to get the rounded corners to work)
Thanks
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads