Home > Archive > MS Access and Internet > December 2005 > Center buttons in a DAP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Center buttons in a DAP
ISSB Programmer

2005-12-13, 8:26 pm

How do I center buttons in a DAP so that they are auto-adjusted when the
webpage is adjusted?
Sylvain Lafontaine

2005-12-15, 1:24 pm

This is usually done with HTML or CSS (Cascading Style Sheets) and doing
this with DAP usually requires a good knowledge of both.

For example, centering a button inside a DIV will work if the width of the
DIV is set to 100% but obviously won't work if the DIV is taking the minimum
space for rendering its content (the usual setting) or if it's set to take
50% of the space. Even the 100% won't work if the DIV is itself contained
in something that doesn't take 100% of the width of the screen.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF


"ISSB Programmer" < ISSBProgrammer@discu
ssions.microsoft.com> wrote in
message news:623FF656-10E3-45A9-B904- C07A14AD1CA1@microso
ft.com...
> How do I center buttons in a DAP so that they are auto-adjusted when the
> webpage is adjusted?



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com