471,336 Members | 938 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

'clear: both' just inside the current div

how can i clear float inside a div without impacting others elements?
regards.

Aug 27 '07 #1
5 6124
rf

"Jean-Sébastien" <je***************@gmail.comwrote in message
news:11**********************@19g2000hsx.googlegro ups.com...
how can i clear float inside a div without impacting others elements?
regards.
overflow: auto; on the div.

--
Richard.
Aug 27 '07 #2
..oO(rf)
>"Jean-Sébastien" <je***************@gmail.comwrote
>how can i clear float inside a div without impacting others elements?
regards.

overflow: auto; on the div.
Might cause scrollbars. Better "overflow: hidden".

Micha
Aug 27 '07 #3
In article
<11**********************@19g2000hsx.googlegroups. com>,
Jean-Sébastien <je***************@gmail.comwrote:
how can i clear float inside a div without impacting others elements?
regards.
You almost always need to provide a context on this, a url would
be nice to explain what you mean by "impacting". Mac IE has some
strange impact effects in this area. What are you referring to?

--
dorayme
Aug 27 '07 #4
rf

"Michael Fesser" <ne*****@gmx.dewrote in message
news:3f********************************@4ax.com...
.oO(rf)
>>"Jean-Sébastien" <je***************@gmail.comwrote
>>how can i clear float inside a div without impacting others elements?
regards.

overflow: auto; on the div.

Might cause scrollbars.
True, but I'd rather have a scrollbar than ...
Better "overflow: hidden".
.... missing content.

--
Richard.
Aug 27 '07 #5
On Aug 27, 4:19 am, "rf" <r...@invalid.comwrote:
"Michael Fesser" <neti...@gmx.dewrote in message

news:3f********************************@4ax.com...
.oO(rf)
>"Jean-Sébastien" <jeansebastien....@gmail.comwrote
>how can i clear float inside a div without impacting others elements?
regards.
>overflow: auto; on the div.
Might cause scrollbars.

True, but I'd rather have a scrollbar than ...
Better "overflow: hidden".

... missing content.

--
Richard.
thank you css gurus. it works for me with hidden overflow. nothing is
hidden when i use clear property.

Aug 27 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Florian Brucker | last post: by
6 posts views Thread by Stan Brown | last post: by
77 posts views Thread by Ville Vainio | last post: by
4 posts views Thread by Russell Warren | last post: by
4 posts views Thread by shapper | last post: by
17 posts views Thread by toton | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.