Every tutorial I've done on navigation bars or menu's has been the normal one level navigation bar, but when you build a website you may feel the need to create sub categories, for example my blog houses various tutorials which are stored in categories, I have a drop down navigation bar on the main link, which is tutorials which then displays sub catergories and then the specific catergory e.g. Tutorials > XHTML > Basics in that example there are three levels. You can create navigation bar levels using lists, it's the easiest way to create a drop down menu but for styling it can get a bit tricky, but in this tutorial Im going to show you how to form a drop down navigation menu and then style it with CSS
Adding glow can make things look special or stand out and it can be applied to lots of different things. Glow can be used in website designs, to make something look just a little more special than the average look. In this case im going to use glow and apply it to a navigation bar to make look a little bit more 'Wow' than the average navigation bar, using nicely coloured gradients and bit of CSS magic, im going to show you how to achieve a real nice navigation effect, which looks smooth, sleak and with a few little extras to make it stand out.
There are many different website layouts that are designed differently, many website layouts choose to have one or more sidebar, but a problem that you many encounter is how can you get the sidebar to be same length as your content? This is a good question, because if your sidebar ends before your content then your website layout will look strange. But there are methods of being able to achieve a sidebar that is the same height as your content. In this Quick CSS segment, im going to show you how you can achieve this effect, it's pretty simple and basic, but it's good to know!
Shadow in website design is something that can be achieved by using CSS and images, to achieve shadow in CSS2 you would use images and positioning, it can be achieved but it usually means that you have to create multiple divs. See my tutorial of creating shadow in CSS2 but one of the exciting new attributes in CSS3 is box-shadow which allows someone to get a nice shadow effect with just using one attribute applied to a div.
Since it's been snowing in Nottingham today and I've come down with a cold, I've been staying indoors, Although during College, all of us have been playing in the snow (Don't judge, we're all still young at heart!) but I've been playing around with the rounded corners effect in CSS3, now in my article Getting ready for CSS3 I listed a few major additions that CSS3 will bring to the web, I mentioned Shadows, multiple backgrounds and some more, but another great addition in CSS3 will be rounded corners, and fortunately there is support for rounded corners, so I thought I'd prepare a little information/tutorial on rounded corners in CSS3!
Although the W3 (World Wide Web Consortium) have sent out CSS3 (New version of the CSS language) to various browser company's such as Mozilla and Safari. Support for it is not high enough, so some of the great attributes that CSS3 will be bringing in such as box-shadow which allows you to add shadow (that we will be creating in this tutorial) with one attribute. So we're going to have stick to CSS2! Creating shadow in CSS2 is a question that's pretty popular amongst the web-dev community as there's no straight attribute to create it, instead to create it one method you can use is a transparent .png image along with one special div defined before any other content/divs on your webpage.











» Recent Comments/Trackbacks