Copy link to clipboard
Copied
Hello!
I have problems getting the layout correct in when I finally upload a page to a server.
In the original version of the page, a text (h3) was aligned to the right.
My client wanted the text to be centered instead, so in styles.css I changed to:
text-align:center;
The text is now centered in code, also when pre-check in Chrome and Safari.
When I upload the document to a server, the text is still to the right. Am I doing something wrong here?
Thanks in advance for your kind answers.
I assume you are uploading the amended css file to the server. If so and you are still seeing the text aligned to the right it could be you are viewing a version of the page which has been cached in your browser. Try viewing the page in a different browser or renaming your css file. If you do that dont forget to update the link to it in your page.
These are just some suggestions and options which you can try to determine what the source of the problem is.
Copy link to clipboard
Copied
I assume you are uploading the amended css file to the server. If so and you are still seeing the text aligned to the right it could be you are viewing a version of the page which has been cached in your browser. Try viewing the page in a different browser or renaming your css file. If you do that dont forget to update the link to it in your page.
These are just some suggestions and options which you can try to determine what the source of the problem is.
Copy link to clipboard
Copied
Thanks a lot for your answer!
Stupid as I am, I forgot to upload the updated css file. Now everything works fine, I can sleep well tonight!
Thanks again for your kind reply.
/Göran