Hi! I’m trying to make a page, now only use HTML and no CSS.
When I open the live server the page doesn’t have full width.
It got borders and when I use background colors in the body or in a div it looks like a box.
Does any one know how to fix this, with html?
Solution: In add style=“width: fit-content; margin: 0;”.
Technically you can move all CSS into inline styles using the style attribute, but it is going to be much more complicated and fragile. Use CSS if you want to style anything.
Well, If you notice the div where is “Stark Industries” logo . The div doesn’t start at the beginning of the page, or the sides of the browser. It´s like a floating box. The image don’t starts from the left, it has a gap between