I'm trying to use the > CSS child selector in IE7, and it doesn't seem to work.
I have nested tables. My outer table has a class name "mytable", and I want the td's of the outer table to show borders. I don't want the inner table td's to have borders.
I think I should be able to have CSS that looks like this:
.mytable { border-style: s...
I have three menus on this test web site. I am learning css and trying menu2 & menu3 to inherit all properties from menu class. The second one looks bit different and is not clickable. I am happy with the 3rd one, just want to make it horizontal and change its position bit.
Could somebody tell me
why the second menu is not click-able?...
Can i change parent class of some dom object on hover event via CSS selectors?
For example I have such block:
<span class="wBlock" >
<span class="wText">Text</span>
<span class="wLink"/>
<\/span>
and if i move mouse to span "wLink" span "wBlock" must be changed, and if i move out than it must be the same as at the begining
.wLi...
<IMG height="160" alt="Web Content Image" src="../image/journal/article?img_id=16505&t=1273484793531" width="240" pngSet />
I have the this code for the image , and I want to select the image based on the attribute "pngSet"
I am trying this , but not working.
$("img[pngSet='']").css('border' ,'1px solid red');
...
As I was working on a small website, I decided to use the PageSpeed extension to check if their was some improvement I could do to make the site load faster. However I was quite surprise when it told me that my use of CSS selector was "inefficient". I was always told that you should keep the usage of the class attribute in the HTML to a ...
Hi,
I have a number of elements that i want to loop through as groups. Consider this HTML:
<input class="matching match-1" />
<input class="matching match-1" />
<input class="matching match-2" />
<input class="matching match-2" />
<input class="matching match-2" />
<input class="matching match-3" />
<input class="matching match-3" />
/...
Hi everyone,
I'm having a hard time trying to make jQtouch and Google Maps api V3 together. I've tried almost everything. It seems that the only source of information is here I checked every single post. I'm starting with jQuery and css... so there's a lot of stuff I don't understand.
First of all, I'm using jQtouch framework to build ...
Hi,
I have a CSS style using child selectors in an HTML page as follows:
<html>
<head>
<title>MSO Bug</title>
<style type="text/css" media="screen,print">
ol{list-style-type:decimal;}
ol > ol {list-style-type:lower-alpha;}
ol > ol >ol {list-style-type:lower-roman;}
</styl...
How would I, using Deliverance & XPath (or CSS) selectors, select and copy list items .one and .three from each list below, but display them in the order of their parent list?
<ul id="a-wrapper">
<li class="one"></li>
<li class="two"></li>
<li class="three"></li>
<li class="four"></li>
</li>
<ul id="b-wrapper">
<li class...
Is there a CSS selector for the last occurrence of a class on a page?
Say i have this HTML
<dd>
<span>
<a class="required" id="forename">foo</a>
</span>
</dd>
<dd>
<span>
<a class="required" id="surname">bar</a>
</span>
</dd>
Is there a CSS selector that would return the a tag with the ID of surname. S...
CSS:
.bananaTrans {
-moz-transition : all 1s ease-in-out;
-webkit-transition: all 1s ease-in-out;
transition : all 1s ease-in-out;
}
.bananaClass {
color: yellow;
}
HTML:
<div class="bananaClass">Banana Banana Banana</div>
The objective is to make every element that has class "bananaClass" inherit the properties of "bananaT...
In the following table how can the text be limited may be to show only 20 characters
<table><tr><td>yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...
I have been working on a project for a few days now and have just recently noticed that the border of 2 of my content areas are not showing in Mozilla or IE.
http://www.gamefriction.com/Coded/ is where the page is located. If you look at the main content area where the "news" is you will see that there is a 1px solid border that is a sl...
Int the following code, The scroll bar appears in IE and in mozilla it doesnt,how is this to be fixed,scroll bar should not appear where there is not much of data.
<script>
var row= '<table><tr>';
row = '<tr class="display_row"">';
row += '<td class="display_col" wrap width="75"><b><textarea rows = "8" cols = "18" border ="1" class="in...
I have HTML code like this
<td>Save</td>
I couldn't locate the element using FireFinder by td:contains("Save")
Is FireFinder wont support the :contains or innerHTML cant be located by :contains?
Read that in Selenium too, :contains wont be supported? However, I couldn't find a documentation for that.
...
From my interpretation, google recommends targeting HTML elements via id performs better than targeting purely by hierachy, but when filesize is added into this equation, how do the priorities end up?
Just to be clear, there are three factors here which I wish to discuss the trade-offs between.
CSS efficiency
CSS filesize
HTML filesi...
Container/Wrapper Div does not contain all content (ie all the child Div's).I've tried overflow: hidden but still doesn't work. Can someone please tell me why this is happening and what are the possible solutions.
Thank you in advance ;-)
for some reason the whole code does not display??
<html>
<head>
<style type="text/css">
#wrapp...
Looking at the CSS3 specs, I can't find any way to select any element that has no children.
Let me explain.
<body>
<h1>Main Page</h1>
<div id="main">
<div class="post">
<h2>Article 1</h1>
<p>some text</p>
</div>
<div class="post">
<h2>Article 2</h1>
<p>some text</p>
</div>
</div>
</body>
I'm looking for a CSS s...
Flex 4 offers descendant css selectors and pseudo-selectors like:
s|DropDownList:open {
font-size: 11;
}
s|DropDownList #labelDisplay {
font-size: 12;
}
However, if I combine these two an wanted to do something like this, it doesn't seem to work:
s|DropDownList:open #labelDisplay {
font-size: 13;
}
Is this possible wit...
What is the css for the watermark text in a textarea or input box.
The text should be opaque as in Title of stackoverflow saying "What's your programming question? Be descriptive" when asking question
...