BUY A SHIRT!
The ED TShirt Shop is open for business! Use discount code ED2009 for 10% off! Click here to shop.
ED5 Pollfest is going on now! Register a forums accounts and help us find the best article in the five year history of Encyclopedia Dramatica. Check out the three polls running today: [1] [2] [3]



Template:Clear

From Encyclopedia Dramatica

Jump to: navigation, search

Assuming you've got images floating on one side of the page, this template separates them from all the content below. Good for gallery headers that get orphaned from a gallery. Oh, and chicks dig it.

This header is not after {{Clear}}.

If you've got a gallery (or similarly wide content) right below a header, you'll end up with a shitload of whitespace between the header and the crap you meant to show. (For the vast majority of users and resolutions.)

This header is after {{Clear}}.

Need another example? Pull up an old Bitches don't know and look at the whitespace between the "Gallery" header and the gallery itself. Ugly, huh? Kids would add an arbitrary number of line breaks manually to get around it, but it's not even remotely precise. Sure, there may be more white space than you like, but that's because Headers and images come with a ton of padding.

Why not <div style="clear:both;"></div>

You can. You can also {{subst:Clear}}, but if an HTML illiterate deletes it, don't come crying to us.

Link to this