Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Same CSS - pages positioned differently

    When accessing my website http://www.plainvanilla.se the first page is placed a bit higher than the rest of the pages. That is if you click on any menu-item the hole page moves down. After this - all the pages are positioned the same - even the first one. I get this effect in Internet Explorer (not in Netscape, Opera, Mozilla).

    Would really appreciate some help - thanks in advance.

    /Ingela

  • #2
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,764
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Looks like you fixed it....
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  • #3
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Not fixed

    Thanks for taking a look. It's still not fixed though - looks the same. When I go from another webpage it looks fine, but when I open a new browser window with my page http://www.plainvanilla.se as the default home page I get the "movement".

    /Ingela

  • #4
    Regular Coder
    Join Date
    May 2004
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not sure if it solves anything (or maybe the other way around destroys your page), but you have to fix your DTD first. You have only half of it.

    This is what you have:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

    This is what it should look like:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

  • #5
    Regular Coder
    Join Date
    Jan 2005
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The only reason that you would ever use half a DTD is if your site for whatever reason has valid code but looks wrong with the full DTD, as the half one keeps the browsers in quirks mode.

  • #6
    Regular Coder
    Join Date
    May 2004
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes, but anyways there's no ending ">" - the tag is not closed.

  • #7
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The reason for the half DTD is that I always seem to have problems with the Mac when using the 50% top 50% left for centering the whole page. If I keep the whole DTD the Mac-users can only see half of the page. Perhaps there is a better way to keep the pages in absolute center? Isn't it ok to remove the last part of the DTD?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •