A
Alex Maghen
I'm trying to make a tiny login-block control that I'll use here and there. I
had tried creating the ASCX and making the outer-most object an <asp
anel>
object with a style that contains position: relative. Then, I placed all the
little text boxes, etc inside that panel with absolute positioning.
I also used properties such as height and width of the text boxes and font
sizes, etc. to make everything fit just right.
In the VS environment, everything looks great, but when I load the thing in
the browser, the text boxes aren't the same small size that they had been,
they overlap with each other a little, and the Button control isn't the same
size either.
I thought that this might be because a style-sheet overrode the specific
settings on the control but, first of all, I thought that the specific
settings on the control are supposed to override the CSS. Also, my CSS
doesn't have any settings in it for INPUT or BUTTON.
Any idea what's going on here?
Alex
had tried creating the ASCX and making the outer-most object an <asp
object with a style that contains position: relative. Then, I placed all the
little text boxes, etc inside that panel with absolute positioning.
I also used properties such as height and width of the text boxes and font
sizes, etc. to make everything fit just right.
In the VS environment, everything looks great, but when I load the thing in
the browser, the text boxes aren't the same small size that they had been,
they overlap with each other a little, and the Button control isn't the same
size either.
I thought that this might be because a style-sheet overrode the specific
settings on the control but, first of all, I thought that the specific
settings on the control are supposed to override the CSS. Also, my CSS
doesn't have any settings in it for INPUT or BUTTON.
Any idea what's going on here?
Alex