Grow your CSS skills. Land your dream job.

Css Issue on Mobile

  • # April 21, 2013 at 9:41 am

    I’m having trouble getting the logo to display properly on my iphone 4. Hoping someone might be able to help me figure out what’s wrong…

    http://bit.ly/15vf7WB

    Thanks!

    # April 21, 2013 at 12:15 pm

    @jay0316 Well, what’s happening to the logo? Can you elaborate and possibly provide a screenshot of the iPhone’s view of the website?

    # April 21, 2013 at 12:57 pm

    The quickest solution might be to add this line in the HEAD tag of your page:

    A better solution would be to clean up the header a bit, with the “header-inner” there, the 225 pixel padding, and the logo floated right, there’s a little bit of unnecessary code.

    (Quick assessment: remove the “header-inner” div, give the “logo” div a margin of 0 auto and don’t make it float right.)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".