Treehouse: Grow your CSS skills. Land your dream job.

Position is not constant.Have to always fix the margin everytime page reloads

  • # February 14, 2012 at 10:11 am

    I’ve been working in the project and i’m trying html5. So I have declared the < section> and place contents inside it.So i declared say margin:-15px its not aligned according to the grid.I find the correct value by Firebug say margin:-10px(even I change in the source) for an instant it seems it worked but when I reload the page,its not as aligned as previous.

    Thanx for the help in advance:D

    # February 14, 2012 at 10:13 am

    This is in Firefox only?

    # February 14, 2012 at 11:09 am

    Need a link to help you.

    # February 14, 2012 at 11:14 am

    yea it seems to be only in firefox!

    # February 14, 2012 at 11:17 am

    @paulie: I didn’t get you actually.

    # February 14, 2012 at 11:54 am

    What I meant was, if you provide us with a link to the page we can take a look at the whole thing and see what the issue might be.

    Otherwise we’re dealing with just a tiny portion of your code in isolation.

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

You must be logged in to reply to this topic.