TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

drop down menus

Page: 1 Reply
Nov 28th 2003#130878 Report
Member since: Dec 13th 2002
Posts: 904
Ok, I'm trying to make a dropdown menu like the +image catagories dropdown menu at http://www.sxc.hu/ ... BUT, I can't seem to figure it out. And not knowing CSS really doesn't help me much. Oh, and another thing is how do you give it a smaller border? Or no border at all?

Who knows. I may just say screw it and do a regular ol' nav.
Reply with Quote Reply
Nov 28th 2003#130881 Report
Member since: Nov 6th 2001
Posts: 240
CSS (in tag)

<style type="text/css" media="screen">
#select_nav { font:10px Verdana, Arial; color:#452; background:#e97; }
#select_nav .label { background:#693; color:#fff; }
</style>


CSS external file
put this is in the head of your page

<link href="path/to/css" rel="stylesheet" type="text/css" media="screen" />


and put the CSS in the external file (without the <style> tag)

this is the dropdown menu


<select id="select_nav">
<option selected="selected">navigation</option>
<option class="label">this is a category</option>
<option>:: link 1</option>
<option>:: link 2</option>
<option class="label">this is another category</option>
<option>:: link 3</option>
<option>:: link 4</option>
</select>


I used some random colors and didn't include the js for the navigation ...
Reply with Quote Reply
Nov 28th 2003#130882 Report
Member since: Mar 18th 2001
Posts: 1452
[edit] grr
Reply with Quote Reply
Nov 28th 2003#130911 Report
Member since: Jun 20th 2003
Posts: 1203
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum