1 Reply Latest reply on Sep 2, 2008 4:17 AM by Newsgroup_User

    Content is multiple line spacing between text

    kathydavie Level 1
      Somehow I've managed to do something to my content. When I open a page there's like 10 lines between each piece of text. I've asked a couple of friends and none of us can figure out what I've done wrong.

      A secondary problem is the image I've added to the h2 & 3 tags multiplying itself about 10 lines.

      My website is http://kddidit.com; the code for the css is http://kddidit.com/CSS/styles.css.

      I would be so grateful to learn where I've gone wrong.
        • 1. Re: Content is multiple line spacing between text
          Level 7
          kathydavie wrote:
          > Somehow I've managed to do something to my content. When I open a page there's
          > like 10 lines between each piece of text. I've asked a couple of friends and
          > none of us can figure out what I've done wrong.

          By putting height: 100%; in your css declaration for html, body, banner,
          ul, ol, li, p etc etc etc etc etc youre asking the browser to stretch
          everything to fit the depth of the window, and thats what its trying to
          do and thats why you have massive gaps between your paragraph
          tags.......so I would remove the height: 100%; swiftly.


          >
          > A secondary problem is the image I've added to the h2 & 3 tags multiplying
          > itself about 10 lines.

          I don't see any h2 or h3 tags on your home page so you will have to tell
          us on which page this is happening. The chances are as you also have h2,
          h3, set to height: 100%; in that same declaration as above that is quite
          possibly the cause.

          >
          > My website is http://kddidit.com; the code for the css is
          > http://kddidit.com/CSS/styles.css.
          >
          > I would be so grateful to learn where I've gone wrong.
          >