HighDots Forums  

changing position of two fluid DIVs using CSS

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss changing position of two fluid DIVs using CSS in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TKapler
 
Posts: n/a

Default changing position of two fluid DIVs using CSS - 06-07-2007 , 03:20 PM






I got two divs of unknown height (width is 100% of the parent
container), and I need to change their position, so the second one
will be shown above the first one. Is it possible using just CSS?
live example is here: http://kapler.cz/test.html
--
thank you
Tom


Reply With Quote
  #2  
Old   
David Stone
 
Posts: n/a

Default Re: changing position of two fluid DIVs using CSS - 06-07-2007 , 04:01 PM






In article <1181244056.521872.51040 (AT) m36g2000hse (DOT) googlegroups.com>,
TKapler <kapler (AT) gmail (DOT) com> wrote:

Quote:
I got two divs of unknown height (width is 100% of the parent
container), and I need to change their position, so the second one
will be shown above the first one. Is it possible using just CSS?
live example is here: http://kapler.cz/test.html
Why can't you just change the order in the html document?


Reply With Quote
  #3  
Old   
Ben C
 
Posts: n/a

Default Re: changing position of two fluid DIVs using CSS - 06-07-2007 , 04:30 PM



On 2007-06-07, TKapler <kapler (AT) gmail (DOT) com> wrote:
Quote:
I got two divs of unknown height (width is 100% of the parent
container), and I need to change their position, so the second one
will be shown above the first one. Is it possible using just CSS?
live example is here: http://kapler.cz/test.html
I don't know of a way in CSS if the divs have unspecified heights. Easy
in JavaScript/DOM though.


Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.