I'm sure this is very simple, but I'm trying to draw a set of small, empty, inline boxes in HTML like the following:
<span style="border:1px solid black;height=10px;width=17px"></span>
Earlier, did simple .gif images earlier but looked fuzzy as the browsers' displays are scaled up or down.
<span>
however being an inline element does not honor the height
and width
properties. And of course using <div style="display:inline;...
exhibits the same behavior in that it then won't honor those properties.
Can you please suggest a CSS'y way?
Update Assume the following, if I float it it will bond to the right or left of the text and I need it inlined to the text based upon the browser's width, &c
<p>Lorem ipsum dolor sit amet, <INSERT BOX HERE> consectetur adipisicing
elit, <INSERT OTHER BOX HERE> sed do eiusmod tempor incididunt ut labore et
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation</p>