The following properties change list styles using Cascading Style Sheets:
list-style-image: image as a marker;
list-style-position: position of the marker;
list-style-type: type of marker;
list-style: shorthand for multiple properties;
How to fill the property values:
list-style-image
none
URL: url (directory / imagem.extensao)
list-style-position
outside: the scruffy marker text
inside: marker aligned with text
list-style-type
none: no marker
Talk: circle (ball painted)
circle circumference (ball empty)
square: square Pintade
lower-alpha: lowercase a, b, c, d, ...
upper-alpha: [...]
I usually put all the CSS code in separate files but occasionally the need arises to put them in the body of the page, inside <head>. For that I'll never forget then, is this:
PLAIN TEXT
HTML:
<style type="text/css">
</ Style>
They say the Holy Grail in Cascading Style Sheet is the three-column layout fluid (or floating, or even elastic). But before I show it, and moreover, it is relatively easy, start by explaining the two-column layout. Both share the same principle, then two columns with CSS will suffice for now.
First, start with two [...]
The following code centers a CSS box on screen, putting the size of its banks on "auto." Not the infamous layouts of two or three columns, but even just a box right in the middle of the screen with the left and right sides equidistant from the viewport.
Great for when you have a box of fixed size [...]
Yes, it is possible and is very easy. To apply more than one class on an element, simply separate the names with spaces, for example:
PLAIN TEXT
HTML:
<span class="nome1 nome2"> Lorem ipsum </ span>
When you want to stretch a box via CSS to occupy an entire vertical space, the most obvious solution is to:
PLAIN TEXT
CSS:
. Class (
width: 100%;
)
And it works most of the time. However, when the doctype is in strict mode, the box will not stretch to fill the entire space.
This happens because in strict mode, a box has the [...]
Scroll bar in a box with CSS. IFrame but seems not
Just use the style:
PLAIN TEXT
CSS:
# Id (
height: 50px;
width: 200px;
overflow: auto;
For example:
PLAIN TEXT
HTML:
<div style="height:50px;width: 200px;overflow:auto;">
Lorem Ipsem with random text.
Lorem Ipsem with random text.
Lorem Ipsem with random text.
Lorem Ipsem with random text.
Lorem Ipsem with random text.
Lorem Ipsem with random text.
Lorem Ipsem, [...]