View Full Version : placing text within a box (border lines)


Geo.
03-31-2006, 03:20 AM
Hi,
I have about 15 lines of centred text that I would like to place within border lines. (so it has the appearance of being contained by four black lines)
Is this a complicated procedure? Or is it a simple matter of adding some code that would do this?
Thanks for any advice.
George

HeLpM3
03-31-2006, 03:23 AM
<div style="boreder: 1px solid black"> Text Here </div>
Talking about something like this?

Geo.
03-31-2006, 03:48 AM
Thanks very much! That's the sort of thing I was after - is there a way of bringing in the sides so that they are closer to the text?

HeLpM3
03-31-2006, 05:05 AM
Hope This Workd For Ya

<font style="border:1px solid black">Text Here</font> <

Easier Way to do it is edit you style sheet like so
font
{
border:1px solid black;
}

and where your text is just put the font tag like so

<font> Text Here </font>

This the closest i can get it to the text :tired: :)

Geo.
03-31-2006, 05:59 AM
Thanks again HelpM3...but I must be getting it wrong...(which ain't unusual)

The first example brought the sides in ok but it put borders around every single line of text. (not the block of text)
Couldn't seem to get the other example to do anything either except show the added code along with the text.

Geo. :tired: