Web Analytics Made Easy -
StatCounter Adding whitespace - CodingForum

Announcement

Collapse
No announcement yet.

Adding whitespace

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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:



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

    TIA

  • #2
    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)

    Comment


    • #3
      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.

      Comment


      • #4
        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
        drums | web

        Comment


        • #5
          Thanks rmedek. That is what I needed.

          Comment

          Working...
          X