bradleybebad
12-06-2008, 11:49 AM
For some reason my width and height css is not applying to my span tag. Does anyone know why this is? It works for a div, but not for a span.
<style type="text/css">
#products {
border-width:1px;
border-color:#CCCCCC;
border-style:solid;
width:100px; height:100px;
}
</style>
<body>
<p>
<span id="products"></span>
</p>
</body>
<style type="text/css">
#products {
border-width:1px;
border-color:#CCCCCC;
border-style:solid;
width:100px; height:100px;
}
</style>
<body>
<p>
<span id="products"></span>
</p>
</body>