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 9 of 9
  1. #1
    Regular Coder UrbanTwitch's Avatar
    Join Date
    Apr 2006
    Posts
    485
    Thanks
    44
    Thanked 1 Time in 1 Post

    Internet Explorer has no padding!

    Alright go here - http://rsguard.com/weka/index.html

    If you view the web page. Mouse over the sub menu where it says Home, Videos, etc.., you'll see it looks right in every other browser... The drop down menu is at the left...

    When you mouse over it on Internet Explorer... you'll see that the drop down menu is aligned to the center...

    How do I fix this so it goes to the left like the other browsers view it as?

    CSS: http://rsguard.com/weka/style.css
    Last edited by UrbanTwitch; 03-09-2009 at 03:30 AM.
    Formerly MysticScript

    6+ years club

  • #2
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    try adding *{border:0; margin:0; padding:0;} to the very top of ur css file

    I seen that you added it to ur body but try doing it with the asterisks key
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.

  • #3
    Regular Coder UrbanTwitch's Avatar
    Join Date
    Apr 2006
    Posts
    485
    Thanks
    44
    Thanked 1 Time in 1 Post
    What does the asterisks key mean in CSS?
    Formerly MysticScript

    6+ years club

  • #4
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    It helps single out those particular attributes, so they get priority and load up first atleast i think thats what it does I'm so use to using it that i never really did a search for it.


    This might clarify things.
    http://www.dustindiaz.com/css-asteri...niversal-rule/
    Last edited by PitbullMean; 03-09-2009 at 03:28 AM. Reason: Added a link for the asterisks
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.

  • #5
    Regular Coder UrbanTwitch's Avatar
    Join Date
    Apr 2006
    Posts
    485
    Thanks
    44
    Thanked 1 Time in 1 Post
    Oh OK! Thanks. I have a new problem. Check the first post. ;-)
    Formerly MysticScript

    6+ years club

  • #6
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    PHP Code:
    #menu {
    margin:0
    padding:0
    list-
    stylenone;
    height30px;
    }

    #menu a     { 
    color#fff;
    displayblock;
    padding0 10px;
    font-size12px;
    line-height30px;
    text-decorationnone;
    }

    #menu li { 
    line-height30px;
    floatleft;


    Just try flipping your float to ur anchor instead of the other. and have it displayed like this not with li a

    And if that fails try looking at this tutorial by sucker fish

    http://htmldog.com/articles/suckerfish/dropdowns/
    Last edited by PitbullMean; 03-09-2009 at 03:50 AM.
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.

  • #7
    Regular Coder UrbanTwitch's Avatar
    Join Date
    Apr 2006
    Posts
    485
    Thanks
    44
    Thanked 1 Time in 1 Post
    That did not work.
    Formerly MysticScript

    6+ years club

  • #8
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    try looking at this tutorial by sucker fish

    http://htmldog.com/articles/suckerfish/dropdowns/
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.

  • #9
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Quote Originally Posted by MysticScript View Post
    What does the asterisks key mean in CSS?
    Back in DOS days, can you believe people actually went to school to learn DOS???, the * was the universal selector. It just means everything. In DOS, if you were selecting all .doc files you would just write *.doc in your batch files and all files with the .doc extension would be targeted.

    In CSS the * can take the place of the following CSS entry because it targets everything on that list and more -
    Code:
    html, body, div, span, applet, object, iframe, 
    h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
    a, abbr, acronym, address, big, cite, code, 
    del, dfn, em, font, img, ins, kbd, q, s, samp, 
    small, strike, strong, sub, sup, tt, var, 
    dl, dt, dd, ol, ul, li, 
    fieldset, form, label, legend, 
    table, caption, tbody, tfoot, thead, tr, th, td { 
    margin: 0; 
    padding: 0; 
    border: none; 
    }
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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