Highlighted

Layout issue

New Here ,
Nov 17, 2019

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.Dreamweaver D uploaded versionDreamweaver D uploaded versionDreamweaver C pre-checkDreamweaver C pre-checkDreamweaver B code pageDreamweaver B code pageDreamweaver A stylesDreamweaver A styles

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.

TOPICS
Code, How to, Performance, Preview, Publish

Views

215

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Layout issue

New Here ,
Nov 17, 2019

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.Dreamweaver D uploaded versionDreamweaver D uploaded versionDreamweaver C pre-checkDreamweaver C pre-checkDreamweaver B code pageDreamweaver B code pageDreamweaver A stylesDreamweaver A styles

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.

TOPICS
Code, How to, Performance, Preview, Publish

Views

216

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 17, 2019 0
LEGEND ,
Nov 17, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 17, 2019 2
New Here ,
Nov 17, 2019

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 17, 2019 0