The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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…


    # April 21, 2013 at 12:15 pm

    This reply has been reported for inappropriate content.

    @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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed