This is a discussion on css styles problem within the Coding Help forums, part of the Webmaster Help category; Hi just need a little help with something so i thought ild join and see if anyone can help me. ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi just need a little help with something so i thought ild join and see if anyone can help me. I am currently doing a web design course and my teacher sent me css styles for navigation styles i just cant seem to use them on my page. He gave us the code and all but when i copy the code in to my css page nothing happens. If anyone can help i would be delighted, thanks. |
| |||||
| Hi Jessica. Did you want to post the code up here or mail me at peter@edenweb.ie
__________________ Peter Knight - Web Designer .................................................. .................................................. Eden Web - Web Design Ireland Virtual Tour Company Dublin Photographer |
| ||||
| #navcontainer { margin: 10px 0 0 30px; padding: 0; height: 20px; } #navcontainer ul { border: 0; margin: 0; padding: 0; list-style-type: none; text-align: center; } #navcontainer ul li { display: block; float: left; text-align: center; padding: 0; margin: 0; } #navcontainer ul li a { background: #fff; width: 78px; height: 18px; border-top: 1px solid #f5d7b4; border-left: 1px solid #f5d7b4; border-bottom: 1px solid #f5d7b4; border-right: none; padding: 0; margin: 0 0 10px 0; color: #f5d7b4; text-decoration: none; display: block; text-align: center; font: normal 10px/18px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, sans-serif; } #navcontainer ul li a:hover { color: #930; background: #f5d7b4; } #navcontainer a:active { background: #c60; color: #fff; } #navcontainer li#active a { background: #c60; border: 1px solid #c60; color: #fff; } This is the code. I have created my table where my navigation will be eg. home, products, about us, contact us. I tried to import the css that i have for it but that didnt work. i dont have a link, they were compressed files which i saved to my desktop. |
| Tags |
| css, problem, styles |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS issue | ph3n0m | Coding Help | 11 | 31-01-2007 12:05 AM |
| Inheritance + CSS | fobby | HTML Basics | 14 | 20-01-2007 08:16 PM |
| Wordpress Security Problem | blacknight | Blogs & Blogging | 0 | 06-01-2007 03:35 PM |
| CSS Issue for Wordpress Menu.. | Cormac | Coding Help | 4 | 03-12-2006 03:12 PM |
| dynamic css | 7aken | Coding Help | 6 | 10-10-2006 08:13 AM |
| ||||||||
| | ![]() | |||||||