A characteristic of the style sheets that few people know and use is the ability to define the rule of "competition" of classes! A tag, in fact, may have one or more associated classes, which makes the latter extremely versatile, as well as my favorites. How many developers use to do, I tend to associate the IDs few CSS rules, if any. The ideal, logically, it would enter the ID only for purposes of scripting, because uniquely identify an element within the DOM.
Articles with tag 'HTML'
When you are not working alone for most all developers comes time to find guidance in the writing of the code. Protocols and standards that make it possible to "read" easily and intervene (more easily) in the code of others.
When we work on a project most programmers, often on different languages, you must find a common form of writing, the standard of internal and external documentation to the code. In my work I am normally interact with:
- Objetive-C, C / C + +
UIWebView can be used for the display of numerous files. For example you can use it to display - as well as QuickTime movies or YouTube - PDF documents or HTML files included within our code.
Let me show how it is possible to implement a simple slideshow of images with very few lines of code, using jQuery .
This technique can be implemented on any type of website, the important thing is to include the library jQuery . I have used this technique to a site created in WordPress , developed in a few hours for an event.
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 always be able to see it.
WordPress offers many features to navigate through the various posts and pages back and forth. These are used within the themes, often in a completely interchangeable, even though they contain some differences. All this, to be honest, I create some confusion in the choice of the function to use. Here are some notes:
Among the various funny "interpretations" that Internet Explorer 6 is able to do with HTML / CSS, the "double margin" is definitely the most tedious and often. In practice (surprise, surprise ...) good browser Microsoft succeeds - mysteriously - to double the margins on the elements set to float! : As such the following CSS applied to a
div with id
SimplePie is a PHP library able to greatly simplify the retrieval and manipulation of RSS feed or, more generally, of XML formats. You can, for example, write a few lines of code, exploiting also some "funzioncina" jQuery , to create a News Ticker to join our website / blog.
Not that I always take with me the Internet Explorer, it's just that every damn thing Web development (HTML and CSS) seems not to work with the browser - still - the most widespread (one day someone will explain to me why). ; A very convenient method to place an item in the middle of the browser window is to the property sfrutture
margin ; For example, here is how to position a
div in the center of the screen:
The sticker (or ribbon) are those images that are positioned at the top right or top left, and commonly have an angular shape headband. There are various types, from simple static images to the most spectacular Flash movies. Sometimes they are so constructed as to remain in their position even when we scroll the contents of the browser window.