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 5 of 5
  1. #1
    New Coder
    Join Date
    Feb 2004
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding whitespace

    Is there a quality way to add whitespace to a page, instead of adding a ton of lame <BR> or <P></P>s?

    A for instance is with a "FAQ" list, like this:

    www.sarmacollections.com/debt/index.html

    At the bottom of the list, you can not frame targets well without added whitespace.

    TIA

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Sheffield, UK
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i dont see any spacing problems with that, although your markup isn't brilliant. unclosed tags and id is supposed to be a unique identifier, you should be using class instead of id for indented thingy.

    also - are you away that all the paragraphs have the same hover effect as the links on the ordered list? (another note - whys is your ol being made to behave like a ul?)
    "To be successful in IT you don't need to know everything - just where to find it in under 30 seconds"

    (Me Me Me Me Me Me Me Me Me)

  • #3
    New Coder
    Join Date
    Feb 2004
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why don't you answer the question, please, instead of critiquing?

    also - are you away that all the paragraphs have the same hover effect as the links on the ordered list?
    Yes, that is how the CSS is set up.

    (another note - whys is your ol being made to behave like a ul?)
    If you looked at the CSS you would know. I wanted that list on the main content to be the same as in the sidebar, but with an indention.

    id is supposed to be a unique identifier, you should be using class instead of id for indented thingy.
    Don't worry about it.


  • #4
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Use your CSS... for white space between lines, use "line-height," for white space between sections, wrap your sections in appropriately labeled <div>s (or <p>) and use "margin" or "padding."

    -Rich

  • #5
    New Coder
    Join Date
    Feb 2004
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks rmedek. That is what I needed.


  •  

    Posting Permissions

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