Yahoo Sitebuilder: how to put border around text?
27.April, 2009
Need to put a border around the text on my Sitebuilder page. Tried using "insert table" w/ just one cell but doesn't work well. All sorts of problems w/ SB trying to squeeze text into a cell, which ain't what I want. How to put a border around an article w/ text and images?
Use CSS my man.
Example:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!–
.BoxedText {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
float: none;
height: auto;
width: 1px;
margin: auto;
padding: 1px;
border: thin solid #000000;
}
–>
</style>
</head>
<body>
sdsds
<table width="167" border="0" cellpadding="0" cellspacing="0">
<!–DWLayoutTable–>
<tr>
<td width="167" height="98" valign="top" class="unnamed1">sadsd</td>
</tr>
</table>
</body>
</html>
27.April, 2009 um 9:23 am
Use CSS my man.
Example:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!–
.BoxedText {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
float: none;
height: auto;
width: 1px;
margin: auto;
padding: 1px;
border: thin solid #000000;
}
–>
</style>
</head>
<body>
sdsds
<table width="167" border="0" cellpadding="0" cellspacing="0">
<!–DWLayoutTable–>
<tr>
<td width="167" height="98" valign="top" class="unnamed1">sadsd</td>
</tr>
</table>
</body>
</html>
References :