Grow your CSS skills. Land your dream job.

IE explorer problem with align. Please help!

  • # December 3, 2012 at 3:00 pm

    Hi guys,
    I am quite desperate. I downloaded a guestbook open source code and put my background onto it, etc… It works fine in every browser, but it completely goes crazy on IE. http://guntmarwolff.com/gaestebuch/
    Just this site goes funny and I have no clue why… Please help. It must be something with the css. because I did not change anything in the php.
    The css code is:
    @font-face {
    font-family: ‘Trajan Pro';
    src: url(‘/fonts/trajanpro-regular-webfont.eot?’) format(‘eot’), url(‘/fonts/trajanpro-regular-webfont.woff’) format(‘woff’), url(‘GraublauWeb.ttf’) format(‘truetype’);
    }
    The code for the site is:

    Thanks for your help.

    # December 3, 2012 at 4:52 pm

    Make sure there is NO CODE WHATSOEVER before the doctype declaration. Right now I see some PHP commented out.

    # December 4, 2012 at 12:29 am

    Hi Senff.

    THANK YOU. THAT WORKED!!!! THANK YOU!!!!

    # December 4, 2012 at 3:23 am

    IE doesn’t like when you put stuff, even comments, before the doctype.

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

You must be logged in to reply to this topic.

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