Category 'HTML'

The logical rule in CSS

A characteristic of the style sheets that few know and use is the ability to define the rule of "competition" of classes! A tag, in fact, may possess one or more associated classes, which makes the latter extremely versatile, as well as my favorite. How many developers use to do, I tend to attach to ID a few CSS rules, if any. Ideally, logically, would enter the ID only for scripting purposes, because it uniquely identifies an element within the DOM.

More ...

HTML Output in PHP

The methods (or functions) that return an immediate visual and HTML output can be packaged in two main ways:

More ...

Very short trick: making invisible HTML comments

Comment HTML is a practice during the early stages of Web development, however the commented code remains visible on the page, even if it is ignored by the browser. By selecting "View Source" or "View Code" from our browser, we will be able to see it.

More ...

Customizing a Form graphically

I was asked how to customize a graphical form, including a search box like the one on this blog. The technique used, or rather that I use, it is obviously valid for any type of module form. What changes is only the complexity of the work to be done depending on the complexity of the form itself.

More ...

A WordPress theme for all

Under the title of the blog, on the left, just above the navigation bar, there is a "switch" that allows you to switch to an alternative graphical theme, namely "clear".

The graphic theme of a blog is chosen by the blog owner himself, whether it is created by hand, whether it was downloaded from the network. The end result, however, in addition to "us" owners should be pleased by our visitors who do not always appreciate certain layout choices. For some it will be trivial for other wonderful, for others still terribly annoying! Why, then, do not choose the "visitor" the layout with which to view our blog?

More ...

Very short trick: disable the resizing of a textarea on Safari

In any browser developed starting from the rendering engine WebKit (as apputo Safari or Chrome ), the fields textarea show, in the lower right, the characteristic feature of resizing. If such specificity can be really useful in certain cases, in others it is transformed into an element annoying.

More ...

How I Did It: How to Create a sticker-ribbon in 3 steps

The stickers (or ribbon) are those images that are placed in the top right or top left, and commonly have an angular shape band. There are various types, from simple static images to the most spectacular Flash movies. Sometimes they are constructed in such a way as to remain in their position even when scroll the contents of the browser window.

More ...


Stop SOPA