Donate SIGN UP

my space

Avatar Image
Swizz | 20:07 Mon 19th Dec 2005 | Technology
2 Answers
how do i get a box around the text? for example the 'About Me' section. i know how to do a background, but i need to put my writing in a box, so it doesnt blend into the background. thanks 4 ur help!
Gravatar

Answers

1 to 2 of 2rss feed

Best Answer

No best answer has yet been selected by Swizz. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.

'my space'? 'about me'?


Are you talking about webspace maade available to you by your Internet Service Provider?


If so, then try this html code


<html>
<body>

<table border=2>

<tr><td> My Name </tr>

</table>

</body>
</html>

if you do that then, strictly speaking, it should be border="2" (with the quotes) and also
</td>
just after My Name.

CSS gives you more control over this type of thing so one brief way of doing it would be to copy and paste this, then amend it to suit your needs :

<div style="border : 2px solid #dcdcdc; background-color:#d8efff; width:50%; color:navy;">2px= border width, solid can be changed to dotted, dashed etc. the colour is easily changed. Same with the background colour, width and finally font colour.</div>

A better way to do this would be to use an "external stylesheet", link to this in the head section of your html page and have the " color : navy " type statements in there.

1 to 2 of 2rss feed

Do you know the answer?

my space

Answer Question >>