Results 1 to 6 of 6

Thread: my menus are crazy!

  1. #1
    Join Date
    Aug 2006
    Location
    Evora
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default my menus are crazy!

    greetings,

    i used this website to clean my html. the site now looks wonderful as i would look before. i solved all my problems. almost...

    before i had my website to look diferent from IE to FF. now it works and looks the same in both which is great.

    but... my menus are totaly opened. they have to limit in their size. how come this happens?

    please help.

    site

  2. #2
    Join Date
    Aug 2006
    Location
    Evora
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default my problem is in Firefox

    sorry i forgot to say that the menus only open in that crazy matter in firefox. why? can you please look at my html code an tell me what i should add to fix it please?


    do you think that that online html cleaning stuff helps to clean anything to my html code? is it good or should i leave it like i had before?


    thank you

  3. #3
    Join Date
    Feb 2006
    Posts
    158
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I might be wrong, but i believe this is a CSS problem, because FF has some pixel problem that causes pages to look different in FF than in IE. To fix this problem you have to define the width and height or whatever properties in CSS:

    Code:
    #menutable {
           width:250px;
           height:300px;
           width:275px !important;
           height:325px !important;
    }
    Your CSS Code would look something similar to that, all that does is simply define the width and height of the table. As you can see width/height is defined twice, this deals with FF's pixel problem. The FF browser will use the height/width defined with !important there, whereas IE will use the height/width defined before the !important. I believe the difference in pixels between IE and FF is around 25px. (See above code)

    So, that may be the answer to your problem, give it a shot and let me know.

    P.S. - I dont actually have FF, i only have IE, so this problem may not be what i said above, however i do know that this problem with FF and pixels does exist, and to fix it you use the same method as above.

    Hope that helps.

  4. #4
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    InNeedOfHelp:
    I doubt it is a Firefox bug. More likely it is IE's fabulous support for the box model

    joaoleitao:
    I recommend you add a doctype to your page. And then validate it.
    Last edited by blm126; 08-05-2006 at 03:36 AM.

  5. #5
    Join Date
    Feb 2006
    Posts
    158
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ah, I see. Thanks for the correction.

  6. #6
    Join Date
    Aug 2006
    Location
    Evora
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by InNeedofHelp
    I might be wrong, but i believe this is a CSS problem, because FF has some pixel problem that causes pages to look different in FF than in IE. To fix this problem you have to define the width and height or whatever properties in CSS:

    Code:
    #menutable {
           width:250px;
           height:300px;
           width:275px !important;
           height:325px !important;
    }
    Your CSS Code would look something similar to that, all that does is simply define the width and height of the table. As you can see width/height is defined twice, this deals with FF's pixel problem. The FF browser will use the height/width defined with !important there, whereas IE will use the height/width defined before the !important. I believe the difference in pixels between IE and FF is around 25px. (See above code)

    So, that may be the answer to your problem, give it a shot and let me know.

    P.S. - I dont actually have FF, i only have IE, so this problem may not be what i said above, however i do know that this problem with FF and pixels does exist, and to fix it you use the same method as above.

    Hope that helps.
    thank you very much, you just solved my problem!!!!

    thank you thank you! hehe

Bookmarks

Posting Permissions

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