Anchor property in web apps

N

niv

Hi,

I dont have .NET with me at the moment so I cannot check
this myself..

I know that when working on a windows application, there
is a feature that allows the control to be anchored.

Does this feature exist when developing web applications?

If not.. how do I accomplish the anchor feature.

Thanks,

niv
 
R

Robert Koritnik

Using HTML tables... and percentage dimensions. Most of the websites use
this technique, so do web apps. And so should you. :)
 
N

niv

Hi Robert,
Thanks for the reply.
Do you have a link so that I can check out an example of
this?

Thanks again.
 
R

Robert Koritnik

No I don't but actually almost (let's say at least 90%) of all web pages are
an example of this in a way.
If your table has a width of 100% it will always span over the whole width
of the window (if not contained in another element). And if it contains two
cells one aligned left the other right all elements would align as supposed.
When you resize the window the table will be wider and elements within those
cells would still align. Especialy those on the right side would change
their position.

There is one problem. Bottom anchoring, while web pages tend to be height
unlimited. It is possible, but most of the people suggest not using it, so I
won't explaint it to you. You have to be more careful with user
experience...

Beside this: if you don't understand this, I suggest you to start learning
HTML, while it's very simple, UI design fast and friendly and soon Windows
apps will be done the same way. Sonner or later. I mean with flow layout.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,361
Latest member
eitamoro

Latest Threads

Top