Old 20-01-2006, 07:26   #1 (permalink)
finbarr
who the fuck am i?
 
finbarr's Avatar
 
Join Date: Apr 2005
Location: london
Posts: 2,660
Send a message via MSN to finbarr Send a message via Skype™ to finbarr
aligning div to bottom?

is it possible to align a floated div to the bottom of another div and if so has anyone got a link to a tutorial?

I've tried just about everything I can think of and nothing doing

sorry cant provide a link to the page as yet
  Reply With Quote
Old 20-01-2006, 07:35   #2 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,205
you'd have to position it absolutely, relative to the outer div. bottom: 0 is a bit flaky in older version s of IE though.

Or depending on the content of the divs you could possibly fake it with some top margin on the inner div.

can be done would would need more info on the content/structure.
  Reply With Quote
Old 20-01-2006, 07:40   #3 (permalink)
finbarr
who the fuck am i?
 
finbarr's Avatar
 
Join Date: Apr 2005
Location: london
Posts: 2,660
Send a message via MSN to finbarr Send a message via Skype™ to finbarr
Quote:
Originally Posted by smallbeer
you'd have to position it absolutely, relative to the outer div. bottom: 0 is a bit flaky in older version s of IE though.

Or depending on the content of the divs you could possibly fake it with some top margin on the inner div.

can be done would would need more info on the content/structure.
hmmm... the top margin thing was the only way I had considered but I want to make it a fluid layout and there is more than one div in the parent div which may cause extra probelms on resize?

I'll carry on with the rest of it and post a link when I can.

thanks
  Reply With Quote
Old 20-01-2006, 10:33   #4 (permalink)
MikeMackay
Everything is fine.
 
MikeMackay's Avatar
 
Join Date: Feb 2005
Location: Witham & London
Posts: 905
Send a message via MSN to MikeMackay Send a message via Skype™ to MikeMackay
This is meant to be quite good, I've not tried it personally yet though:

http://www.themaninblue.com/writing/...ve/2005/08/29/

Hope that helps!

- Mike
  Reply With Quote
Old 20-01-2006, 10:56   #5 (permalink)
finbarr
who the fuck am i?
 
finbarr's Avatar
 
Join Date: Apr 2005
Location: london
Posts: 2,660
Send a message via MSN to finbarr Send a message via Skype™ to finbarr
Quote:
Originally Posted by MikeMackay
This is meant to be quite good
Cheers M...

Ive done it with absolute positioning the div in a relative positioned parent div but always good to have options.

Possibly I should have thought of this anyway as I nearly always use a neg margin to position my page footers... just didnt occur to me - brain must not be in gear today
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8