dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: how to set div text enter space?

  1. #1
    Join Date
    Jul 2007
    Posts
    56

    Unhappy how to set div text enter space?

    hello,
    i have 3-4 line of text in a div. i notice the space between line one and line two have a huge gap in between. how can i set the css?

    example:

    this is line one text.

    this is line two text.

    this is line three text.

    this is line four text.

    i want to set the text to something like this :

    this is line one text.
    this is line two text.
    this is line three text.
    this is line four text.

    i already set the css, my css looks like this.
    .class1 A:link {text-decoration: none; color: black; font:Verdana, Arial, Helvetica, sans-serif; font-size:8pt; line-height:1pt;}
    .class1 A:visited {text-decoration: none; color: black; font:Verdana, Arial, Helvetica, sans-serif; font-size:8pt; line-height:1pt;}
    .class1 A:active {text-decoration: none; color: black; font:Verdana, Arial, Helvetica, sans-serif; font-size:8pt; line-height:1pt;}
    .class1 A:hover {text-decoration: none; color: black; font:Verdana, Arial, Helvetica, sans-serif; font-size:8pt; line-height:1pt;}


    what should i change to make the effect that i wanted?
    line-height:1pt;? <--- this does't work.
    word-spacing:1pt;? <--- this does't work.

    can someone out there kindly help me? Thanks in advance?
    Last edited by kennyTE; 08-05-2007 at 12:09 PM. Reason: ammend

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    please post the div contents/code

  3. #3
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,478
    Hi there kennyTE,

    here are a couple of text examples that may assist you...

    coothead

  4. #4
    Join Date
    Jul 2007
    Posts
    56

    Great, thanks!

    Thanks u guys, thanks coothead! good example!

  5. #5
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,478
    No problem, you're welcome.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles