Answer the question
In order to leave comments, you need to log in
Should you put navigation elements in separate divs?
Suppose I am doing layout on flexbox. Should I split the page into three divs at the beginning:
- Head
- Middle
- Footer
Position and then do a separate nav block inside the Head? I will make blocks with a simple template engine. Or immediately try to position the nav block as I need it through flexbox?
Answer the question
In order to leave comments, you need to log in
head is generally a service field, and you don’t need to shove any markup there, in a rare case, you can add css there in the tag, <style></style>
what you want can be done with one name for class : flex_element and wherever you put this class will be flexBox , and header, middle ,footer and other semantic html tags for a semantics act as a regular block
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question