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!
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.
Copy link to clipboard
Copied
Thanks!