Grow your CSS skills. Land your dream job.

3 pixels

  • # September 22, 2008 at 8:50 pm

    Well i’ve posted on here a couple times and if you’ve read the other post you’ll probably find out how much i need help… ha ha…

    anyways… My top image is fine in IE but is off three pixels to the right in firefox…

    could anyone look at my code and see if they can give me some input as to why it might be doing this.

    thanks so much guys!!!

    links:
    http://www.dse33.com/mr2/interior.html
    http://www.dse33.com/mr2/welcomeglobal.css

    # September 22, 2008 at 9:36 pm

    changing the width of #container to 703px seems to fix it for firefox. Im not sure what this would look like in IE though

    # September 22, 2008 at 9:55 pm

    ha ha… it lines up perfectly in Firefox… but is one pixel off to the left in IE.

    # September 23, 2008 at 3:14 pm

    Use a conditional comment for IE. Set the width of #container so it works in Firefox, then override it in the conditional comment with a different value that works in IE. For example:

    Code:

    More on conditional comments here.

    # September 24, 2008 at 8:43 pm

    I can do that but then the same problem occurs in Opera and Safari… its one pixel off to the left. :(

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

You must be logged in to reply to this topic.

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