• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Layout issue

New Here ,
Nov 17, 2019 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

TOPICS
Code , How to , Performance , Preview , Publish

Views

379

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
community guidelines

correct answers 1 Correct answer

LEGEND , Nov 17, 2019 Nov 17, 2019

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.

Votes

Translate

Translate
LEGEND ,
Nov 17, 2019 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.

Votes

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
community guidelines
New Here ,
Nov 17, 2019 Nov 17, 2019

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines