Horizontal CSS Dropdown Menus

CSS Newbie reader Andrea Pluhar wrote in with an interesting problem: she wanted to use a CSS dropdown menu on a website that she was building, but the design called for the submenu to be arranged horizontally. She wondered if there was a way to accomplish this effect using CSS. It turns out that there is. […]

Read Article

Show/Hide Content with CSS and JavaScript

There are plenty of reasons why you might feel the urge to wax verbose on your website’s front page: to prevent your users from having to click through to a new page to find your information, to avoid having to reload the page, or even to improve your front page’s SEO. But just because your front page is text-heavy doesn’t mean it all needs to be visible at once. […]

Read Article

Using the CSS @import Rule

Even the most complex style sheet starts out with a single rule. But when you’re working on a particularly massive and complex website, over time your style sheet will inevitably start to reflect the site’s size and complexity. And even […]

Read Article