css

How to find the alpha channel transparency value of a pixel in a png image?

I have an image that has alpha channel transparency, something like the image below. http://yfrog.com/86tagsp I want to recreate the same background color with rgba values in CSS but I can not find the real color of the background pixels and their alpha channel value. if I use any sort of color picker it will give me the absolute value...

CSS-Redundancy when using LESS and its @import

I really like the idea and the concept of LESS. Yet I stumbled upon a bug, which i reported quite a while ago to the author but did not yet get any feedback. Maybe it's just me who is doing something wrong. My application.less-File that looks similar to this: @import "reset"; @import "config"; @import "header"; @import "forms"; […] ...

How to hide the URL address which shows on the bottom of the papers when printing something from a website?

Is there away to make a web page print without showing the URL at the bottom of the printed pages? Or if possible to hide the page numbers which shows at the top? ...

Is there a way to select one whole column in a table to style differently?

Is there a way to select one whole column in a table to style differently? without adding class or id to all those td? I want to do with HTML and css 2.1 only. with cross browser compatibility ...

positioning span?

take a look at this validation demo: http://jquery.bassistance.de/validate/demo/ the error messages are placed on the right side to the fields. i have wrapped span on my messages and want to place them to the left side of the input fields. how do i do that with css? ...

Is there a way (or a plugin) to make Vim generate a code outline for CSS?

I was trying to install taglist (but I couldn't install ctags), but I realized that it doesn't support css, is there another way or plugin to perform this job? PS: I checked the install file of ctags, but I couldn't find any steps which looked like an installation manual. it just says: Installation Notes ================== For non-Un...

Tool to merge 3 CSS files

Merging huge CSS files is huge pain, Hi i found some question asked on the same line. I tried some of the tools but they end up merging line by line rather than on the basis or CSS rules. Now i thought i should right one good program to do following, 1. read CSS file convert in XML 2. sort it on the basis of CSS rule Now write one mor...

What is the best semantic and valid method to make drop shadow around whole #wrapper? on all side.

What is the best semantic and valid method to make drop shadow around whole #wrapper? on all side. horizontally can be fixed but vertically should be expandable. ...

Descendant selectors or specific classes?

Suppose I have this markup: <div id="#titles"> <p>Intro text <span>text text</span> text text</p> <ul> <li>text text text</li> <li>text <span>other text</span> text text more text</li> <li>text text text</li> </ul> </div> and I want to style the span which is inside the li is it better to use the descendant selector #titles li span or...

create Css Menu

any one have an idea how can i make menu with wide subs like this one in this site http://www.salesforce.com/uk/ i need some help.. ...

JS: Click h1 to set display to none at another div

Hello, I'm very new in scripting with js. My question is, how can i set an onclick at an h1, which set the display to none at another div? Here my code: var iter; function toggleGroups() { function getAllGroups() { titlebars = document.getElementsByClassName('titlebar_js'); ...

Is it ok to place link elements outside document's head section ?

It's stated that the link element must be embedded in the head section. I need to link some style sheets to a document with static predefined header (rendered by legacy framework). So I can't insert the tags to the head. Can placing them outside cause issues with any browsers ? Or maybe its better to insert the tags with javascript ? ...

jQuery Menu Button Disappearing on drop down in webkit only, how do I make it stay put?

I have a problem involving jQuery drop downs. Basically the button which reveals the drop down dissapears upon revealing the drop down. Here is the code The HTML included in the navigation <div id="header"> <div id="navHolder"> <ul style="list-style: none;"> <li><a href="#" class="navBtn">Travel Blog</a></li> <...

question regarding img tag in html

Hi All, I was just wondering if the <img> tag should be wrapped in <p> tag or it can be just used without <p> tag. Thanks ...

Absolute positioning. Need help displaying 3 images instead of 1

</div> <div style="position:absolute;top:160px;left:535px;"><img src="splash.png"></div> <div style="position:absolute;top:160px;left:535px;"><img src="splash2.png"></div> <div style="position:absolute;top:160px;left:535px;"><img src="splash3.png"></div> <!-- Press Logos --> <div align="center"> how can i get all three splash imag...

jQuery hide/show <div> element appearing behind image

Hi all, I have a div with a height of 35 pixels and a hidden div with a height of 200 pixels. I have a jQuery function which hides the smaller div and shows the larger div when clicked. This all works fine. The problem is, when the larger appears it is behind an image which is below it. I have set the z-index of all affected object to...

Firefox 3.6 and CSS difference from previous versions of Firefox 3.5 and back?

So, in upgrading to Firefox 3.6, the CSS broke on input boxes. The padding has increased -- it might also be the font-size is somehow behaving different. Wondering if anyone else has seen this problem yet. Can't quite figure it out. HTML CODE: <form> <fieldset> <label for="inputField">Label</label> <input type="t...

CSS background with ) in its name?

Hi StackOverflow! I want to display a div with a background image called something like this:"image_(1)_125x192.jpg". It doesn't display, presumably due to the ")". Is there a way around this without renaming the image? #div { background-image: url(image_(1)_125x192.jpg); height: 192px; width: 125px; } Thanks! ...

Turn Div into Link

I'm trying to turn a div into a link. The code below works fine in firefox but in IE the mouse pointer doesn't react to the link. Is there a way around this? Thanks. <html> <head> <style type="text/css"> .test{ width:100%; height:100px; background:#666666; } </style> </head> <body> <a href="http://www.google.com"&gt; <d...

Centering an image within a div

I have already set the border of an image within a div to be none. I now want to center that image within its containing div. I have tried using the margin: 0 auto; but that did not work. I am sure I am overlooking something stupid but I would like to enlist the help of the stackoverflow community so this doesn't take me an hour of st...