im learnign html css and js and i want to have a box in the midle of my screen that doesnt hit the sides so i can have a image as a background shoul i use a “main” for that r is there a beter way
What you are describing, without more context, sounds like a generic element like a div
or maybe a section
element.
The main
element is usually the container for the main content of the page (often excluding the header/nav and footer).
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.