How to position two divs horizontally within another div

Its quite a common misconception that you need a clear:both div at the bottom, when you really don’t. While foxy’s answer is correct, you don’t need that non-semantic, useless clearing div. All you need to do is stick an overflow:hidden onto the container:

#sub-title { overflow:hidden; }

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)