Web Design Forum: Eskymo - Viewing Profile - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting

Eskymo's Profile User Rating: *****

Reputation: 36 Excellent
Group:
Members
Active Posts:
2,380 (1.2 per day)
Joined:
05-September 06
Profile Views:
20,048
Last Active:
User is offline Feb 07 2012 06:22 PM
Currently:
Offline

My Information

Member Title:
Web Guru
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Female Female
Location:
Fife, Scotland, UK

Contact Information

E-mail:
Click here to e-mail me
MSN:
MSN  Eskymo
Website URL:
Website URL  http://www.eskymo.co.uk

Users Experience

Experience:
Advanced
Area of Expertise:
Web Designer

Latest Visitors

Posts I've Made

  1. In Topic: Convert a Menu to a Dropdown for Small Screens

    06 February 2012 - 05:10 PM

    I managed to find this snippet of code on http://www.w3schools.com here:

    http://www.w3schools...ryjs_selectmenu

    Implemented it and it works just fine - just had to add action="" to the form tag to get the page to validate.
  2. In Topic: Convert inline list menu to two columns

    03 February 2012 - 04:41 PM

    View PostRenaissance-Design, on 03 February 2012 - 04:14 PM, said:

    They'd need to be classes rather than IDs as they're used more than once in the page.


    you're so right - thanks for the reminder... I would've spotted that on validation though. Will go change that over. Cheers!
  3. In Topic: Convert inline list menu to two columns

    03 February 2012 - 04:06 PM

    Don't know if this is overkill, but I've added left and right ids to my list elements like so:

    <div id="navigation-area">
    	<ul id="nav">
    		<li id="lt"><a href="http://www.google.com">About</a></li>
    		<li id="rt"><a href="http://www.google.com">Locations</a></li>
    		<li id="lt"><a href="http://www.google.com">Products</a></li>
    		<li id="rt"><a href="http://www.google.com">Development</a></li>
    		<li id="nav-wide"><a href="http://www.google.com">Community Involvement</a></li>
    		<li id="lt"><a href="http://www.google.com">Partnering</a></li>
    		<li id="rt"><a href="http://www.google.com">Careers</a></li>
    		<li id="lt"><a href="http://www.google.com">Media Centre</a></li>
    		<li id="rt" class="last"><a href="http://www.google.com">Contact</a></li>
    	</ul>
    	<div class="clearboth"></div>
    </div> <!-- END navigation-area -->
    


    and this is my new css for teh small screen displays:

    #navigation-area {
        width: 91%;
    	margin: 0 auto;
    	padding: 20px 0px 0px 0px;
    	text-align:center;
    }
    #nav li {
    	list-style-type: none;
    	padding: 5px 0px;
    	margin: 0px 0px 3px 0px;
    	font-weight:bold;
    	font-size: 0.75em; /* 12px/16px */
    	color: #ffffff;
    	background:#141D5A;
    	width: 49.5%;
    }
    #nav li#nav-wide {width: 100%; padding: 5px 0px; float: left;}
    #nav li#lt {float: left;}
    #nav li#rt {float: right;}
    #nav li.last {padding: 5px 0px;}
    #nav li a:link, #nav li a:visited { color: #ffffff; text-decoration: none; }
    


    And that work a treat. but it all looks a bit wide in landscape mode, so might have to do another media query for that and make it three columns... maybe that's overkill too.
  4. In Topic: Convert inline list menu to two columns

    03 February 2012 - 03:24 PM

    View PostRenaissance-Design, on 03 February 2012 - 03:18 PM, said:

    It needs to be first, third, fifth etc. If it's an even-numbered position you'll get a line above it with only one item.


    Oh I see what you're getting at - done it, but now struggling with the widths and margins in between the lists and getting them all the line up on both left and right edges.
  5. In Topic: Convert inline list menu to two columns

    03 February 2012 - 03:17 PM

    View PostRenaissance-Design, on 03 February 2012 - 03:15 PM, said:

    Edit: you'll also have to make sure it's an odd number in the list.


    what do you mean by that? don't understand?