How do i get the table box hd1 around the text to auto fit to the width of the text and not span across the whole screen??
Code:
body {
background-color: #656565;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
margin: 0px;
padding: 5px;
color: #ffffff;
}
.hd1 {
background-color: #999999;
padding: 2px 2px 2px 2px;
margin: 1px 0 0;
color:#000000;
text-align: center;
border-width:2px 0;
border-left:2px solid;
border-right:2px solid;
border-bottom:2px solid;
border-top:2px solid;
border-style:solid;
border-color:#FFFFFF;
}
</style>
</head>
<body>
<div class="hd1">
Follow the wite rabit</br>
[url="home.php"]Home[/url]
</div>
<div class="hd1">
Enter</br>
[url="enter.php"]Enter[/url]
</div>

Comment