Re: [WSG] a Div tag won't pick up the height of a floated image?

2009-02-17 Thread Luke Hoggett
Perhaps google.com might help. Really Brett this list is to discuss  
web standards, not to provide tutorials for lazy people.




On 17/02/2009, at 5:25, Brett Patterson  
inspiron.patters...@gmail.com wrote:


Will a div tag pick up the height of an image that is floated left?  
I have an image that is floated to the left and an unordered list  
that I am trying to get to move to the right side of an image, in a  
horizontal layout...the unordered list (navigation bar) is also in a  
horizontal line position. I need the navigation to align to the  
bottom of the image...the image's height is 100px, and the width is  
200px...how would I accomplish this?


--
Brett P.

***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] a Div tag won't pick up the height of a floated image?

2009-02-17 Thread Brett Patterson
Okay, I have found a viable solution, so thanks to those that helped, your
links were much appreciated.

--
Brett P.


On Tue, Feb 17, 2009 at 6:03 AM, Luke Hoggett luke.hogg...@gmail.comwrote:

 Perhaps google.com might help. Really Brett this list is to discuss web
 standards, not to provide tutorials for lazy people.



 On 17/02/2009, at 5:25, Brett Patterson inspiron.patters...@gmail.com
 wrote:

  Will a div tag pick up the height of an image that is floated left? I have
 an image that is floated to the left and an unordered list that I am trying
 to get to move to the right side of an image, in a horizontal layout...the
 unordered list (navigation bar) is also in a horizontal line position. I
 need the navigation to align to the bottom of the image...the image's height
 is 100px, and the width is 200px...how would I accomplish this?

 --
 Brett P.

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***



 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] a Div tag won't pick up the height of a floated image?

2009-02-16 Thread Prisca schmarsow
Brett,

not sure if I understood you correctly but this seems easily solved byt
clearing the float with your navigation bar. If I read this right - you are
talking about 2 different lists? One to be positioned next to the image, the
other (navigation bar) to sit below image and list?

in that case:

   1. image floated left
   2. your ul (following the image in the HTML) will be positioned right,
   next to the image
   3. the navigation bar's ul then needs to be given 'clear: left' in the
   CSS in order to sit below both the image and first list

Hope this helps - and sorry if I misunderstood ;)

Prisca
On Mon, Feb 16, 2009 at 6:25 PM, Brett Patterson 
inspiron.patters...@gmail.com wrote:

 Will a div tag pick up the height of an image that is floated left? I have
 an image that is floated to the left and an unordered list that I am trying
 to get to move to the right side of an image, in a horizontal layout...the
 unordered list (navigation bar) is also in a horizontal line position. I
 need the navigation to align to the bottom of the image...the image's height
 is 100px, and the width is 200px...how would I accomplish this?

 --
 Brett P.

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




-- 
• graphiceyedea.co.uk • eyedea.eu • eyelearn.org •
--


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


Re: [WSG] a Div tag won't pick up the height of a floated image?

2009-02-16 Thread Gunlaug Sørtun

Brett Patterson wrote:

Will a div tag pick up the height of an image that is floated left?


Only if the div is styled to contain floats...

http://www.gunlaug.no/contents/wd_example_01.html

Lots of options linked in on that page.

regards
Georg
--
http://www.gunlaug.no


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***