PDA

View Full Version : text alignment in pop up box


reward
08-30-2002, 05:27 PM
Hi, I am working on a FAQs Pop-up window and need my text to all line up under the pervious line. e.g.:

Q. How do I do start my next line of text under the "How"? it always starts the next line under the Q. I am not using a table.

Also, is there a "dictionary" of html characters and what they mean? I've figured most on my own <br> </i> etc., but would love a list. I'm sure it would have helped with me silly alignment problem... thanks!

codewarrior
08-30-2002, 06:40 PM
Check out W3Schools (http://www.w3schools.com) They might have something

duniyadnd
08-30-2002, 07:50 PM
You could try to use bullets instead of "Q". At the end of the question, just add <br>.

Example:

<ul>
<li>What blah blah blah?<br>
Answer the blahs
<li>Second set of blahs?<br>
More blahs
</ul>

If you don't like bullets, replace <ul> with <ol>

Another way of doing this is using tables. Create a two column table, the width of the first one not wide at all. On the right column, include the question and answers.

Duniyadnd

adios
08-31-2002, 12:39 AM
Consider using the <pre> tag - it retains the text formatting of your source code (i.e., doesn't 'HTML' it). You'll have to settle for a monospace font, however.

This might help with your 2nd question as well:

http://www.idocs.com/tags/linepar/_PRE.html

joh6nn
08-31-2002, 04:36 AM
beginner's guide to HTML:
http://hotwired.lycos.com/webmonkey/reference/html_cheatsheet/

advanced guide to HTML:
http://www.w3.org/TR/html401/

whackaxe
08-31-2002, 11:12 AM
or you could try




the &nbsp; is the space character that you use for multiple spacesQ:how do i milk a cow <br>
&nbsp;&nbsp;like this!<br>
<br>
Q:how big is a rainbow<br>
&nbsp;&nbsp;about this big!<br>

(i put that in php tags otherwise it rocess the nbsp part :p)