Archive for the ‘CSS’ Category

h1

Flash Overlaps CSS DIV

May 7, 2008

The flash thingy is overlapping my CSS div! TASKETE~!

Solution? In your flash object code, add these parameters:

<param name="quality" value="high" />
<param name="wmode" value="transparent" />

h1

Opacity

August 26, 2007

It works on all browsers except IE6. Because IE sucks!

filter:alpha(opacity=25);
-moz-opacity:.25;
opacity:.25;


From my codix.

h1

Links In and/or Out of Site

August 26, 2007

Due to power of CSS3 (yes, no IE6 again, because IE sucks), you can have an specific style for all links that belonged to a specific domain of your choice.

a[href*="http"] {

}

Example:

a[href*="www.beyondeternal.com"] {

}


From my codix.

h1

Scrollbar (All browser)

August 26, 2007

Want a vertical scrollbar? Use this:

overflow: -moz-scrollbars-vertical;
overflow-y: scroll;


From my codix.

h1

Styling Input Boxes

August 26, 2007

This is a CSS3 feature. Therefore, no IE6.

To style a text input box:

input[type=text] {
[insert code here]
}

To style a submit button:

input[type=submit] {
[insert code here]
}


From my codix.

h1

First Letter of a Paragraph

August 26, 2007

To style a first letter of a paragraph:

p:first-letter {
[insert code here]
}


From my codix.

h1

Opera Padding Hack

August 26, 2007

According to the magazine I read, Opera has default paddings. To remove them, use these so-called hacks.

For the body:

body {
padding:0;
}

For the ordered and unordered lists:

li, ol, ul {
padding:0;
}


From my codix.