Extra line in div

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bill

    Extra line in div

    Hi

    How to get rid of the extra line added after a <ul> in a <div> ?

    <li> are defined as inline and the total text lenght is about 30% of the
    available line width.

    Thanks


  • drewrockshard

    #2
    Re: Extra line in div

    try using taking margins and padding out...

    margin:0; padding:0;

    Comment

    • Bill

      #3
      Re: Extra line in div

      [color=blue]
      > try using taking margins and padding out...
      >
      > margin:0; padding:0;
      >[/color]

      Doesn't work


      Comment

      • Stan Brown

        #4
        Re: Extra line in div

        Mon, 7 Nov 2005 18:17:38 -0500 from Bill
        <billlab51NOSPA M@hotmail.com>:[color=blue]
        >[color=green]
        > > try using taking margins and padding out...
        > >
        > > margin:0; padding:0;
        > >[/color]
        >
        > Doesn't work[/color]

        URL?

        --
        Stan Brown, Oak Road Systems, Tompkins County, New York, USA
        Dragon222 adalah situs slot gacor terbaru yang selalu memberikan banyak bonus menarik dan kemenangan JP untuk pemain setia selama bermain di link slot DRAGON222.

        HTML 4.01 spec: http://www.w3.org/TR/html401/
        validator: http://validator.w3.org/
        CSS 2.1 spec: http://www.w3.org/TR/CSS21/
        validator: http://jigsaw.w3.org/css-validator/
        Why We Won't Help You:

        Comment

        • Jim Moe

          #5
          Re: Extra line in div

          Bill wrote:[color=blue]
          >
          > How to get rid of the extra line added after a <ul> in a <div> ?
          >[/color]
          Either you or the browser defaults have placed it there. Without an URL
          it is impossible to say.
          BTW by "line" do you mean whitespace? Or an actual line some number of
          pixels thick?

          --
          jmm (hyphen) list (at) sohnen-moe (dot) com
          (Remove .AXSPAMGN for email)

          Comment

          • Bill

            #6
            Re: Extra line in div

            Hi
            [color=blue][color=green]
            > > How to get rid of the extra line added after a <ul> in a <div> ?[/color][/color]

            The answer was : display : inline-block
            added in the div definition.


            Thanks you all


            Comment

            Working...