If your link to the css
is being looking relative to the file so:
href="css/seu_arquivo.css"
And your files are in the root folder of the directory (probably httpdocs or something like that) so the search of the file path takes place as follows:
httpdocs/css/seu_arquivo.css
It turns out that when you add the bar, your file that 'linka' the css understands that you are inside a folder roupas/
, soon he looks so:
httpdocs/roupas/css/seu_arquivo.css
To get around this there are two ways I know, one is by putting the absolute path with the url
of your domain:
href="http://meudominio/css/seu_arquivo.css"
Or the best solution is to put the path up a level folder if your files are all in the root folder of your domain like this:
href="../css/seu_arquivo.css"
Remembering that this goes for all file links (css
/js
) and in some cases on src
of the images.
Possible duplicate of htaccess does not load CSS with second parameter
– Guilherme Nascimento