- 1
How to do the header align?
3 ответов
+ 3
"header" or "heading" in web can refer to <head>, <header> or <h?> elements... or even any container element used as "header" in a layout context...
Need also the code context, and knowing if you want to align the "header" itself (relatively to its parent) or its own content (relatively to the element used as "header").
In the first case, you need to use an inline type element, otherwhise a block one will be center by itself, as its width take all available space in its parent (so, you need to make it inlined to set a specific width, or rather to center its content)...
+ 2
What is the context?
What kind of alignement?
Targeting what and relative to what?
What kind of 'header'?
@@
- 1
header mean a heading and want to align the header to center?