aspx thread: measurement units
Hi All,
I'm using Win2k, VS.net w/VB.
In a <div> I'm dynamically creating buttons and I want them to display one
after the other horizontally. In pseudo code I'd say...
left property of current button = left property of previous button + width
of previous button
E.g.
dim left as SomeType = 0
With myButton
.Width = Unit.Pixel(75)
.Style("Left") = "0px" + left
left = .Style("Left") + .Width
End with
Unfortunately, Unit.Pixel(75) and "0px" are incompatible. How can I solve
this?
Thank you,
David X
|





