A characteristic of the style sheets that few know and use is the ability to define the rule of "competition" class! A tag, in fact, may possess one or more associated classes, which makes the latter extremely versatile, as well as my favorites. Like many developers use to do, I tend to associate the ID few CSS rules, if any. The ideal, logically, it would enter the ID only for the purpose of scripting, because it uniquely identifies 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 to allow "read" easily and intervene (more easily) in the code of others.
When we work on a project more programmers, often of different languages, you must find a common form of writing, in the standard 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 into our own code.
Let me demonstrate 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 used this technique for a site built 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 is visible in the page, even if it is ignored by the browser. 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 certainly 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 feeds or, more generally, of XML formats. You can, for example, write a few lines of code, also exploiting some "funzioncina" jQuery , to achieve 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 about Web development (HTML and CSS) seems not to work with the browser - still - the most widespread (one day someone will explain why). ; ad esempio ecco come posizionare un
div al centro dello schermo: 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 stickers (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 spectacular Flash movies. Sometimes they are so constructed as to remain in their position even when we scroll the contents of the browser window.