Last post Jul 17, 2008 10:48 AM by Peter Bucher
Jul 16, 2008 11:41 AM|bthumber|LINK
I have a user define control. I put the control on the (C# Visual Studio 2008) page where I want them. When I run the program, the controls are all over the page. How do I place them where they do not move form where I put them?
Jul 16, 2008 11:54 AM|MelvynHarbour|LINK
You'll need to study the HTML output and see what it's producing, then start to look at how to do an HTML layout.
Jul 17, 2008 01:04 AM|My Crystal|LINK
there are absolute and Relative position in html. I guess you must use relative position. For example, at design-time, you place a TextBox below an Image, at run-time, no matter what size is the image, the TextBox is alway below the image, so the TextBox's position
in design-time and run-time is different.
You can get much greater detail in
Hope this can solve your problem.
Jul 17, 2008 09:09 AM|Peter Bucher|LINK
Use (X)HTML _and_ CSS to positioning all Elements.
There is also the "static" as Default.
Jul 17, 2008 10:01 AM|My Crystal|LINK
i know there is also fixed position, but i don't know the "static".
Can you provide some links about it? Thank you.
Jul 17, 2008 10:48 AM|Peter Bucher|LINK
Yep, fixed is too out here :)
static is de default value, see: