GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Responsive design with static left column
Responsive design with static left column
Iniciado por Donatas, jun., 21 2017 9:32 AM - 1 resposta
Conecte-se…
Donatas
#1
Publicado em junho, 21 2017 - 9:32 AM
Hello,
For some time i was trying to make web page were left side (or just one element) is static (width set 270px) and next to it cell with adapt to grid configuration.
I have tried using zones in wb22, but i didnt achieved the desired effect. I also tried cells and all other stuf. But so far nothing worked.
Can someone help with solution?
Added screen shot with some info
https://ibb.co/mmMYJQ
Denunciar
0
0
Piet van Zanten
#2
Publicado em junho, 23 2017 - 1:26 PM
Hi Donatas,
Indeed, zones are pretty much useless in responsive design.
Without using zones, the problem is that Webdev anchoring in width is always relative to the page width, so if there are any fixed size elements on a line the content will soon overflow when decreasing the browser width.
The best option I could find was to use two cells, one fixed width to the left, anchoring left and one cell right, anchoring right, adapt to grid. After that, decrease the blade width by using the arrows on the blade label. When reaching a lower blade, at some point there will be overflow of the cell. Now go back to the blades original width and decrease the size of the cell and recheck if at some point overflow occurs.
Of course there will be some whitespace between the cells, if it becomes too large insert extra blades.
On each blade starting point you can resize the cell to the maximum width where no overflow will occur.
Kind regards,
Piet
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto