I'm something new using this tool and I wanted to ask a question about inheritance of style with CSS
, I have my main page that looks like this:
In the same project I create another file HTML
and copy the same code from the main page with the difference in the file name, one file is called index-copia.html
and the other is called pacas.html
but both have exactly the same code and refer to the same file CSS
, but the file named pacas.html
is displayed like this
It distorts, changes the size of letters, size and space between images of the flag and logo and everything else. Why does that happen if the 2 files are inheriting the same style?
On other occasions, I copied the main file called index-copia.html
into a new folder with its respective style and it is distorted, it seems that only the first created file takes the style, the other files that inherit or try to inherit the style are displayed distorted
Can someone give me an idea of why this happens?