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 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2009
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Extra Space in ul/li/p tags in IE

    In the "News and Events" section of the page I'm getting extra space between my <p> tags in IE 7.

    Any suggestions?

    http://www4.uwm.edu/recsports/index.cfm

    Thanks!

  • #2
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    Enable following code and then check.

    Code:
    /* {
    padding:0px;
    margin:0px;
    }*/

  • #3
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,722
    Thanks
    41
    Thanked 191 Times in 190 Posts
    Quote Originally Posted by vikram1vicky View Post
    Enable following code and then check.

    Code:
    /* {
    padding:0px;
    margin:0px;
    }*/
    a little clarification for the OP... change above code provided by vikram to
    Code:
    *{margin:0px; padding:0px;}
    @vikram
    Reason for my post was because looking at this and removing the comment tags (in essence "enabling") would make the code
    Code:
    {padding:0px; margin:0px;}
    which would be missing the critical *

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE


  •  

    Posting Permissions

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