Archive for the ‘xhtml & css’ Category

CSS3: is the right moment to use it?

The draft of the CSS3 code arouse a lot of excitement from the first moment of its announcement,  then seeing the first browsers  (all, except IE) that starter to support  these fantastic proprieties, making simple to achieve even the most complicated thing sent in ecstasy  many web designers  that decided to dedicate body and soul to this novelty, along with HTML5.

The HTML language defines the structure, the fundamental part of the site and leaving it at the mercy of a non standard code, or of js libraries that should  run sites in HTML 5 on non-compliant browsers (like Modernizr) is however a risk.

Different is the story for the CSS code that, by definition, defines the presentation.

|| Read more »

How can we create an accessible form and with an optimized code?

How can we create an accessible form and with an optimized code?

After a lot of theory and examples on what not to do, today we’re finally going to put our hands on some codes, seeing how to create an accessible form and with a standard code. In most cases, in fact, the...

4 comments

Is it really necessary to validate the code?

Is it really necessary to validate the code?

It’s the mania of those who tend to perfection and write the code with almost a maniacal accuracy,  to see the green  check mark that indicates that the code of the web page newly developed passed the validation control. But...

12 comments

CSS tips: modify the display of the text with the white-space property

CSS tips: modify the display of the text with the white-space property

One of the least known aspects of CSS is that relative to the management of white spaces inside a text. Often there is the necessity for having a greater control over text formatting compared to that predefined by the browser: an example...

8 comments

From Psd to Xhtml: how to transform the layout in XHTML+CSS?

From Psd to Xhtml: how to transform the layout in XHTML+CSS?

In the first part of this article we have seen how to export, using the instrument “sections” of Photoshop, the vary components of our layout “YIW Corporate“. Today “you’ll dirty your hands” with the code: we’ll see how to make...

7 comments

What is the maintainability concept? And why apply it?

What is the maintainability concept? And why apply it?

The maintainability concept, absolutely not to be renounced when it comes to programming, has to find an important space even in the creation of a traditional website. When you find yourself ( and sooner or later you will get there)...

4 comments

CSS: how to use the z-index property

CSS: how to use the z-index property

A couple of weeks ago we looked at CSS properties which relate to elements and their positioning inside a document. Specifically, how the absolute placement is used and how fixed placement works. In this last article we provided you with a preview...

20 comments

How to make an effective print style sheet?

How to make an effective print style sheet?

It might have often happened to you that you read an interesting article while navigating the web but, for a reason or another, you had to leave from the pc. One way to continue reading is that of printing the...

5 comments

Why you should know the new CSS3 selectors?

Why you should know the new CSS3 selectors?

The new CSS3 specification introduces several innovations in many areas. Exactly for this reason it has been subdivided in various modules, independent between them. The selectors module, which probably is going to be the first to become a recommendation of...

11 comments

Css tips: how to use the position fixed property?

Css tips: how to use the position fixed property?

A few weeks ago we saw in detail the use of absolute positioning of an element inside a web page through the use of the “position” property provided by CSS. In today's article we will see how it's possible through...

14 comments

Do you know there are other ways of using CSS selectors? (Part 3)

Do you know there are other ways of using CSS selectors? (Part 3)

In the previous articles we introduced you to CSS selectors, showing you the advantages and modes of use. Today we round-up the series with two pseudo-elements that allow you to further improve the markup of your HTML documents. Let's find out...

12 comments

CSS tips: how to use absolute position property?

CSS tips: how to use absolute position property?

Element positioning is one of the toughest arguments regarding the CSS. In today's article we will deal with the use of the “position” property which allows the positioning of an element inside our web page subtracting it from the normal...

25 comments

How to export a psd into xhtml and css without losing your soul? (Part 2)

How to export a psd into xhtml and css without losing your soul? (Part 2)

Are you ready to "reassemble" the second part of the puzzle? In the previous lesson, we looked at how to create the general structure of a website using code. Now we will continue with the "reconstruction" process by looking at...

18 comments

Do you know there are other ways of using CSS selectors? (Part 2)

Do you know there are other ways of using CSS selectors? (Part 2)

Now that you have seen CSS base selectors, you might be wondering why one should bother with other selectors, since one can do everything with class and ID! There’s nothing more professional than being able to use css rules appropriately...

13 comments

How to export a psd into xhtml and css without losing your soul? (Part 1)

How to export a psd into xhtml and css without losing your soul? (Part 1)

In this lesson we will divide and then recompose a website as if it was a puzzle using style sheets and (x)html. This is one of the most exciting aspects of web development as it allows you to follow closely...

16 comments

Do you know there are other ways of using css selectors? (Part 1)

Do you know there are other ways of using css selectors? (Part 1)

This is a topic that is shunned by a lot of developers. The difference between a professional designer and an improvised one is in the use of selectors. CSS or stylesheets serve to define the way in which content is...

17 comments

How to increase the performance of a website with CSS Sprites

How to increase the performance of a website with CSS Sprites

You’re created a website, maybe using our "How to build a website from A to Z” guide, but you’ve noticed that loading times are rather long. There could be many reasons to explain this behavior, and there are some small...

16 comments

The future of the web: how we’ll create forms in HTML5

3f2ub53u

Lately a lot of people are talking about HTML5 and CSS3: currently the specifications being worked on by W3C are still in draft form but in the near future they're destined to completely revolutionize the way in which we're used...

50 comments

CSS Tips: how to center an element

CSS Tips: how to center an element

Often while developing a website, one can run into a variety of problems, causing a delay which will be spent looking for and testing possible solutions. This is why I’ve decided to start the present article, dedicated exclusively to these...

10 comments