In the webkit and moz vendor specific properties for CSS gradients, you can specify the height of the gradient. Is there something similar for IE? For example:
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#aaaaaa', endColorstr='#ffffff'); /* IE */
background: -webkit-gradient(linear, left top, left 3, from(#aaaaaa),...
I am attempting to pass 2 classes to an element in a rails 3 application and having some issues with encoding.
<td class="edit">
<%= link_to 'Edit', edit_link_url(link, :class => 'edit_link ui') %><br />
<%= link_to 'Delete', link_url(link, :class =>'delete_link ui'), :confirm => 'Are you sure?', :method => :delete %>
</td>
c...
My site, www.whatsthatbug.com, is a wordpress blog. I have combed through all of the CSS, and I cannot figure out how to get rid of the extra space on the left side of the page. Any suggestions would be most welcome.
...
I have layout with two columns. Each column have "radiogroup" - a table with input[type='radio'] on every tr
The problem is that some inputs display incorrectly when scrolling the page. Top or bottom of some inputs just dissapear. Look at the screenshot - http://img.skitch.com/20100716-8tjsyy877ms1ar6i5i9fp9qykr.png . The problem appears...
Are there any good articles on naming comprehensive naming conventions?
I'm looking to clean up some code... everything from assets to models (Codeigniter) to HTML and CSS.
I'm also curious how to structure the CSS... is it better to give everything a unique class ie search-bar-icon or is it better to repeat classes like .search span.i...
Although li.textmenu has width: 140px, padding: 5px, and div.textmenu has width: 150px, the one list item i've made so far has a big left margin, and extends beyond the right edge of the div by a good 30px. Could someone explain why?
http://www.briligg.com/frailty.html
css:
div.textmenu {
background-color: #3b3b3b;
...
I wanted to do
$('.place').css('background', 'url(open.png) left top no-repeat, url(close.png) bottom right no-repeat');
However jquery doesnt like the ','. Making it two lines has the 2nd css replace the css on the first line. How do i set the css so it will have both open and close background image?
...
I want to make new blog landscape, so that entries read from left to right - I've not been able to find any information by googling, is there a simple code that will take care of this? Thanks
...
I have a form that I want to present in two states:
1) Normal form
2) Person can look at the form as filled out by a user but can't change anything
It's easy to handle text inputs with the readonly property, but radio buttons, checkboxes, and dropdown menus don't use it. I can set the "disabled" property for those, but in most browse...
I've got the following html and css
In Firefox the computed font size is 16.66667px
In Chrome the computed font size is 13px
Needless to say there is a good bit of difference in these two sizes, one is too small to read, one is nicely sized. I guess one way to work around it is to set the font size to 16.67px but why is this the case.
...
I want to display a number in my app so that the digits are styled like a retro-style clock, where each digit looks like a flippable tag (e.g., http://net.tutsplus.com/tutorials/html-css-techniques/learn-how-to-create-a-retro-animated-flip-down-clock/). I don't actually require any animation or effects.
Does such a component exist in a...
How, many PSD 2 HTML companies claim to provide Templates in 8 Hours?
How they make it possible?
Do they use special software or techniques?
Is it really a possible to provide XHTML Strict, Semantically correct, Cross Browser compatible (even in IE6 and Opera, as some claims), W3C valid XHTML and CSS, properly commented, well optimiz...
Using the display property, HTML elements become interchangeable from a styling perspective. This doesn't seem to be the case for fieldset and legend, however.
Is it possible to style other HTML elements to look like fieldset and legend?
...
Hello all
I have got ul-li list in which there is a span element inside all li.
Currently there is a css class that is applied to that span element [or, so to say, the span elements inside all li] like:
.detail_div ul li span{
//some styles
}
Now for a particular span element inside, say, last li, i want to bypass the above given (de...
Hello,
I have always the same problem with displaying simple dialog boxes. The markup is as follows:
<li class="clickable">element
<ul class="options">
<li><a href="#">Option 1 with long name</a></li>
<li><a href="#">Option 2 with long name</a></li>
<!-- ... more similar options -->
</ul>
</li>
$('ul...
Anyone know a way to make it so that when the menu div is omitted, the main div uses all the available width?
+-------------- container -------------+
| +--- menu ---+ +---- main ------+ |
| | | | | |
| | | | | |
| +------------+ +----------------+ |
...
Maybe not and I need to do this in HTML but is there a way to write
if($('.Name1 li').length>2) $('.main').css('k', 'v');
I did this in JS and if I am loading the page for the first time I see a noticeable pop happen. Its not 'bad' but I do 'notice' it.
...
Hi Im trying to write a simple CSS parsing script in PHP that enables me to put previously declared classes within a css rule, i.e. the Mixins functionality of less and Sassy.
This regex only grabs the last css class name within the curly braces:
{.+(\.\w+).+}
For example, only .foo will be matched in the below css rule:
.login_for...
I moved this question to a new thread
...
Hello,
I am working on iframes, and I need to show a certain portion of the page [say, the top right ] in an iframe with about 300px width and 150px height.
Example:
Say I wanted to put an iframe of www.mywebsite.com/portfolio.php on a page, but have the iframe sized to only show the "portfolio-sports" section at the top right.
How ...