Click to See Complete Forum and Search --> : Basic HTML Problems


mikechang2000
07-21-2003, 09:41 PM
Hello Everyone!

Here are my questions,

1. How do I make it so that when a cursor is moved over a picture text appears?

2. How do I make a colored line and control the width and length?

3. How do I space text? More specifically, I need to know how to space text from the left side, the text is far to close to the left side of the screen. Also, I need to space out some words.

Thanks in Advance!

Sgt Web
07-22-2003, 06:01 AM
Try this:

1. Need more info - text appears where the pic was or text appears in another location?

2. <HR WIDTH="200" SIZE="5" COLOR="#000088">. This will create a horizontal line.

3. To space text, use the non-breaking space entity "&nbsp;".

Is this useful?

Sgt Web
07-22-2003, 06:04 AM
Ugh ...

Non-breaking space entity ... "<ampersand>nbsp<semicolon>".

David Harrison
07-22-2003, 07:46 AM
Hey Sgt Web, if you want to write this:
&ampnbsp;

just type this:

&ampampnbsp;

pyro
07-22-2003, 08:42 AM
#3: Use css -- that's what it's for. This, for example, will move the text 10 pixels to the left: <span style="margin-left: 10px;">Text</span>