• Feed RSS

Smooth & Customizable Invoicing With Ronin

Smooth & Customizable Invoicing With Ronin: "
When you’re working in the wonderful world of freelance or do the majority of your business online, it’s safe to say that you’re going to have to send a lot of invoices. However, with the increasing rise in web apps, you can bet that there of plenty invoicing apps to choose one. Only problem is finding the right one that fits all of your needs.

Ronin is a promising contender in this field and the web app offers an array of features to make the lives of yourself and your clients that extra bit easier. Find out more after the fold.



Overview


Ronin is a web app that makes managing your online business a breeze. Ronin allows you to easily manage almost all aspects of your online projects, though has a focus on the billing side. From task management to time tracking, the range of features it offers is perfect for any freelancer or small business who often feels the need to branch out to several web apps to perform different tasks.

Overview
Overview

With Ronin, this is all provided as standard. It also has support for unique currencies on a per-invoice basis which is especially useful for those who work with several currencies.

User-Interface


Ronin has a clean and sleek interface that makes the whole experience extremely easy. Consisting of a silver and light blue color scheme, it is somewhat reminiscent of Apple’s Mac interface and is really straightforward to use and navigate. With almost instant searching for most types of the data stored within Ronin, it ensures that easy reference is just that as invoices, estimates and more can be retrieved easily – simply by entering the corresponding number. Overall, the interface makes up a considerable portion of what makes the app great and it does so well, giving a professional feel that will reflect upon clients.

User-Interface
User-Interface

Pricing


Ronin uses the ever-so-popular freemium pricing strategy that promises to provide a similar set of features, whether the plan is free or paid. However, with the upgraded plans, Ronin’s branding is removed from the interface – giving a professional experience to clients. The upgraded plans also allow more clients and staff users to be added to the system – useful if you are part of a small organisation that needs to provide multiple staff members with the option of managing multiple clients. Ronin is very affordable and even with the free plan, offers a great variety of features to allow for online business to be made easier.

Pricing Plans
Pricing Plans

Getting Started


Getting started with Ronin is an easy task and one which can be performed quickly. Once you’ve chosen a plan, you can begin the registration process. It doesn’t ask you for much account information initially when registering so once you’ve provided your email address, name and business name, and chosen a subdomain from which you and clients will access your account, you are ready to begin using Ronin.

Creating an Account
Creating an Account

Creating Invoices


It’s a really simple and straightforward process to create invoices in Ronin and you’re offered a healthy number of features that aid this. Once a client is chosen for the invoice to be issued to, an invoice number can then be assigned or automatically generated and there is a wealth of other options. Currencies can be chosen on a per-invoice basis which is really useful for those (including myself) that work online for clients in other countries.

Adding Invoice Details
Adding Invoice Details

Once the issue date and due date have been added, it is then possible to begin adding individual items to the invoice. This in itself is made really useful through the really great interface and items can be moved and deleted with ease. Each item is also given the option to be taxed, relieving the need to calculate these prior to creation. Another possibility of Ronin’s great invoicing is the ability to set recurring invoices, ensuring that those regular invoices are sent when needed – without the need to do this manually – thus saving a lot of time. Invoices can be saved as really great-looking PDF files and then emailed to the client or this can be done within Ronin.

Adding Items to Invoice
Adding Items to Invoice

With the upgraded packages, it’s also a possibility for invoices to be paid within the Ronin control panel through the PayPal or Authorize.net payment gateways, ensuring a swift receipt of payment without the need to do this manually – a seemingly recurring great feature of Ronin’s.

Managing Projects


As well as invoicing, Ronin has outstanding support for most other types of project management too. Ranging from estimates to task management, the app is not short of features when it comes to completing a range of other tasks relating to the progression of the projects.

When projects are created, you are immediately given the option of specifying a set billing rate for your participation in the project which can easily be used for future invoicing. All projects complete with a task manager, removing any reliance on any other task management apps with the convenience of it being built into Ronin.

Creating Projects
Creating Projects

Estimates can be created in a similar fashion to that of the invoices and can easily be assigned to specific clients. Expenses can also be tracked inside Ronin and also be assigned to clients. Also, when there is a common item found on the invoices you issue, it’s possible to add these products into Ronin for easy inclusion into invoices when required. Not a huge feature but can certainly help to save time.

Creating Estimates
Creating Estimates

Final Thoughts


My opinions of Ronin are quite high, overall. Whilst some of the other invoice apps do limit the features they offer to those non-paying users, Ronin generally doesn’t—making it ideal for those small freelancers or businesses who can’t finance a regular paid invoicing application without having the features limited. The design’s really nice and I found the interface to be both simple yet advanced, catering for the app’s wide range of features without anything seeming out of place. Overall, Ronin is one of my favourite invoicing apps for the moment and appears to offer everything I, and most likely many others, require."
read more

Codesnipp.it: More Than Just Code Sharing

Codesnipp.it: More Than Just Code Sharing: "
Whether you’re looking for a bit of JavaScript to enhance your website or you’re simply searching for that PHP class that will make it easier to handle database connections, you can spend a lot of time searching for bits of code but some cause more harm than good.

A few weeks ago, we took a quick look at Codesnipp.it and we thought that it was so good, it was definitely worth a full review. With Codesnipp.it, you can easily find and share snippets of code with fellow developers, as well as commenting on them. Find out more inside.



Overview


Codesnipp.it is a community for developers to share useful snippets of code with others and get feedback, as well as browse through the ever-growing selection that other users have posted. It’s not just limited to code, and you can also use the site to ask questions or get help from others. It includes options for the easy tagging and categorisation of code based on their language or specified tags. With support for a wide array of programming languages, it’s easy to find exactly what you are looking for and with support for syntax highlighting, it makes the shared code easier to read and you’re job a whole lot easier.

Overview
Overview

Interface


One of Codesnipp.it’s greatest assets is its interface. The whole site is really simple to use and although there are some enhancements made to make the interface more visually-appealing, these are quite subtle and do not compromise the overall usability of it. As well as this, a lot of the interface is very much laid out in the format of a stream, allowing users to view the latest and most popular activity on the site in a simple and straightforward way.

Interface
Interface

Pricing


Although it’s possible to register for free when you obtain an invite, you can also purchase a “Ninja” membership which allows you to have a significantly higher quota of snippet postings and invites. This is a very reasonable price and after purchasing, your avatar is highlighted to show other members your status.

Upgrading Codesnipp.it Account
Upgrading Codesnipp.it Account

Getting Started


Because of the well-justified invite-only nature of Codesnipp.it, you can’t get in without an invite. You can either obtain one by finding a member and then asking them to kindly send you one or by purchasing the premium “Ninja” plan.

If you have an invite, simply click the email and you’ll be then taken to Codesnipp.it. However, it’s not possible to sign up the conventional way and once you’ve clicked on the link, you’ll be sent an email detailing your randomly-generated password which you can then use in conjunction with your email address to login.

Creating Snippits


It’s a really simple process to add snippits and you are automatically presented with a form that allows you to do just that on the main page. It’s simply a case of choosing a title for the snippit, pasting your code and then using categories and tags to allow other users to find your snippits.

Adding Snippits
Adding Snippits

As Codesnipp.it isn’t just for sharing code and can also be used for asking questions, you can define when you are adding your snippit whether the post is a question or not. Either way, this is basically the same easy process and once you’ve done, your snippit is automatically added and other users can then access it. You can easily go back and edit your snippits after they’ve been posted and you can even delete them should the need arise.

Snippit View
Snippit View

Browsing Snippets


Because of Codesnipp.it’s support for the tagging and categorisation of individual snippits, it’s pretty easy to find exactly what you’re looking for or simply browse through to see the snippits that are available. It offers a search feature which allows you to find snippits based on tags that you specify. It’s also possible to search a range of popular tags that can really help if you’re not looking for anything particular, and would perhaps like to look through some interesting snippits that others have posted.

Tag List
Tag List

The Codesnipp.it categories are split mainly into each language, with the minor exception of significant implementations of these like WordPress and CodeIgniter.

Categories
Categories

Interactivity


One of the unique things about Codesnipp.it compared with other code-sharing websites it its focus on interactivity between users and snippits. It’s possible to praise useful snippits and thus increase their popularity by using the “like” feature, ensuring that others can also easily discover the most useful ones. Codesnipp.it also features a comment system where users can comment on that particular snippit and this is great for when you require additional support or have a question reagrding the use of that snippit or you’d just like to thank the developer for sharing.

Interaction
Interaction

Snippits can also be shared through popular social networking websites like Twitter and Facebook just by using the buttons below each snippit.

API


Finally, Codesnipp.it features an API that can also be used by developers for working with the website and developing applications to ease use of it. Though this isn’t really a specific feature of the website itself, it can prove to be incredibly useful if you’d like to perform actions like automatically posting snippits from your own website, decreasing the time taken to add each one manually. There has also been an extension for Firefox developed to allow for the easy viewing of all the latest interaction on the site and also add snippits directly from the browser.

API
API

Final Thoughts


Overall, I really love the concept of Codesnipp.it. I’ve never really come across a website such as this that’s dedicated simply to developers who wish to either help out fellow developers or just those wanting some great pieces of code that can really complete their application.

Because you’re required to have an invite to create an account and post snippits, the community is quite small and as such, is quite devoid of spam—which is just what is needed with this sort of website. The only users being those whom it’s aimed at, making the content more relavent. To conclude, I think that Codesnipp.it is a really useful website that can really prove to be a great help for all developers, regardless of their skill level."
read more

Quick and Easy Sites With ThemeForest and PageLime

Quick and Easy Sites With ThemeForest and PageLime: "
One of the many awesome aspects of ThemeForest is the affordability of such amazing templates and themes. However, I quickly noticed many of my items’ buyers expected my hourly rates for content customization to be little more than the item price itself—which was just not possible.

Thanks to some really great lightweight CMSes, which we rounded up in our 10 Fantastic Lightweight CMSes You Should Try post, I can easily provide many of my buyers with an easily editable website in very little time and at a very low cost.

In today’s how-to, I’ll walk you through the simple steps of setting up a ThemeForest template with the easy to use CMS PageLime.



ThemeForest.net


If you’re not familiar with ThemeForest, now’s a great time to get acquainted. ThemeForest is a wonderful marketplace for premium quality templates and themes at prices you’ll be hard pressed to beat anywhere on the web.

ThemeForest.net
ThemeForest.net

There’s more than just regular website templates available though. There’s amazing templates for a variety of purposes covering many of today’s online web needs.


Landing Pages
Landing Pages

PageLime CMS


PageLime is a very simple CMS that is implemented using CSS classes and enables you or your clients to easily edit just about anything you choose to be editable. The CMS uses an easy to use “What You See Is What You Get” (WYSIWYG) editor that your clients won’t have a problem using.

PageLime
PageLime

PageLime is a great solution for your clients that need a simple CMS to take the workload of your shoulders but that still might need rely on you from time to time. Pricing is setup well with a Free plan giving you 3 sites to work with and the next step up offering 50 sites. Charge your clients a small monthly fee for this service and you’re in business!

Pricing
Pricing

There’s quite a few additional features that come with paid plans so be sure to check those out at the pricing page.

How It Works


PageLime is a hosted solution that connects to your web server via FTP to access and edit your website files. This way you won’t need to install any additional software on your client’s web server in order to offer them an easy content management solution.

Read on to see how to set this up in a matter of minutes!

Getting Started


First thing’s first; we need to find a template at ThemeForest.net, which might already be selected by your potential client or you could direct your client to choose. I’ve selected the 96 Display template by author Devilcantburn for this tutorial.

96 Display
96 Display

If your client already has a website, you can skip this step or recommend that they select a new template from ThemeForest if what they have is horrid looking (I’ve done this many times). Once you’ve uploaded the template to either yours or your client’s web server, you’re ready to get started with PageLime.

PageLime Setup


Sign up for PageLime, which literally only takes a few seconds, requires no payment information and includes a free 14-day trial of their paid plans. You can even simply sign in with several of today’s popular web services including Google, Open ID, Facebook, Twitter, etc.

PageLime signup
PageLime signup

Once you’ve signed up and logged in you’re ready to add your site and start using PageLime.

Add New Site


Start by adding a new site from your dashboard view (the first page you’ll see after logging in).

Add New Site
Add New Site

Next, enter the URL to your home page. This isn’t the URL to your site but the URL to your specific home page file.

Home page URL
Home page URL

On the following page, enter your site’s settings, including the web server FTP login information.

Website Settings
Website Settings

Before continuing, click the Advanced tab and customize any additional settings you may want. Here I’ve selected to use SFTP and changed the default editable CSS class name to “cms-edit” rather than “cms-editable”.

Advanced Settings
Advanced Settings

Once you’ve saved your site settings, you’re ready to begin editing your site and getting it ready for CMS integration.

Insert CSS Classes For Editable Sections


PageLime needs to know what elements or sections you want to allow editing for, which requires a simple CSS class be applied to that specific element or section. From your Manage Sites page, click the name of the site you’d like to begin editing. This will bring you to the Site Actions page where you can start editing the site.

Site Actions
Site Actions

You may want to open your sitemap and add additional pages first, or manage additional site features to enable image galleries, SEO, content history or other neat features. I’ve gone ahead and added the remaining pages of my template to the sitemap and enabled additional site features I’d like to use.

Additional Site Features
Additional Site Features

Edit Code
Edit Code
From the Site Actions page, click Edit Site to begin integrating the CMS features and enable editing. The website template will load, ready for us to setup our editable sections. Click the Page Tools in the top right navigation and select Edit Code.
A code editor will open, allowing you to easily add the class names to make your sections editable. We want to make the following three sections editable, which are on the home page.

Editable Sections
Editable Sections

I’ve opened the code editor as described above, entered the CSS class “cms-edit” along with unique CSS IDs on the sections I would like to be editable for my client and clicked Upload page. These sections will now be easily editable using the WYSIWYG editor.

Add Classes & IDs
Add Classes & IDs

Edit bubble
Edit bubble
Now when you visit the page in the WYSIWYG editor you’ll see Edit bubbles for each of the editable sections. Click these to open the editor and edit the content in each of the sections.

By default, the WYSIWYG editor’s background is white, but the text in my template is white so I’d like the editor’s background color to be black. I’ve changed this setting in the WYSIWYG settings tab under Site Settings.

WYSIWYG Settings
WYSIWYG Settings

You can also add functions to the WYSIWYG editor by dragging the icons from the right into the simple or advanced editors on the left.

Editing & Publishing


Now you or your client can easily edit the content in these sections!

Editable Sections
Editable Sections

I’ve made a few quick changes and uploaded them to the site by clicking Page Actions in the top left of the navigation, then clicking Publish. If you’re not ready to publish the changes for live viewing, however, you can alternately save them as a draft.

Publish Changes
Publish Changes

Sitemap Sidebar
Sitemap Sidebar
When you’re ready to edit another page, click the gray bar in the left sidebar to open the sitemap.


Sitemap Pages
Sitemap Pages
From here you’ll be able to navigate through your site’s pages, edit their properties, remove them from the sitemap or edit their RSS settings.

Editable Elements & Sections


There’s a lot more you can do with the PageLime CMS that will make it incredibly easy for you to enable your clients to manage their website’s content and all the while at a very affordable price that doesn’t short change you. PageLime is capable of repeating regions, image and document management (including an image optimizer), page templates, navigation management and more. Visit PageLime’s documentation page for more information.

Users & Permissions


Once the site is setup and ready to use with PageLime, you’ll need to give your client access. To accomplish this, visit your Users & Permissions page via the drop-down navigation under Manage Account at the top right of the page.

Users and Permissions
Users and Permissions

Select register new user from the Actions in the right sidebar and enter the new user’s information and site permissions. You can even add more administrators if needed, although you’ll need a business account.

New User Setup
New User Setup

Conclusion


With PageLime and ThemeForest I was able to get my client setup with a beautiful website and a CMS they’ll know how to use immediately, all in less than an hour. While this does come at a monthly cost (if you choose a paid plan), I can easily turn around and charge my clients a low monthly fee for the service. I also offer most of my clients web hosting, so I can bundle hosting charges and a CMS for an all-in-one solution.

What do you think of PageLime and the idea of lightweight CMSes to handle simple projects that don’t need a full-on CMS?

If you’re looking for a lightweight CMS solution, check out our roundup of the top 10 Fantastic Lightweight CMSes You Should Try.

"
read more

Best Tools for Blogging

Best Tools for Blogging: "

Today, I’ve decided to share you the tools I used for my blogging. Here are some of my favourite and best of the best tools below…

  • Microsoft Live Writer – This special tool enable users to write their post offline like a word processor and later, post it online to the blog. This includes the media used in the post. It also comes with some cool graphic filters such as adding photo frames, extra effects on any graphics and photos you add to your post. It is also smart enough to download the theme style of your blog so that, whatever you write is seamless to the actual ones when published to the server. Best of all this tool is free!



  • Photoscape – a powerful graphic media mashing and editing tool. With it you don’t even need a professional graphic editing tools like Photoshop to do editing you need. You can make tiled photos, add extra effects, filters, fancy frames and even comical captions with this tool alone. Try it you will not regret it. Again above all – it’s Free!



IPhone Apps which I recommend to use for Mobile Bloggers on the run.

  1. WordPress App – a mini offline blogging tool much like Live Writer, but lesser functionality, you are able to do minimal blogging and attaching existing media from your phone to the server.
  2. ComicStrip – a fun and easy to use software to mash up your photos and add captions and wonderful frames to it.
  3. Photoshop Express – a simple app much like photoshop (but way less feature) to modify your photos, adding basic filters and effect stuff.


There you go, my most powerful blogging tools. I really hope you really enjoy these tools the same as I do. Happy writting!

"
read more

How to Build a Kick-Butt CSS3 Mega Drop-Down Menu

How to Build a Kick-Butt CSS3 Mega Drop-Down Menu: "
Often used on e-commerce or large scale websites, mega menus are becoming more and more popular, as they offer an effective solution to displaying a lot of content while keeping a clean layout. In this tutorial, we’ll learn how to build a cross-browser, awesome CSS-only drop-down mega menu, using nice CSS3 features.





Step 1: Building the Navigation Bar


Let’s begin with a basic menu, built with an unordered list and some basic CSS styling.

<ul id="menu">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Contact</a></li>
</ul>

Creating the Menu Container


We’ll now apply some basic CSS styling. For the menu container, we define a fixed width that we center by setting the left and right margins to “auto”.

#menu {
list-style:none;
width:940px;
margin:30px auto 0px auto;
height:43px;
padding:0px 20px 0px 20px;
}

Now, let’s see how we can improve it with some CSS3 features. We need to use different syntaxes for Webkit-based browsers (like Safari) and for Mozilla-based browsers (like Firefox).

For rounded corners, the syntax will be :

-moz-border-radius: 10px
-webkit-border-radius: 10px;
border-radius: 10px;

For the background, we’ll use gradients and a fallback color for older browsers. To keep consistency when choosing colors, there is an awesome tool called Facade that helps you find lighter and darker tones of a basic color.

background: #014464;
background: -moz-linear-gradient(top, #0272a7, #013953);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0272a7), to(#013953));

The first line applies a simple background color (for older browsers); the second and third lines create a gradient from the top to the bottom using two colors : #0272a7 and #013953.

We can now add a darker border and polish the design with a “fake” inset border created with the “box-shadow” feature. The syntax is the same for all compatible browsers: the first value is the horizontal offset, the second one is the vertical offset, the third one is the blur radius (a small value makes it sharper; it will be 1 pixel in our example). We set all offsets to 0 so the blur value will create a uniform light border :

-moz-box-shadow:inset 0px 0px 1px #edf9ff;
-webkit-box-shadow:inset 0px 0px 1px #edf9ff;
box-shadow:inset 0px 0px 1px #edf9ff;

Here’s the final CSS code for the #menu container :

#menu {
list-style:none;
width:940px;
margin:30px auto 0px auto;
height:43px;
padding:0px 20px 0px 20px;

/* Rounded Corners */

-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;

/* Background color and gradients */

background: #014464;
background: -moz-linear-gradient(top, #0272a7, #013953);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0272a7), to(#013953));

/* Borders */

border: 1px solid #002232;

-moz-box-shadow:inset 0px 0px 1px #edf9ff;
-webkit-box-shadow:inset 0px 0px 1px #edf9ff;
box-shadow:inset 0px 0px 1px #edf9ff;
}

Styling Menu Items


We will begin with all menu items aligned to the left and space them with a margin-right (the padding will be necessary for the hover state) :

#menu li {
float:left;
display:block;
text-align:center;
position:relative;
padding: 4px 10px 4px 10px;
margin-right:30px;
margin-top:7px;
border:none;
}

For the hover state and the drop down, I have chosen a grey color scheme for the background.

The fallback color will be a light grey (#F4F4F4) and the gradient will be applied from the top (#F4F4F4) to the bottom (#EEEEEE). Rounded corners will be applied only on top corners as we’ll have the drop down sticking right under the menu items.

background: #F4F4F4;
background: -moz-linear-gradient(top, #F4F4F4, #EEEEEE);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F4F4F4), to(#EEEEEE));

The left and right padding is slightly smaller here because we have a border of 1 pixel appearing on hover. If we keep the same padding, menu items will be pushed two pixels on the right because of the left and right borders added on mouse hover. To avoid that, we’ll remove 1 pixel of padding on both sides, so we have 9 pixels instead of 10.

border: 1px solid #777777;
padding: 4px 9px 4px 9px;

Then, we add rounded corners to the top only so the drop down will stick perfectly under the parent menu item :

-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;

Here is the final CSS for the menu items on hover :

#menu li:hover {
border: 1px solid #777777;
padding: 4px 9px 4px 9px;

/* Background color and gradients */

background: #F4F4F4;
background: -moz-linear-gradient(top, #F4F4F4, #EEEEEE);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F4F4F4), to(#EEEEEE));

/* Rounded corners */

-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;
}

For the links, we’ll apply a nice text shadow using a simple syntax : the first and second values are horizontal and vertical offsets for the shadow (1 pixel in our example), the third one is the blur (1 pixel too) and then we have the (black) color :

text-shadow: 1px 1px 1px #000;

Here is the final CSS for the links :

#menu li a {
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
color: #EEEEEE;
display:block;
outline:0;
text-decoration:none;
text-shadow: 1px 1px 1px #000;
}

On mouse hover, as the background is grey, we’ll use a darker color (#161616) for the links and the white color for the text shadow :

#menu li:hover a {
color:#161616;
text-shadow: 1px 1px 1px #FFFFFF;
}

Finally, we need a way to indicate if there’s a drop down or not by using a simple arrow image as background, it will be positioned on the right using padding and the top margin will align to it properly. On hover this top margin will be set to 7 pixels instead of 8 as we have an additional border appearing on mouse hover (otherwise, the arrow would be pushed 1 pixel down on hover) :

#menu li .drop {
padding-right:21px;
background:url('img/drop.png') no-repeat right 8px;
}
#menu li:hover .drop {
background:url('img/drop.png') no-repeat right 7px;
}

Here is our final code for the menu container and links; only the “home” item doesn’t have any drop down content for now :

<ul id="menu">
<li><a href="#">Home</a></li>
<li><a href="#" class="drop">About</a></li>
<li><a href="#" class="drop">Services</a></li>
<li><a href="#" class="drop">Portfolio</a></li>
<li><a href="#" class="drop">Contact</a></li>
</ul>

#menu {
list-style:none;
width:940px;
margin:30px auto 0px auto;
height:43px;
padding:0px 20px 0px 20px;

/* Rounded Corners */

-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;

/* Background color and gradients */

background: #014464;
background: -moz-linear-gradient(top, #0272a7, #013953);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0272a7), to(#013953));

/* Borders */

border: 1px solid #002232;

-moz-box-shadow:inset 0px 0px 1px #edf9ff;
-webkit-box-shadow:inset 0px 0px 1px #edf9ff;
box-shadow:inset 0px 0px 1px #edf9ff;
}

#menu li {
float:left;
display:block;
text-align:center;
position:relative;
padding: 4px 10px 4px 10px;
margin-right:30px;
margin-top:7px;
border:none;
}

#menu li:hover {
border: 1px solid #777777;
padding: 4px 9px 4px 9px;

/* Background color and gradients */

background: #F4F4F4;
background: -moz-linear-gradient(top, #F4F4F4, #EEEEEE);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F4F4F4), to(#EEEEEE));

/* Rounded corners */

-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;
}

#menu li a {
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
color: #EEEEEE;
display:block;
outline:0;
text-decoration:none;
text-shadow: 1px 1px 1px #000;
}

#menu li:hover a {
color:#161616;
text-shadow: 1px 1px 1px #FFFFFF;
}
#menu li .drop {
padding-right:21px;
background:url('img/drop.png') no-repeat right 8px;
}
#menu li:hover .drop {
background:url('img/drop.png') no-repeat right 7px;
}

And the result is :

Building a CSS3 Mega Drop Down Menu



Step 2: Coding the Drop Down


A “classic” drop down menu usually contains lists nested within parent list items and looks like:

<ul id="menu">
<li><a href="#">Item 1</a><
<ul>
<li><a href="#">Subitem 1</a></li>
<li><a href="#">Subitem 2</a></li>
<li><a href="#">Subitem 3</a></li>
</ul>
</li>
<li><a href="#">Item 2</a><
<ul>
<li><a href="#">Subitem 1</a></li>
<li><a href="#">Subitem 2</a></li>
</ul>
</li>
</ul>

General Structure


For our Mega Menu, instead of nested lists, we’ll simply use standard DIVs, which will work like any nested list :

<ul id="menu">
<li><a href="#">Item 1</a>
<div>
Drop down Content
<div>
</li>
<li><a href="#">Item 2</a>
<div>
Drop down Content
<div>
</li>
</ul>

This will be the basic structure for the drop down. The idea behind it is to be able to include any kind of content, such as paragraphs, images, custom lists or a contact form, organized into columns.

Drop Down Containers


Containers with different sizes will hold the entire drop down content. I’ve chosen the tag names according to the number of columns they will contain.

To hide the drop downs, we’ll use absolute positioning with a negative left margin :

position:absolute;
left:-999em;

The background fallback color is the same as the one used for the menu items. Modern browsers will display a gradient starting with #EEEEEE at the top (to match the parent menu item gradient) and ending with #BBBBBB at the bottom:

background:#F4F4F4;
background: -moz-linear-gradient(top, #EEEEEE, #BBBBBB);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB));

We’ll again use rounded corners, except for the top left one :

-moz-border-radius: 0px 5px 5px 5px;
-webkit-border-radius: 0px 5px 5px 5px;
border-radius: 0px 5px 5px 5px;

.dropdown_1column,
.dropdown_2columns,
.dropdown_3columns,
.dropdown_4columns,
.dropdown_5columns {
margin:4px auto;
position:absolute;
left:-999em; /* Hides the drop down */
text-align:left;
padding:10px 5px 10px 5px;
border:1px solid #777777;
border-top:none;

/* Gradient background */
background:#F4F4F4;
background: -moz-linear-gradient(top, #EEEEEE, #BBBBBB);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB));

/* Rounded Corners */
-moz-border-radius: 0px 5px 5px 5px;
-webkit-border-radius: 0px 5px 5px 5px;
border-radius: 0px 5px 5px 5px;
}

To illustrate this, let’s see how it would look if we hadn’t paid attention to detail:

Building a CSS3 Mega Drop Down Menu

Now here is our example:

Building a CSS3 Mega Drop Down Menu

As you can see, the drop down sticks nicely to its parent menu item.

In order to have a perfect drop down container, we need to specify the width for each one :

.dropdown_1column {width: 140px;}
.dropdown_2columns {width: 280px;}
.dropdown_3columns {width: 420px;}
.dropdown_4columns {width: 560px;}
.dropdown_5columns {width: 700px;}

And to show the drop downs on mouse hover, we’ll simply use :

#menu li:hover .dropdown_1column,
#menu li:hover .dropdown_2columns,
#menu li:hover .dropdown_3columns,
#menu li:hover .dropdown_4columns,
#menu li:hover .dropdown_5columns {
left:-1px;top:auto;
}

Using the Drop Down Containers


Our classes are ready to be included in our menu. We’ll use each one of them starting from the 5-column, layout to the single column drop down :

<ul id="menu">
<li><a href="#">Home</a></li>
<li><a href="#" class="drop">5 Columns</a>
<div class="dropdown_5columns">
<p>5 Columns content</p>
</div>
</li>
<li><a href="#" class="drop">4 Columns</a>
<div class="dropdown_4columns">
<p>4 Columns content</p>
</div>
</li>
<li><a href="#" class="drop">3 Columns</a>
<div class="dropdown_3columns">
<p>3 Columns content</p>
</div>
</li>
<li><a href="#" class="drop">2 Columns</a>
<div class="dropdown_2columns">
<p>2 Columns content</p>
</div>
</li>
<li><a href="#" class="drop">1 Column</a>
<div class="dropdown_1column">
<p>1 Column content</p>
</div>
</li>
</ul>

Here is a preview of the code above :

Building a CSS3 Mega Drop Down Menu



Step 3: Creating the Drop Down Container Columns


Now that we have the containers ready, we’ll create columns of increasing sizes, following the principles of the 960 grid system.

.col_1,
.col_2,
.col_3,
.col_4,
.col_5 {
display:inline;
float: left;
position: relative;
margin-left: 5px;
margin-right: 5px;
}
.col_1 {width:130px;}
.col_2 {width:270px;}
.col_3 {width:410px;}
.col_4 {width:550px;}
.col_5 {width:690px;}

Using Columns


Here is an example of a drop down containing several columns. In this example, we have different combinations using all kinds of columns :

<ul id="menu">
<li><a href="#" class="drop">5 Columns</a>
<div class="dropdown_5columns">
<div class="col_5">
<p>This is a 5 Columns content</p>
</div>
<div class="col_1">
<p>This is a 1 Column content</p>
</div>
<div class="col_1">
<p>This is a 1 Column content</p>
</div>
<div class="col_1">
<p>This is a 1 Column content</p>
</div>
<div class="col_1">
<p>This is a 1 Column content</p>
</div>
<div class="col_1">
<p>This is a 1 Column content</p>
</div>
<div class="col_4">
<p>This is a 4 Columns content</p>
</div>
<div class="col_1">
<p>This is a 1 Column content</p>
</div>
<div class="col_3">
<p>This is a 3 Columns content</p>
</div>
<div class="col_2">
<p>This is a 2 Columns content</p>
</div>
</div>
</li>
</ul>

Code preview :

Building a CSS3 Mega Drop Down Menu



Step 4: Aligning to the Right


Now, let’s see how we can align our menu and the drop down content to the right edge of the navigation bar; not only the menu item, but the drop down container should also be changed.

To accomplish this, we’ll add a new class called .menu_right to the parent list item, so we reset the right margin and float it to the right :

#menu .menu_right {
float:right;
margin-right:0px;
}

Next, let’s see the drop down. In the previous CSS code, rounded corners were applied to all corners except the left-top one to, in order to match the background of the parent menu item. Now we want this drop down to stick to the right edge of the parent menu item. So, we’ll overwrite the border-radius values with a new class called .align_right, and set the top-right corner to 0.

#menu li .align_right {
/* Rounded Corners */
-moz-border-radius: 5px 0px 5px 5px;
-webkit-border-radius: 5px 0px 5px 5px;
border-radius: 5px 0px 5px 5px;
}

Last but not least, we want to make the drop down appear on the right; so we’ll use our new class and reset the left value, then make it stick to the right :

#menu li:hover .align_right {
left:auto;
right:-1px;
top:auto;
}

Now it’s ready to be used in the menu :

<li class="menu_right"><a href="#" class="drop">Right</a>
<div class="dropdown_1column align_right">
<div class="col_1">
<p>This is a 1 Column content</p>
</div>
</div>
</li>

And a small preview of the code above :

Building a CSS3 Mega Drop Down Menu



Step 5: Adding and Styling Content


Now that we have the whole structure ready, we can add as much content as we want: text, lists, images, etc.

General Stylings


Let’s begin with some basic styling for paragraphs and headings :

#menu p, #menu h2, #menu h3, #menu ul li {
font-family:Arial, Helvetica, sans-serif;
line-height:21px;
font-size:12px;
text-align:left;
text-shadow: 1px 1px 1px #FFFFFF;
}
#menu h2 {
font-size:21px;
font-weight:400;
letter-spacing:-1px;
margin:7px 0 14px 0;
padding-bottom:14px;
border-bottom:1px solid #666666;
}
#menu h3 {
font-size:14px;
margin:7px 0 14px 0;
padding-bottom:7px;
border-bottom:1px solid #888888;
}
#menu p {
line-height:18px;
margin:0 0 10px 0;
}
.strong {
font-weight:bold;
}
.italic {
font-style:italic;
}

We can apply a nice blue color to the links within the drop down :

#menu li:hover div a {
font-size:12px;
color:#015b86;
}
#menu li:hover div a:hover {
color:#029feb;
}

Lists Stylings


Let’s revamp our lists; we have to reset some styling such as the background color or the borders which are used in the navigation bar :

#menu li ul {
list-style:none;
padding:0;
margin:0 0 12px 0;
}
#menu li ul li {
font-size:12px;
line-height:24px;
position:relative;
text-shadow: 1px 1px 1px #ffffff;
padding:0;
margin:0;
float:none;
text-align:left;
width:130px;
}
#menu li ul li:hover {
background:none;
border:none;
padding:0;
margin:0;
}

Styling Images


.imgshadow {
background:#FFFFFF;
padding:4px;
border:1px solid #777777;
margin-top:5px;
-moz-box-shadow:0px 0px 5px #666666;
-webkit-box-shadow:0px 0px 5px #666666;
box-shadow:0px 0px 5px #666666;
}

And to create a paragraph with an image on the left :

.img_left {
width:auto;
float:left;
margin:5px 15px 5px 5px;
}

Text Boxes


To highlight some content, here is an example of a dark box with rounded corners and a subtle inset shadow :

#menu li .black_box {
background-color:#333333;
color: #eeeeee;
text-shadow: 1px 1px 1px #000;
padding:4px 6px 4px 6px;

/* Rounded Corners */
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;

/* Shadow */
-webkit-box-shadow:inset 0 0 3px #000000;
-moz-box-shadow:inset 0 0 3px #000000;
box-shadow:inset 0 0 3px #000000;
}

Restylings Lists


And to finish, here’s another way to style your lists using, again, some CSS3 :

#menu li .greybox li {
background:#F4F4F4;
border:1px solid #bbbbbb;
margin:0px 0px 4px 0px;
padding:4px 6px 4px 6px;
width:116px;

/* Rounded Corners */
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#menu li .greybox li:hover {
background:#ffffff;
border:1px solid #aaaaaa;
padding:4px 6px 4px 6px;
margin:0px 0px 4px 0px;
}



Step 6: Handling Browser Compatibility and IE6


All browsers handle hover on non-anchor tags . . . except Internet Explorer 6; so our Mega Menu is still not working with this old browser. We can fix this problem thanks to a behavior file that will add this functionality. You can find it here, and use conditional comments to target IE6 only; more explanations can be found via this article from CSS-Tricks.

To target IE6, we’ll use the following code :

<!--[if IE 6]>
<style>
body {behavior: url("csshover3.htc");}
</style>
<![endif]-->

I’ve used a few PNG files in this tutorial, and, as everyone knows, IE6 doesn’t support transparency so we have different solutions :

  • Convert them to GIF or PNG-8 format
  • Use a script
  • Set a background color other than the default grey with TweakPNG for example

I’ll let you choose the one that fits to your needs. Now, let’s review a full working example.



Final Example


HTML Part


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="menu.css" type="text/css" media="screen" />

<title>Mega Drop Down Menu</title>
<!--[if IE 6]>
<style>
body {behavior: url("csshover3.htc");}
#menu li .drop {background:url("img/drop.gif") no-repeat right 8px;
</style>
<![endif]-->

</head>

<body>

<ul id="menu">

<li><a href="#" class="drop">Home</a><!-- Begin Home Item -->

<div class="dropdown_2columns"><!-- Begin 2 columns container -->

<div class="col_2">
<h2>Welcome !</h2>
</div>

<div class="col_2">
<p>Hi and welcome here ! This is a showcase of the possibilities of this awesome Mega Drop Down Menu.</p>
<p>This item comes with a large range of prepared typographic stylings such as headings, lists, etc.</p>
</div>

<div class="col_2">
<h2>Cross Browser Support</h2>
</div>

<div class="col_1">
<img src="img/browsers.png" width="125" height="48" alt="" />
</div>

<div class="col_1">
<p>This mega menu has been tested in all major browsers.</p>
</div>

</div><!-- End 2 columns container -->

</li><!-- End Home Item -->

<li><a href="#" class="drop">5 Columns</a><!-- Begin 5 columns Item -->

<div class="dropdown_5columns"><!-- Begin 5 columns container -->

<div class="col_5">
<h2>This is an example of a large container with 5 columns</h2>
</div>

<div class="col_1">
<p class="black_box">This is a dark grey box text. Fusce in metus at enim porta lacinia vitae a arcu. Sed sed lacus nulla mollis porta quis.</p>
</div>

<div class="col_1">
<p>Phasellus vitae sapien ac leo mollis porta quis sit amet nisi. Mauris hendrerit, metus cursus accumsan tincidunt.</p>
</div>

<div class="col_1">
<p class="italic">This is a sample of an italic text. Consequat scelerisque. Fusce sed lectus at arcu mollis accumsan at nec nisi porta quis sit amet.</p>
</div>

<div class="col_1">
<p>Curabitur euismod gravida ante nec commodo. Nunc dolor nulla, semper in ultricies vitae, vulputate porttitor neque.</p>
</div>

<div class="col_1">
<p class="strong">This is a sample of a bold text. Aliquam sodales nisi nec felis hendrerit ac eleifend lectus feugiat scelerisque.</p>
</div>

<div class="col_5">
<h2>Here is some content with side images</h2>
</div>

<div class="col_3">

<img src="img/01.jpg" width="70" height="70" class="img_left imgshadow" alt="" />
<p>Maecenas eget eros lorem, nec pellentesque lacus. Aenean dui orci, rhoncus sit amet tristique eu, tristique sed odio. Praesent ut interdum elit. Sed in sem mauris. Aenean a commodo mi. Praesent augue lacus.<a href="#">Read more...</a></p>

<img src="img/02.jpg" width="70" height="70" class="img_left imgshadow" alt="" />
<p>Aliquam elementum felis quis felis consequat scelerisque. Fusce sed lectus at arcu mollis accumsan at nec nisi. Aliquam pretium mollis fringilla. Nunc in leo urna, eget varius metus. Aliquam sodales nisi.<a href="#">Read more...</a></p>

</div>

<div class="col_2">

<p class="black_box">This is a black box, you can use it to highligh some content. Sed sed lacus nulla, et lacinia risus. Phasellus vitae sapien ac leo mollis porta quis sit amet nisi. Mauris hendrerit, metus cursus accumsan tincidunt.Quisque vestibulum nisi non nunc blandit placerat. Mauris facilisis, risus ut lobortis posuere, diam lacus congue lorem, ut condimentum ligula est vel orci. Donec interdum lacus at velit varius gravida. Nulla ipsum risus.</p>

</div>

</div><!-- End 5 columns container -->

</li><!-- End 5 columns Item -->

<li><a href="#" class="drop">4 Columns</a><!-- Begin 4 columns Item -->

<div class="dropdown_4columns"><!-- Begin 4 columns container -->

<div class="col_4">
<h2>This is a heading title</h2>
</div>

<div class="col_1">

<h3>Some Links</h3>
<ul>
<li><a href="#">ThemeForest</a></li>
<li><a href="#">GraphicRiver</a></li>
<li><a href="#">ActiveDen</a></li>
<li><a href="#">VideoHive</a></li>
<li><a href="#">3DOcean</a></li>
</ul>  

</div>

<div class="col_1">

<h3>Useful Links</h3>
<ul>
<li><a href="#">NetTuts</a></li>
<li><a href="#">VectorTuts</a></li>
<li><a href="#">PsdTuts</a></li>
<li><a href="#">PhotoTuts</a></li>
<li><a href="#">ActiveTuts</a></li>
</ul>  

</div>

<div class="col_1">

<h3>Other Stuff</h3>
<ul>
<li><a href="#">FreelanceSwitch</a></li>
<li><a href="#">Creattica</a></li>
<li><a href="#">WorkAwesome</a></li>
<li><a href="#">Mac Apps</a></li>
<li><a href="#">Web Apps</a></li>
</ul>  

</div>

<div class="col_1">

<h3>Misc</h3>
<ul>
<li><a href="#">Design</a></li>
<li><a href="#">Logo</a></li>
<li><a href="#">Flash</a></li>
<li><a href="#">Illustration</a></li>
<li><a href="#">More...</a></li>
</ul>  

</div>

</div><!-- End 4 columns container -->

</li><!-- End 4 columns Item -->

<li class="menu_right"><a href="#" class="drop">1 Column</a>

<div class="dropdown_1column align_right">

<div class="col_1">

<ul class="simple">
<li><a href="#">FreelanceSwitch</a></li>
<li><a href="#">Creattica</a></li>
<li><a href="#">WorkAwesome</a></li>
<li><a href="#">Mac Apps</a></li>
<li><a href="#">Web Apps</a></li>
<li><a href="#">NetTuts</a></li>
<li><a href="#">VectorTuts</a></li>
<li><a href="#">PsdTuts</a></li>
<li><a href="#">PhotoTuts</a></li>
<li><a href="#">ActiveTuts</a></li>
<li><a href="#">Design</a></li>
<li><a href="#">Logo</a></li>
<li><a href="#">Flash</a></li>
<li><a href="#">Illustration</a></li>
<li><a href="#">More...</a></li>
</ul>  

</div>

</div>

</li>

<li class="menu_right"><a href="#" class="drop">3 columns</a><!-- Begin 3 columns Item -->

<div class="dropdown_3columns align_right"><!-- Begin 3 columns container -->

<div class="col_3">
<h2>Lists in Boxes</h2>
</div>

<div class="col_1">

<ul class="greybox">
<li><a href="#">FreelanceSwitch</a></li>
<li><a href="#">Creattica</a></li>
<li><a href="#">WorkAwesome</a></li>
<li><a href="#">Mac Apps</a></li>
<li><a href="#">Web Apps</a></li>
</ul>  

</div>

<div class="col_1">

<ul class="greybox">
<li><a href="#">ThemeForest</a></li>
<li><a href="#">GraphicRiver</a></li>
<li><a href="#">ActiveDen</a></li>
<li><a href="#">VideoHive</a></li>
<li><a href="#">3DOcean</a></li>
</ul>  

</div>

<div class="col_1">

<ul class="greybox">
<li><a href="#">Design</a></li>
<li><a href="#">Logo</a></li>
<li><a href="#">Flash</a></li>
<li><a href="#">Illustration</a></li>
<li><a href="#">More...</a></li>
</ul>  

</div>

<div class="col_3">
<h2>Here are some image examples</h2>
</div>

<div class="col_3">
<img src="img/02.jpg" width="70" height="70" class="img_left imgshadow" alt="" />
<p>Maecenas eget eros lorem, nec pellentesque lacus. Aenean dui orci, rhoncus sit amet tristique eu, tristique sed odio. Praesent ut interdum elit. Maecenas imperdiet, nibh vitae rutrum vulputate, lorem sem condimentum.<a href="#">Read more...</a></p>

<img src="img/01.jpg" width="70" height="70" class="img_left imgshadow" alt="" />
<p>Aliquam elementum felis quis felis consequat scelerisque. Fusce sed lectus at arcu mollis accumsan at nec nisi. Aliquam pretium mollis fringilla. Vestibulum tempor facilisis malesuada. <a href="#">Read more...</a></p>
</div>

</div><!-- End 3 columns container -->

</li><!-- End 3 columns Item -->

</ul>

</body>

</html>

CSS Part


body, ul, li {
font-size:14px;
font-family:Arial, Helvetica, sans-serif;
line-height:21px;
text-align:left;
}

/* Navigation Bar */

#menu {
list-style:none;
width:940px;
margin:30px auto 0px auto;
height:43px;
padding:0px 20px 0px 20px;

/* Rounded Corners */

-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;

/* Background color and gradients */

background: #014464;
background: -moz-linear-gradient(top, #0272a7, #013953);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0272a7), to(#013953));

/* Borders */

border: 1px solid #002232;

-moz-box-shadow:inset 0px 0px 1px #edf9ff;
-webkit-box-shadow:inset 0px 0px 1px #edf9ff;
box-shadow:inset 0px 0px 1px #edf9ff;
}

#menu li {
float:left;
text-align:center;
position:relative;
padding: 4px 10px 4px 10px;
margin-right:30px;
margin-top:7px;
border:none;
}

#menu li:hover {
border: 1px solid #777777;
padding: 4px 9px 4px 9px;

/* Background color and gradients */

background: #F4F4F4;
background: -moz-linear-gradient(top, #F4F4F4, #EEEEEE);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F4F4F4), to(#EEEEEE));

/* Rounded corners */

-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;
}

#menu li a {
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
color: #EEEEEE;
display:block;
outline:0;
text-decoration:none;
text-shadow: 1px 1px 1px #000;
}

#menu li:hover a {
color:#161616;
text-shadow: 1px 1px 1px #FFFFFF;
}
#menu li .drop {
padding-right:21px;
background:url('img/drop.png') no-repeat right 8px;
}
#menu li:hover .drop {
background:url('img/drop.png') no-repeat right 7px;
}

/* Drop Down */

.dropdown_1column,
.dropdown_2columns,
.dropdown_3columns,
.dropdown_4columns,
.dropdown_5columns {
margin:4px auto;
float:left;
position:absolute;
left:-999em; /* Hides the drop down */
text-align:left;
padding:10px 5px 10px 5px;
border:1px solid #777777;
border-top:none;

/* Gradient background */
background:#F4F4F4;
background: -moz-linear-gradient(top, #EEEEEE, #BBBBBB);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB));

/* Rounded Corners */
-moz-border-radius: 0px 5px 5px 5px;
-webkit-border-radius: 0px 5px 5px 5px;
border-radius: 0px 5px 5px 5px;
}

.dropdown_1column {width: 140px;}
.dropdown_2columns {width: 280px;}
.dropdown_3columns {width: 420px;}
.dropdown_4columns {width: 560px;}
.dropdown_5columns {width: 700px;}

#menu li:hover .dropdown_1column,
#menu li:hover .dropdown_2columns,
#menu li:hover .dropdown_3columns,
#menu li:hover .dropdown_4columns,
#menu li:hover .dropdown_5columns {
left:-1px;
top:auto;
}

/* Columns */

.col_1,
.col_2,
.col_3,
.col_4,
.col_5 {
display:inline;
float: left;
position: relative;
margin-left: 5px;
margin-right: 5px;
}
.col_1 {width:130px;}
.col_2 {width:270px;}
.col_3 {width:410px;}
.col_4 {width:550px;}
.col_5 {width:690px;}

/* Right alignment */

#menu .menu_right {
float:right;
margin-right:0px;
}
#menu li .align_right {
/* Rounded Corners */
-moz-border-radius: 5px 0px 5px 5px;
-webkit-border-radius: 5px 0px 5px 5px;
border-radius: 5px 0px 5px 5px;
}
#menu li:hover .align_right {
left:auto;
right:-1px;
top:auto;
}

/* Drop Down Content Stylings */

#menu p, #menu h2, #menu h3, #menu ul li {
font-family:Arial, Helvetica, sans-serif;
line-height:21px;
font-size:12px;
text-align:left;
text-shadow: 1px 1px 1px #FFFFFF;
}
#menu h2 {
font-size:21px;
font-weight:400;
letter-spacing:-1px;
margin:7px 0 14px 0;
padding-bottom:14px;
border-bottom:1px solid #666666;
}
#menu h3 {
font-size:14px;
margin:7px 0 14px 0;
padding-bottom:7px;
border-bottom:1px solid #888888;
}
#menu p {
line-height:18px;
margin:0 0 10px 0;
}

#menu li:hover div a {
font-size:12px;
color:#015b86;
}
#menu li:hover div a:hover {
color:#029feb;
}
.strong {
font-weight:bold;
}
.italic {
font-style:italic;
}
.imgshadow {
background:#FFFFFF;
padding:4px;
border:1px solid #777777;
margin-top:5px;
-moz-box-shadow:0px 0px 5px #666666;
-webkit-box-shadow:0px 0px 5px #666666;
box-shadow:0px 0px 5px #666666;
}
.img_left { /* Image sticks to the left */
width:auto;
float:left;
margin:5px 15px 5px 5px;
}
#menu li .black_box {
background-color:#333333;
color: #eeeeee;
text-shadow: 1px 1px 1px #000;
padding:4px 6px 4px 6px;

/* Rounded Corners */
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;

/* Shadow */
-webkit-box-shadow:inset 0 0 3px #000000;
-moz-box-shadow:inset 0 0 3px #000000;
box-shadow:inset 0 0 3px #000000;
}
#menu li ul {
list-style:none;
padding:0;
margin:0 0 12px 0;
}
#menu li ul li {
font-size:12px;
line-height:24px;
position:relative;
text-shadow: 1px 1px 1px #ffffff;
padding:0;
margin:0;
float:none;
text-align:left;
width:130px;
}
#menu li ul li:hover {
background:none;
border:none;
padding:0;
margin:0;
}
#menu li .greybox li {
background:#F4F4F4;
border:1px solid #bbbbbb;
margin:0px 0px 4px 0px;
padding:4px 6px 4px 6px;
width:116px;

/* Rounded Corners */
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#menu li .greybox li:hover {
background:#ffffff;
border:1px solid #aaaaaa;
padding:4px 6px 4px 6px;
margin:0px 0px 4px 0px;
}



Interesting and Relevant Links





Conclusion


I hope you’ve enjoyed this tutorial on creating mega menus. Thanks for following along!"
read more