Search Altered Pixels.net::

CSS Articles ::

CSS Articles
  • Internet Explorer 9

    Posted on :: Jun 7

    Microsoft today announced further details of their forthcoming Internet Explorer 9 browser, along with the first platform preview for developers, at their MIX Conference 2010.

    Amongst the announcements comes increased support for CSS3, with support promised for CSS3 Selectors, Namespaces, Colors, Values, Backgrounds & Borders and Fonts, along with increased support for HTML5 and improvements in JavaScript performance.

    [Read more →]

  • Creating Triangles in CSS

    Posted on :: Mar 9

    I’ve come across a few techniques and tips in my career, while working at my last gig a co-worker pointed me to this technique. I believe this was originally discovered by the legendary Eric Meyer, but I couldn’t find much documentation about it on the web so I thought I would describe it here.

    [Read more →]

  • iPhone compatible multi-column CSS liquid layouts

    Posted on :: Dec 11

    I've put together a series of website layouts that use percentage widths and relative positioning, and they work with all the common web browsers including Safari on the iPhone and iPod touch. They're also 'stackable' so you can use multiple column types on the one page. This makes the number of possible layouts endless! Follow the links below for the demos and more detailed info:

     

    [Read more →]

  • A CSS / JQuery Framework you can use...

    Posted on :: Nov 3

    Better quality and coherence coding inside a front-end team
    Preset CSS classes, know where your going with highly reusable classes
    A collection of some of the best jquery scripts
    A solid cross browser compatible stylesheet

    A new project means getting JS plug-ins together, clean a CSS and restart. This framework is intended to be your project starter, and in most case, you can jump in the project right away with a solid css foundation. This is not really a CSS “framework” but more a website starter kit.

    The framework is based on a 960px grid, but is very easy to manipulate to get the grid you want. It is however not intended to be used as a liquid grid.

     

    This is a CSS/Jquery Framework you can use and build upon.

    [Read more →]

  • How to Mimic the iGoogle Interface

    Posted on :: Oct 12

    In this tutorial I'll be showing you how to create a customizable interface with widgets. The finished product will be a sleek and unobtrusively coded iGoogle-like interface which has a ton of potential applications!

    This is a very long Tutorial. Includes source code download.

    [Read more →]

  • Photoshop CS4:: Setting Photoshop to produce Div and CSS

    Posted on :: Aug 19

    Here is a very short tutorial on how you can set your photoshop to produce Divs and CSS rather than the old fashion tables. This is very useful becuase this is becoming the new way to work with web pages and lets you add a lot more room to do stuff that wouldnt be possible with non expandable tables.

    [Read more →]

  • What’s So Bad About CSS Frameworks?

    Posted on :: Jun 2

    CSS frameworks are by no means breaking news. There have been several to choose from for a good couple of years now, with one of the earliest and most well-known being Yahoo’s Grids CSS.What’s amazing to me is that many are failing to take advantage of these great little time-savers.

    A quick stroll through any forums reveals plenty of people having the same frustrating, discouraging issues with floated layouts and positioning; I’m quite sure these could’ve been avoided if the developer had simply used tried and tested layout methods grabbed from a CSS framework.

    Hey, hold on — put those rotten tomatoes away! I’ll explain, I promise.

    [Read more →]

  • 5 Reasons to use css

    Posted on :: May 18

    Some useful and helpful reasons why to use CSS.

    [Read more →]

  • Text Sizng and Fluidity

    Posted on :: May 18

    Fluid and liquid layouts are definitely considered the ‘ideal’ design type right now, and I cannot agree more. I much prefer a fluid design over a set layout. For text we know that relative sizing (meaning the use of em, ex, and percentages) are preferred over the use of pixel sizing.

    [Read more →]

  • CSS Tips, Class or Div?

    Posted on :: May 18

    If your beggining CSS or even if you're not, this can be a bit challenging, and many a time i’ve heard people ask “But theres no difference, so which should I use ?”. In this short article I will explain the slight, but important, difference between the two.

    [Read more →]

  • Converting Tables to a CSS Div Tag and XHTML validated layout

    Posted on :: Apr 30

    This is one very long tutorial/article. I know that many web designers, particularly those who adore table-based layouts will find this articles/tutorial especially helpful. I will be teaching you how to take your current website/layout created with tables, tear it apart, and put it back together using valid XHTML and CSS.

    Here’s a bit of an overview of what we’re about to do:
    a: Replace all tables with div’s
    b: Remove any broken, or old invalid code.
    c: Edit remaining code so it fits XHTML transitional standards.
    d: Write a CSS file to style the new layout.

    [Read more →]

  • CSS MouseOver Effects

    Posted on :: Apr 30

    In this CSS Tutorial, I'm goin to show you that making a Mouse Effect, doesn't always need to use JavaScript.

    Infact, the same overall effect can be achieved with the use of some CSS. This sample will be using 3 overall images: One for the regular state, one for the mouse over state and one for the clicked state.

    [Read more →]

  • Converting PSD to XHTML

    Posted on :: Apr 30

    I’m going to show you the most practical tutorials on coding a template using CSS and XHTML. Making a template has two steps. The first step is Designing the template components and the second step is Coding them into a valid XHTML page.

    What you will be doing in this tutorial is setting everything up to begin coding your template for your website. This tutorial is for slicing a design made in photoshop and coding it in dreamweaver. You can also access example code at various stages through the tutorial if you have any problems.

    [Read more →]

  • Why not tables? Is CSS really better?

    Posted on :: Apr 30

    A lengthy discussion on the ultimate value of pure CSS (Cascading Style Sheets) based layout over the use of tables has been taking place. Sometimes, living in the sheltered world of accessible and standards-based design, I can lose touch with the fact that many people out there simply don’t accept some of the same guidelines I work with every day?—?- and that this does not, in any way, mean that they haven’t given the subject a fair shot. Very good arguments have been made to defend each side.

    On the whole, I think this discussion is an old, worn-out subject: those who won’t use tables generally don’t use them out of principle, and those who do use them out of pragmatism and a justified awareness that principles don’t build websites. I want to review the question once more, however, ignoring the entire question of principle.

    [Read more →]

  • Reasons Why CSS Is Superior to Tables in Website Design

    Posted on :: Apr 30

    Why is it that Cascading Style Sheets (CSS) are superior to table-based layouts when designing a website? Some web designers swear that table-based layouts are better than CSS-based layouts, while others believe that table-based layouts are ancient history and XHTML combined with CSS is the only real solution to coding a web site’s visual layout. Since we’re one of those CSS die-hards, we’ve compiled a list of 13 reasons why CSS-based layouts are superior to table-based layouts.

    [Read more →]

  • What is Web 2.0?

    Posted on :: Apr 30

    You’ve probably heard the phrase "Web 2.0". You may’ve even read some of the various definitions of it. And Web 2.0 does appear to mean different things to different people, so you would be forgiven for still feeling confused about the term.

    [Read more →]

  • AJAX Form Validation (AJAX Tutorial)

    Posted on :: Apr 1

    I got tired of Traditional Javascript based Form Validation, only because despite the fact they work well, they don't validate the content of the Feild Immediately. So I got tired of this, and built this off of the Prototype Framework.


    The basic method is to attach to the form's onsubmit event, read out all the form elements' classes and perform validation if required. If a field fails validation, reveal field validation advice and prevent the form from submitting.

    [Read more →]

  • Nice Form Fields (v2)

    Posted on :: Apr 1

    Everybody knows web forms. Each day we have to fill in some information in a web form, be it a simple login to your webmail application, an online purchase, or signing up for a website. They are the basic, and pretty much the only way of gathering information on the web.

    You basically know a web form when you see one as they always look the same and they’ve kept this look over the years. Try as hard as you might but web forms can only change their appearance so much. Some may argue that this is a good usability feature, and I tend to agree, but there comes a time when you just need to style web forms so that they look different. How do you do that? Niceforms comes to the rescue!

    [Read more →]

  • The Button Element

    Posted on :: Jan 13

    Creating a consistent interface for your users is a constant struggle for every application designer. Building consistency on the web is especially tough because the visual rendering differences across browsers and operating systems are wildly different and almost arbitrary in what can and cannot be done. No where does this become more apparent than when you’re dealing with form elements and the biggest loser of them all in the battle for a standardized look is the infamous Submit button.

    [Read more →]

  • AJAX Form Validation

    Posted on :: Jan 13

    In this tutorial I decided to beef up my form validation routine. Don't get me wrong, I love JavaScript Form Validations, but have found in he past that they can be at times over come or bypassed all together.

    With this minor inconvience in mind, I started Experimenting with an AJAX version (using prototype and scriptaculous), that will validate your Form's input directly on the page.

    Below is what I've put together.

    [Read more →]