Anchor tag image outline on click border CSS

a {
outline: none;
}

Posted on 17 Dec 2009, 11:56 - Category: CSS
Comments - Edit - Delete


CSS @import import another sheet style syntax

in html:

<style type="text/css">
@import url("import1.css");
@import url "import2.css";
</style>

in css sheet:

@import url("import1.css");

your standard css sheet link for html doc:

<head>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>

Posted on 16 Dec 2009, 14:48 - Category: CSS
Comments - Edit - Delete


CSS Frameworks

Blueprint
http://www.blueprintcss.org/

Elements:
http://elements.projectdesigns.org/

YAML:
http://www.yaml.de/en/

Boilerplate:
http://code.google.com/p/css-boilerplate/

CwS:
http://www.contentwithstyle.co.uk/content/a-css-framework

YUI:
http://developer.yahoo.com/yui/grids/

Elastic:
http://elasticss.com/

Posted on 8 Oct 2009, 16:57 - Category: CSS
Comments - Edit - Delete


CSS Reset Eric Meyer

Eric Meyer Reset:
http://meyerweb.com/eric/tools/css/reset/

/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}

/* remember to define focus styles! */
:focus {
outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}


Posted on 8 Oct 2009, 16:50 - Category: CSS
Comments - Edit - Delete


CSS opacity example

Firefox uses the property opacity:x for transparency, while IE uses filter:alpha(opacity=x).

Tip: The CSS3 syntax for transparency is opacity:x.

In Firefox (opacity:x) x can be a value from 0.0 - 1.0. A lower value makes the element more transparent.

In IE (filter:alpha(opacity=x)) x can be a value from 0 - 100. A lower value makes the element more transparent.

<html>
<head>
<style type="text/css">
img
{
opacity:0.4;
filter:alpha(opacity=40)
}
</style>
</head>
<body>

<h1>Image Transparency</h1>
<img src="klematis.jpg" width="150" height="113" alt="klematis"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"
onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" />

<img src="klematis2.jpg" width="150" height="113" alt="klematis"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"
onmouseout="this.style.opacity=0.4;this.filters.alpha.opacity=40" />
</body>
</html>

source:
http://www.w3schools.com/Css/tryit.asp?filename=trycss_image_transparency

Posted on 5 Oct 2009, 17:08 - Category: CSS
Comments - Edit - Delete


Pages: [1]
Loading