SlideShare a Scribd company logo
1 of 2
CSS Code: 
/* BEGIN HORIZONTAL DROP-MENU */ 
nav { 
position: relative; 
width: 800px; /**adjust width as needed**/ 
margin: 0 auto; 
padding: 0; 
text-align: center; 
border: 1px dotted red; 
} 
nav ul { 
margin: 0; 
padding: 0 
} 
nav li { 
list-style: none; 
font-size: 12px; 
float: left; 
text-align: center; 
} 
/**top level menu**/ 
nav li a { 
display: block; 
text-decoration: none; 
margin-right: 12px; /* space between links */ 
width: 9em; /* adjust as needed or use auto */ 
padding: 8px; 
font-weight: bold; 
line-height: 1.50em; 
border: 1px dotted #666; 
border-top: none; 
color:#000; 
} 
/**alternating background colors**/ 
nav li:nth-child(odd) > a { background: #CAD3D3} 
nav li:nth-child(even) > a { background: #9BBB59} 
/**top menu style on mouse over**/ 
nav li:hover > a{ 
color: #FFF; 
background: #004A43; 
} 
/**sub-menu**/ 
nav li ul { 
display: none; 
text-align: center; 
margin: 0; 
padding: 0 1em; 
background: none; 
} 
/**sub-menu, help for older IE**/ 
nav li:hover ul, nav li.hover ul { 
display: block; 
position: absolute; 
padding: 0; 
} 
nav li:hover li, nav li.hover li { float: none; } 
/**drop-menu style**/ 
nav li:hover li a, nav li.hover li a { 
width: 9em; /* adjust width as needed or use auto */ 
margin-top: 0; 
} 
/**drop-menu style on mouse over**/ 
nav li li a:hover {
background:#D3E1B7; 
color: #004A43; 
} 
/* Clear floated elements at the end*/ 
nav:after { 
visibility: hidden; 
display: block; 
font-size: 0; 
content: " "; 
clear: both; 
height: 0; 
} 
/**END HORIZONTAL DROP-MENUS STYLES**/ 
Lunarpages.com Web Hosting 
HTML5 Code: 
Add this to your <head> tags: 
<!--for older IE--> 
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9"> 
Add this to your <body> tags: 
<nav> 
<ul> 
<li><a href="#">ABOUT US &#9660;</a><ul> 
<li><a href="#">Videos</a></li> 
<li><a href="#">Newsletter</a></li></ul> 
</li> 
<li><a href="#">PRODUCTS &#9660;</a><ul> 
<li><a href="#">Broken Glass</a></li> 
<li><a href="#">Mosaic Tiles</a></li> 
<li><a href="#">Adhesives</a></li> 
<li><a href="#">Grout</a></li></ul> 
</li> 
<li><a href="#">ACCESSORIES &#9660;</a><ul> 
<li><a href="#">Gloves</a></li> 
<li><a href="#">Rubber Mallets</a></li> 
<li><a href="#">Sponges</a></li> 
<li><a href="#">Safety Glasses</a></li></ul> 
</li> 
<li><a href="#">CONTACT</a></li> 
</ul> 
</nav><!--end navbar-->

More Related Content

Viewers also liked

Assessment in active learning - didactical and technological issues
Assessment in active learning - didactical and technological issuesAssessment in active learning - didactical and technological issues
Assessment in active learning - didactical and technological issuesddureva
 
R hawkes cheney_school_session1_planning ks3
R hawkes cheney_school_session1_planning ks3R hawkes cheney_school_session1_planning ks3
R hawkes cheney_school_session1_planning ks3Rachel Hawkes
 
ICT Mark Summary Action Plan Section 2 Curriculum
ICT Mark Summary Action Plan Section 2 CurriculumICT Mark Summary Action Plan Section 2 Curriculum
ICT Mark Summary Action Plan Section 2 Curriculumguest594ea
 
Assessment of Student Learning 2: Rubrics
Assessment of Student Learning 2: RubricsAssessment of Student Learning 2: Rubrics
Assessment of Student Learning 2: RubricsAlyssa Denise Valino
 
Computer Hardware Servicing Learning Module v.2.0
Computer Hardware Servicing Learning Module v.2.0Computer Hardware Servicing Learning Module v.2.0
Computer Hardware Servicing Learning Module v.2.0Bogs De Castro
 

Viewers also liked (14)

3 d autocad_2009
3 d autocad_20093 d autocad_2009
3 d autocad_2009
 
Sequencing2
Sequencing2Sequencing2
Sequencing2
 
Grt
GrtGrt
Grt
 
Marinela pabro
Marinela pabroMarinela pabro
Marinela pabro
 
Excel for grading with rubrics
Excel for grading with rubricsExcel for grading with rubrics
Excel for grading with rubrics
 
KS3 ICT workbook
KS3 ICT workbookKS3 ICT workbook
KS3 ICT workbook
 
Ms word rubrics
Ms word rubricsMs word rubrics
Ms word rubrics
 
Assessment in active learning - didactical and technological issues
Assessment in active learning - didactical and technological issuesAssessment in active learning - didactical and technological issues
Assessment in active learning - didactical and technological issues
 
R hawkes cheney_school_session1_planning ks3
R hawkes cheney_school_session1_planning ks3R hawkes cheney_school_session1_planning ks3
R hawkes cheney_school_session1_planning ks3
 
ICT Mark Summary Action Plan Section 2 Curriculum
ICT Mark Summary Action Plan Section 2 CurriculumICT Mark Summary Action Plan Section 2 Curriculum
ICT Mark Summary Action Plan Section 2 Curriculum
 
Middle school technology integration
Middle school technology integrationMiddle school technology integration
Middle school technology integration
 
Rubrics ppt
Rubrics pptRubrics ppt
Rubrics ppt
 
Assessment of Student Learning 2: Rubrics
Assessment of Student Learning 2: RubricsAssessment of Student Learning 2: Rubrics
Assessment of Student Learning 2: Rubrics
 
Computer Hardware Servicing Learning Module v.2.0
Computer Hardware Servicing Learning Module v.2.0Computer Hardware Servicing Learning Module v.2.0
Computer Hardware Servicing Learning Module v.2.0
 

More from ricardovigan

pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdfpdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdfricardovigan
 
pdfcoffee.com_narrative-report-on-tree-planting-pdf-free.pdf
pdfcoffee.com_narrative-report-on-tree-planting-pdf-free.pdfpdfcoffee.com_narrative-report-on-tree-planting-pdf-free.pdf
pdfcoffee.com_narrative-report-on-tree-planting-pdf-free.pdfricardovigan
 
16-interactive-information-and-media-171008025451.pdf
16-interactive-information-and-media-171008025451.pdf16-interactive-information-and-media-171008025451.pdf
16-interactive-information-and-media-171008025451.pdfricardovigan
 
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdfpdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdfricardovigan
 
RPMS_Portfolio_Templates_green_deped_tambayan.ppsx
RPMS_Portfolio_Templates_green_deped_tambayan.ppsxRPMS_Portfolio_Templates_green_deped_tambayan.ppsx
RPMS_Portfolio_Templates_green_deped_tambayan.ppsxricardovigan
 
COVID-19-Prevention-PPT.pdf
COVID-19-Prevention-PPT.pdfCOVID-19-Prevention-PPT.pdf
COVID-19-Prevention-PPT.pdfricardovigan
 
Annex 2_BEEF Final.docx
Annex 2_BEEF Final.docxAnnex 2_BEEF Final.docx
Annex 2_BEEF Final.docxricardovigan
 
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdfpdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdfricardovigan
 
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdfpdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdfricardovigan
 
7 designing the system
7 designing the system7 designing the system
7 designing the systemricardovigan
 
6 modeling system requirements
6 modeling system requirements6 modeling system requirements
6 modeling system requirementsricardovigan
 
5 investigating system requirements
5 investigating system requirements5 investigating system requirements
5 investigating system requirementsricardovigan
 
4 the analyst as a project manager
4 the analyst as a project manager4 the analyst as a project manager
4 the analyst as a project managerricardovigan
 
3 the system analyst
3 the system analyst3 the system analyst
3 the system analystricardovigan
 
1 information systems
1 information systems1 information systems
1 information systemsricardovigan
 

More from ricardovigan (20)

pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdfpdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
 
pdfcoffee.com_narrative-report-on-tree-planting-pdf-free.pdf
pdfcoffee.com_narrative-report-on-tree-planting-pdf-free.pdfpdfcoffee.com_narrative-report-on-tree-planting-pdf-free.pdf
pdfcoffee.com_narrative-report-on-tree-planting-pdf-free.pdf
 
16-interactive-information-and-media-171008025451.pdf
16-interactive-information-and-media-171008025451.pdf16-interactive-information-and-media-171008025451.pdf
16-interactive-information-and-media-171008025451.pdf
 
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdfpdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
 
RPMS_Portfolio_Templates_green_deped_tambayan.ppsx
RPMS_Portfolio_Templates_green_deped_tambayan.ppsxRPMS_Portfolio_Templates_green_deped_tambayan.ppsx
RPMS_Portfolio_Templates_green_deped_tambayan.ppsx
 
COVID-19-Prevention-PPT.pdf
COVID-19-Prevention-PPT.pdfCOVID-19-Prevention-PPT.pdf
COVID-19-Prevention-PPT.pdf
 
Annex 2_BEEF Final.docx
Annex 2_BEEF Final.docxAnnex 2_BEEF Final.docx
Annex 2_BEEF Final.docx
 
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdfpdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
pdfcoffee.com_accomplishment-report-gulayan-pdf-free.pdf
 
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdfpdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
pdfcoffee.com_people-media-ppt-2--pdf-free (1).pdf
 
Bmi
BmiBmi
Bmi
 
2 d autocad_2009
2 d autocad_20092 d autocad_2009
2 d autocad_2009
 
7 designing the system
7 designing the system7 designing the system
7 designing the system
 
6 modeling system requirements
6 modeling system requirements6 modeling system requirements
6 modeling system requirements
 
5 investigating system requirements
5 investigating system requirements5 investigating system requirements
5 investigating system requirements
 
4 the analyst as a project manager
4 the analyst as a project manager4 the analyst as a project manager
4 the analyst as a project manager
 
3 the system analyst
3 the system analyst3 the system analyst
3 the system analyst
 
2 sdlc
2 sdlc2 sdlc
2 sdlc
 
1 information systems
1 information systems1 information systems
1 information systems
 
Name
NameName
Name
 
Marinela l. pabro
Marinela l. pabroMarinela l. pabro
Marinela l. pabro
 

Menucss

  • 1. CSS Code: /* BEGIN HORIZONTAL DROP-MENU */ nav { position: relative; width: 800px; /**adjust width as needed**/ margin: 0 auto; padding: 0; text-align: center; border: 1px dotted red; } nav ul { margin: 0; padding: 0 } nav li { list-style: none; font-size: 12px; float: left; text-align: center; } /**top level menu**/ nav li a { display: block; text-decoration: none; margin-right: 12px; /* space between links */ width: 9em; /* adjust as needed or use auto */ padding: 8px; font-weight: bold; line-height: 1.50em; border: 1px dotted #666; border-top: none; color:#000; } /**alternating background colors**/ nav li:nth-child(odd) > a { background: #CAD3D3} nav li:nth-child(even) > a { background: #9BBB59} /**top menu style on mouse over**/ nav li:hover > a{ color: #FFF; background: #004A43; } /**sub-menu**/ nav li ul { display: none; text-align: center; margin: 0; padding: 0 1em; background: none; } /**sub-menu, help for older IE**/ nav li:hover ul, nav li.hover ul { display: block; position: absolute; padding: 0; } nav li:hover li, nav li.hover li { float: none; } /**drop-menu style**/ nav li:hover li a, nav li.hover li a { width: 9em; /* adjust width as needed or use auto */ margin-top: 0; } /**drop-menu style on mouse over**/ nav li li a:hover {
  • 2. background:#D3E1B7; color: #004A43; } /* Clear floated elements at the end*/ nav:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } /**END HORIZONTAL DROP-MENUS STYLES**/ Lunarpages.com Web Hosting HTML5 Code: Add this to your <head> tags: <!--for older IE--> <meta http-equiv="X-UA-Compatible" content="IE=7, IE=9"> Add this to your <body> tags: <nav> <ul> <li><a href="#">ABOUT US &#9660;</a><ul> <li><a href="#">Videos</a></li> <li><a href="#">Newsletter</a></li></ul> </li> <li><a href="#">PRODUCTS &#9660;</a><ul> <li><a href="#">Broken Glass</a></li> <li><a href="#">Mosaic Tiles</a></li> <li><a href="#">Adhesives</a></li> <li><a href="#">Grout</a></li></ul> </li> <li><a href="#">ACCESSORIES &#9660;</a><ul> <li><a href="#">Gloves</a></li> <li><a href="#">Rubber Mallets</a></li> <li><a href="#">Sponges</a></li> <li><a href="#">Safety Glasses</a></li></ul> </li> <li><a href="#">CONTACT</a></li> </ul> </nav><!--end navbar-->