WordPress.org

Ready to get started?Download WordPress

Forums

Header not centered in Chrome & Safari (1 post)

  1. Farhan K
    Member
    Posted 1 year ago #

    Hi there,

    I'm having some trouble with my header. It's centered in FireFox, IE and Chrome on PC, but when viewed on a mobile device the header is floating to the left of the page.

    Here are the pictures to show what I mean:

    http://img15.picoodle.com/i594/farhank/1j72_1a3_u8tke.png
    http://img13.picoodle.com/i594/farhank/1j72_436_u8tke.png

    Here is the CSS code for the header:

    #header {
    	width: 980px;
    	height: 117px;
    	background: #FFFFFF url(images/header.jpg) no-repeat;
    	margin:0px auto;
    
    	margin-top: 10px;
    	padding: 0 0 0 0; }

    Any idea on how to fix this? I'm guessing it's a simple CSS fix.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic