HTML text and stuff

Discussion in 'Web Design & Coding' started by Geffy, Feb 3, 2003.

  1. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    Normally when I make a page and have a line and then another right below it there is a large space between the two lines of text, how can I remove this. I want it to be more like what is below

    this line
    then this line

    with no large space of nothing between the lines
     
  2. sboulema

    sboulema Moderator

    Messages:
    2,846
    Location:
    Amstelveen, The Netherlands
    check the html code to be sure that there is no <p> in your code.
     
  3. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    I tried removing the <p> from the text example

    <p>Music</p>
    <p>film</p>

    to

    <p>music
    film</p>

    And that just made it all on one line, what should I be using instead of the <p>?

    also just tried without <p> </p> at all and I also get one line of text
     
  4. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    use <br> instead of <p>
     
  5. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    K now which HTML tag should I redefine with CSS to get the formatting I want

    this text is in a table


    ah the <td> tag got it

    Thanks to everyone sboulema and SPeedY_B
    :happy:
     
  6. sboulema

    sboulema Moderator

    Messages:
    2,846
    Location:
    Amstelveen, The Netherlands
    glad you got it solved :)
     
  7. Tabula Rasa

    Tabula Rasa Stranger Than Kindness Political User

    Messages:
    3,233
    Location:
    Israel
    I know you use DW , so instead of pressin Enter to go to the next line press Right Shift + Enter , that way youl get a <br> instaed of a <p> </p>