how to question (web page item placement)

26 views
Skip to first unread message

o1bigtenor

unread,
Jul 11, 2021, 11:16:02 AM7/11/21
to django...@googlegroups.com
Greetings

Am looking to use django for a personal application.

I am one of those plagued by planning things out - - - in advance.

I'm not finding direct information for how to specifically place
things on as page.
Vague - - - yes - - - that's html but if I want something like at 3.5
cm down from top margin and indented 1.5 cm I want a box which when
clicked upon I see a list containing these items (a1, a2, a3 etc and
the list can be augmented by the user) with list items being font size
14 bold and the box being flexible in that if the item shown is short
the box is narrower - - - if the item is long - - - -well the box is
wider.

How do I affect precise placement in a web page?

TIA

Ryan Nowakowski

unread,
Jul 11, 2021, 12:05:56 PM7/11/21
to django...@googlegroups.com
Do you want the indentation to be different on different screens sizes(mobile phone, tablet, laptop, desktop)? 3.5 cm might be too much on mobile devices.

o1bigtenor

unread,
Jul 11, 2021, 5:15:28 PM7/11/21
to django...@googlegroups.com
On Sun, Jul 11, 2021 at 11:05 AM Ryan Nowakowski <tub...@fattuba.com> wrote:
>
> Do you want the indentation to be different on different screens sizes(mobile phone, tablet, laptop, desktop)? 3.5 cm might be too much on mobile devices.
>
Hmmmmmmm - - - main focus is NOT mobile devices - - - don't think they
can handle the processor duty needed.

Regards

Ryan Nowakowski

unread,
Jul 12, 2021, 9:53:57 AM7/12/21
to django...@googlegroups.com
I'm that case you might want to skip responsive design and take a look at relative or absolute positioning with CSS for the margin and indentation. Look at flexbox for the boxes.
Reply all
Reply to author
Forward
0 new messages