TexasWebDevelopers.com Home Page

Add a border around a word using style sheets:

Now is the time for all good men to come to the aid of their country.

Here is the Page Code:

<html>
<head>
<title>Text with border</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
span { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #CC0000; border: thin #009966 solid; clear: none; float: none}
body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000099}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">

Now is the fime for <span>all good men</span> to come to the aid of their country.

</body>
</html>