Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-07-2011, 10:30 AM   PM User | #1
joliett89
Regular Coder

 
Join Date: Jul 2011
Posts: 172
Thanks: 64
Thanked 2 Times in 2 Posts
joliett89 has a little shameless behaviour in the past
What does collapse mean?

to collapse = join together ?
joliett89 is offline   Reply With Quote
Old 08-07-2011, 12:33 PM   PM User | #2
Sammy12
Registered User

 
Join Date: Jun 2011
Posts: 1,063
Thanks: 12
Thanked 241 Times in 240 Posts
Sammy12 is on a distinguished road
you mean elements collapsing?

that means that their isn't enough room for two floats, and one falls underneath the other.

collapse = fall
Sammy12 is offline   Reply With Quote
Old 08-07-2011, 12:47 PM   PM User | #3
joliett89
Regular Coder

 
Join Date: Jul 2011
Posts: 172
Thanks: 64
Thanked 2 Times in 2 Posts
joliett89 has a little shameless behaviour in the past
I was searching "collapse html", but there is more under "collapse css". I just looked at 2 now (there is 14 when I searched contents):

http://www.w3.org/TR/CSS2/box.html#collapsing-margins

In CSS, the adjoining margins of two or more boxes (which might or might not be siblings) can combine to form a single margin. Margins that combine this way are said to collapse, and the resulting combined margin is called a collapsed margin.

http://www.w3.org/TR/CSS2/text.html#egbidiwscollapse

<ltr>A <rtl> B </rtl> C</ltr>

...where the <ltr> element represents a left-to-right embedding and the <rtl> element represents a right-to-left embedding, and assuming that the 'white-space' property is set to 'normal', the above processing model would result in the following:

- The space before the B ( ) would collapse with the space after the A ( ).
- The space before the C ( ) would collapse with the space after the B ( ).


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

collapse = join together?
collapse = fall under?
collapse = overlap?
collapse = all the above?

Last edited by joliett89; 08-07-2011 at 12:56 PM..
joliett89 is offline   Reply With Quote
Old 08-07-2011, 01:18 PM   PM User | #4
Sammy12
Registered User

 
Join Date: Jun 2011
Posts: 1,063
Thanks: 12
Thanked 241 Times in 240 Posts
Sammy12 is on a distinguished road
so whats the problem
Sammy12 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:45 PM.


Advertisement
Log in to turn off these ads.