PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Responsive design with static left column
Responsive design with static left column
Started by Donatas, Jun., 21 2017 9:32 AM - 1 reply
Connect yourself…
Donatas
#1
Posted on June, 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
Report
0
0
Piet van Zanten
#2
Posted on June, 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
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text