Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorneit
    • CommentTimeMar 30th 2006
     permalink
    Hello, sorry in advance for my poor english ...
    I will try to explain clearly my problem .
    So I have one div (container) wich contain 2 others (2 colomns in fact)
    I want to place another div under this container div.
    When i add this other div it appears under the second colomn and not under the container, and it's only on firefox. In IE6 it comes under the container. I have find the solution to set a height for the container to force the div to go under but i'm sure there is another cleaner solution !!
    I hope you can help me
    Big thx
  1.  permalink
    you could try messing around with clear:both;
    • CommentAuthorKanashii
    • CommentTimeMar 30th 2006
     permalink
    Does the code validate first? Make sure you have closed the tag for the container div. Try what benjitastic suggested if still no luck can you possibly show us the page or the code : )
  2.  permalink
    Neit,

    If you have 2 columns side-by-side you're either floating them or using the position property. Setting a height is a solution, but it is only a temporary fix. In most cases web developers do not have the luxury of being able to know the exact height that a column will need to be.

    Check this out: Learn CSS Positioning in Ten Steps; I think it will help.

    Scott
    • CommentAuthorneit
    • CommentTimeMar 31st 2006 edited
     permalink
    I have the clear:both; element, and my html is very simple and validate .

    Thanks for helping me, and i will read the article about positioning ...

    Neit
    • CommentAuthorneit
    • CommentTimeMar 31st 2006
     permalink
    Waou Shame on me ... by reading the article about positioning, I understand where was my mystake !!
    Thanks for this helpfull link !
    • CommentAuthorMcJay
    • CommentTimeMar 31st 2006
     permalink
    Yup.. that's the ABC's of CSS design.. Do your homework and get your floats cleared out. (notice the wordplay).

    Totally irrelevant, but weekend is coming. Sry. :D
Add your comments
    Username Password
  • Format comments as (Help)