Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - CSS: How to position a DIV below a floating DIV?

 
Thread Tools Search this Thread
Old 02-25-2004, 11:36 PM   #1
Default CSS: How to position a DIV below a floating DIV?


please take a look at this: http://saschadesigns.bluebinary.net/

I'm trying to get the copyright text to line up below all the other 3
divs, i.e. below the longest. The problem is that the left and right
divs are floated so do not stretch the containing div. I suppose the
only way is to not float the divs but I can't position absolutely cos
it's center aligned. Anyone got any ideas?

thanks,

T.

PS before anyone starts saying it doesn't look like much, this is only a
framework - the outlines are there to show where the divs are.


Tamlyn Rhodes
  Reply With Quote
Old 02-25-2004, 11:44 PM   #2
Mark Parnell
 
Posts: n/a
Default Re: CSS: How to position a DIV below a floating DIV?

On Wed, 25 Feb 2004 23:36:20 +0000, Tamlyn Rhodes
<> declared in alt.html:

> I'm trying to get the copyright text to line up below all the other 3
> divs


Try adding clear: both; to your #footer rule.

HTH

--
Mark Parnell
http://www.clarkecomputers.com.au
  Reply With Quote
Old 02-26-2004, 12:27 AM   #3
Tamlyn Rhodes
 
Posts: n/a
Default Re: CSS: How to position a DIV below a floating DIV?

Mark Parnell wrote:
>>I'm trying to get the copyright text to line up below all the other 3
>>divs

>
> Try adding clear: both; to your #footer rule.


duh, of course! thanks.

T.
  Reply With Quote
Old 02-26-2004, 10:33 PM   #4
Andy Dingley
 
Posts: n/a
Default Re: CSS: How to position a DIV below a floating DIV?

On Thu, 26 Feb 2004 00:27:23 +0000, Tamlyn Rhodes
<> wrote:

>> Try adding clear: both; to your #footer rule.

>
>duh, of course! thanks.


Reserve the "Duh!" for when you've spent ages trying to debug a rule
with "clear: all; " and you can't see why it isn't working.

DAMHIKT.....

  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump