Submit Your Article Forum Rules

Results 1 to 3 of 3

Thread: Moron Moment- Using Breaks for Text

  1. #1
    Senior Member
    Join Date
    Dec 2003
    Posts
    198

    Moron Moment- Using Breaks for Text

    Hi,
    This is very basic, I am unable to figure this out and I don't know why.
    I have to copy tons of text into my new layout... I want my text to look like this:
    http://wethegeeks.com/cheats/aoec01.html
    Basically the text is just listed line after line like that. Those are span tags or something weird.
    How can I make a CSS style that does this automatically, every time I hit enter... or just when I paste something in and make it that style, it will become line after line like that? Do I use breaks? Or something....? I just want to be able to make a style do it automatically so I don't have to edit each line.
    Thanks for your help, sorry for my inability.
    Best Regards,
    Becky Gessler
    http://www.wethegeeks.com

  2. #2
    Senior Member arvana's Avatar
    Join Date
    Jul 2003
    Posts
    152
    I run into this situation all the time. HTML ignores extra spaces and line breaks, so if you just put the text into your site without adding paragraph tags or breaks, you just end up with one big block of text.

    The best method that I've come up with so far is to use search and replace. In your case, you'd want to replace every line break with the break tag.

    Code:
    
    
    If you have a WYSIWYG web editor like Dreamweaver, GoLive, etc, then you may be able to paste your text into the Preview area and have the codes inserted for you automatically. If you don't have one of these editors, you could try the open-source N|Vu: http://www.nvu.com/ -- though I haven't used it enough to be able to tell you if it will format your text the way you'd like.

    Hope that helps!

  3. #3
    Senior Member Jabber_uk's Avatar
    Join Date
    Jun 2004
    Posts
    205
    If you are using Dreamweaver or similar, holding the SHIFT button as you press Enter at the end of the line of text will give you a BR as arvana has said.
    Jabbs
    "The More I Know, The Less I Seem To Know!"
    Anything IT & Support Forums

Similar Threads

  1. IE breaks CSS
    By nickymccatty in forum Graphics & Design Discussion Forum
    Replies: 2
    Last Post: 05-22-2007, 04:43 PM
  2. Shake it Up, Baby! SERPs vary moment to moment.
    By mjtaylor in forum Google Discussion Forum
    Replies: 19
    Last Post: 10-16-2006, 04:25 PM
  3. The consumer isn't a moron. She is a keyword
    By sshibad in forum Marketing Strategies Discussion Forum
    Replies: 6
    Last Post: 08-03-2006, 03:29 PM
  4. Which Office Moron Are You?
    By mikmik in forum The Castle Breakroom (General: Any Topic)
    Replies: 4
    Last Post: 09-27-2004, 10:17 AM
  5. I feel like a moron...I can't get a handle
    By 1stwave in forum Graphics & Design Discussion Forum
    Replies: 8
    Last Post: 08-06-2004, 12:00 AM

Posting Permissions

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