Scott Smith
Scott Smith

Reputation: 135

Fixed body height on page, CSS seems to be fine

The portfolio page on my site, appears to have a body element that is stuck at around 86 pixels or so in height. I have searched through the HTML and CSS to see what may be the issue and came up empty-handed. Nothing appears to be setting the height of the body, although elements display fine outside of it. I would rather not use body {height: 100%;}. Thanks for looking into this for me.

Upvotes: 1

Views: 96

Answers (1)

rcorrie
rcorrie

Reputation: 921

You have no <HTML> or </HEAD> tags at the top

EDIT: Theres something wrong with that doctype you got up there too.. Removing that seems to fix your issue.

Upvotes: 2

Related Questions