3 Replies - 460 Views - Last Post: 02 December 2012 - 07:40 PM

#1 Groudon  Icon User is offline

  • New D.I.C Head

Reputation: -18
  • View blog
  • Posts: 33
  • Joined: 01-December 12

Simple navigation css

Posted 02 December 2012 - 07:00 AM

Here is the simple navigation css.
First make the css style.css page
body{background-color;#FF33FF; color;black; font-family:Vardana; font-size:9px;}
div. sky ul li{background-color;#000000; color:white; font-family;Times New Roman; font-size;9px;}

then make the navigation page
<!DOCTYPE html>
<body>
<title>Site Title</title>
<link rel="stylsheet" type="text/css" href="style.css">
<div id="sky">
<ul><li><a href="#">Index</a></li>
<li><a href="#">Your Page</li></ul>
</div>
</body>
</html>

for a dropdown menu 2 ul.

This post has been edited by Groudon: 02 December 2012 - 07:01 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Simple navigation css

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3719
  • View blog
  • Posts: 5,991
  • Joined: 08-June 10

Re: Simple navigation css

Posted 02 December 2012 - 09:38 AM

Your second CSS selector has a syntax error. The dot isn't supposed to be in that position.

Was there a question in there you wanted us to help you with?
Was This Post Helpful? 0
  • +
  • -

#3 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3550
  • View blog
  • Posts: 10,324
  • Joined: 08-June 10

Re: Simple navigation css

Posted 02 December 2012 - 12:10 PM

the HTML code is also mixed up. check it to see what is wrong.
Was This Post Helpful? 0
  • +
  • -

#4 Groudon  Icon User is offline

  • New D.I.C Head

Reputation: -18
  • View blog
  • Posts: 33
  • Joined: 01-December 12

Re: Simple navigation css

Posted 02 December 2012 - 07:40 PM

Thanks for tell me the error
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1