Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I draw cells with height < 22pixels? 1

Status
Not open for further replies.

goaganesha

Programmer
Joined
Dec 4, 2001
Messages
178
Location
BE
Hello,

When I draw a cell in layoutview, the heigt always has a minimum of 22 pixels. I guess it has something to do with the height of the cursor. How do I draw cells smaller than 22 pixels without changing the font to something weird?

regards, goaganesha
 
i would recommend using a spacer image.

create a gif which is 1px by 1px, make it transparent and then you can use it to make a cell less than 22px high...

<td><img src=&quot;spacer.gif&quot; height=&quot;10&quot;></td>

...or more than 22px high...

<td><img src=&quot;spacer.gif&quot; height=&quot;35&quot;></td>

hope this helps,

ss
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top