abc123
abc123

Reputation: 8303

Why is this element not starting at the top of its parent element?

On this page, why is .section not sitting at the top of #content?

I asked some friends, and they don't know either.

Upvotes: 0

Views: 54

Answers (3)

Matt Whipple
Matt Whipple

Reputation: 7134

Quite the disaster

(.tabs { display:none; } or .tabs { float: left; }) and #node-7 .field-item.even p { float:right; }

Upvotes: 0

abc123
abc123

Reputation: 8303

A friend figured out that there were 2 elements nested inside .content that were being put there by Drupal, that was causing the extra space at the top of #content. The wierd thing is, they have to be removed together, in order for the space to go away.

Upvotes: 0

Jezen Thomas
Jezen Thomas

Reputation: 13800

Because you've set #content to display: inline; float: left; on line 56 of layout.css.

Upvotes: 1

Related Questions