webpage is longer than content....css problem

Discussion in 'Web Design and Development' started by pelsar, Mar 14, 2010.

  1. pelsar macrumors regular

    Joined:
    Apr 29, 2008
    Location:
    israel
    #1
  2. nelsencaleb macrumors regular

    Joined:
    Jan 9, 2010
    Location:
    Iowa
    #2
    I guess I don't know if this helps at all, but there are like 5 lines below where your text ends. I guess if you delete those it'll already make it shorter. Also, I've read tutorials on web design, and all of them say to put the CSS in a document separate from the HTML and then it makes it cleaner, easier to code, and easier to find mistakes.

    I hope I helped a bit,
    Caleb.
     
  3. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #3
    Yea, the empty tags are a bit of the problem. Also, for .maincolume, the top:-220px is also going to create some extra space at the bottom. If you place a float:left on some of the elements that come before this column, it'll keep you from needing to use a negative value. You'll have to do some other tweaks though to get the rest of the content to align properly, but that will put you in the right direction.
     

Share This Page