S
S
smoklew2016-01-31 16:38:00
PHP
smoklew, 2016-01-31 16:38:00

Why does the header not cover the blocks included in it?

Guys, there is a header which is 0 in height, although it has blocks, how to make its height depend on the blocks in it?
SAM CODE , if something gives.
CMS opencart.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grizzy, 2016-01-31
@Grizzy

Wangyu needs a clearfix

S
Stanislav Tretyakov, 2016-01-31
@babulja

Before the closing header put.
You used a float and didn't close it, so it affects the header.
Here - codepen.io/anon/pen/QyxVjL - added a black background to be seen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question