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

Header or picture scale across a page and be centered

Community Beginner ,
Mar 29, 2023 Mar 29, 2023

Copy link to clipboard

Copied

I just got thrown into this project and I have no idea what I am doing. I have done Muse, Flash, and Wordpress, but not Dreamweaver with css.... I need to make a graphic header that I created, stay centered and also scale all the way across a page when the page width changes. I found this starter template named basic - single page and somehow placed my graphic into it. Also trying to figure out how to get rid of the grey sidebars. Any help would be appreciated.

Thanks!

Views

151

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
Community Expert ,
Mar 29, 2023 Mar 29, 2023

Copy link to clipboard

Copied

To center a graphic header in Dreamweaver with CSS, you can use the following CSS code:

 

header {
width: 100%;
text-align: center;
}

header img {
display: inline-block;
margin: 0 auto;
}

 

This will center your header image and make it scale all the way across a page. You can also adjust the width of your header by changing the width property of your header element.

Wappler, the only real Dreamweaver alternative.

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
Community Beginner ,
Apr 05, 2023 Apr 05, 2023

Copy link to clipboard

Copied

LATEST

Thanks!

 

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