lse123 — 2013-06-10T01:58:02-04:00 — #1
in development of a responsive web design,... in vertical menu 8-rows what is the trick at 100% display width,.. in 320px-499px mobile display appear a vertical menu 8-rows but in 500px-767px mobile display appear TWO vertical menus(propably one continued in 5th li tag to second row) 4-rows each 50% each of display...?
I do NOT mean for media query syntax(i know well this), but for alignment of li elements css syntax... well?
paulob — 2013-06-10T04:54:38-04:00 — #2
Do you have an example of where you have seen this so we can dissect it for you?
I can think of various ways of making two lists into one such as setting 50% width on the list elements so that they are floated side by side and then at small screen widths make them 100% so they fall vertically. Or you could use two separate uls with both blocks floated but at 50% width on larger screens and then 100% width and not floated on smaller screens so that the second block lines up underneath.
Or (although a little wasteful) you could have two unique menus with different structures and hide one or the other at the various screen width as required by the media query. A lot of mobile sites do this and display a menu button instead of a whole menu.
lse123 — 2013-06-10T05:57:03-04:00 — #3
paulob — 2013-06-11T12:45:46-04:00 — #4
Sorry I missed your reply yesterday.
Is that link the site you are working on or just one that displays the issue you want to mimic?
If you can clarify which lists should be side by side then I'll take another look but it will obviously involve a media query at some stage to change the property/values as required.
lse123 — 2013-06-11T15:36:14-04:00 — #5
tell me code for this url example.html
yes i know media query needed so provide the code. that said is that i know media query theory not to explain to me. just create a media query 480<x<768, and put css in it...
paulob — 2013-06-12T13:02:10-04:00 — #6
I'll need the html that you want to be used for this task and if you answer the points in my last reply.:)
lse123 — 2013-06-12T13:20:16-04:00 — #7
<li><h1 style="padding:5px"><a href="../index.htm">Home Page</a></h1></li>
<li><a href="../book.php">Book/Quote Get</a></li>
etc css get from INSPECT ELEMENT - CHROME