What is the difference :focus and :active?
What is the difference :focus and :active? ...
What is the difference :focus and :active? ...
The text in <pre></pre> steps beyond the boundary of its parental <div></div>. How to solve this problem? It is said that the line lengths in the preformatted text can be shortened, but how to do it? I have seen <%# DataBinder.Eval(Container.DataItem, "Comments") .ToString().Replace("\n", "<br />") %> Is it c#? I am...
document.styleSheets is used with an index, but what If I want to use stylesheet.insertRule with with a specific CSS file ? I know the file's name, which is injected to a page and at some point via JS. ...
<span id="leftquota" style="display:none" value="$row[available]">$row[available]</span> JQuery code: var left=$('#leftquota').val(); alert(left); ...
I'm trying to style my form buttons and I'm experiencing a problem in FireFox that I can't get to the bottom of... I want to style certain <a />s and <input type="submit" />s to look the same (I have a button background image, using a sliding-doors technique to apply a hover effect.) This all works great, except in FireFox, the input s...
I've been having nothing but problems with this script for a simple hide/show gallery of testimonials. I think the java is somewhat self explanatory... When the page loads, I tell it to show the first testimonial in the line up (as the css is display:none) and gives it a selected class name. Works fine in across the board. On click I ...
I worked over 1 hour on a 1-pixel-thing, here is the code: <div id="Zeitraum" style="border: 1px solid black; width: 200px; padding:5px;"> Zeitraum: <asp:DropDownList ID="ddlZeit" runat="server" > <asp:ListItem Text="10 Tage" Value="10"></asp:ListItem> ...
hi, i'm having the following markup using 2 divs. the #child div has set position:absolute; +------------------------------+ | +----------+ | | | #child | | | +----------+ | | | | | | | +--------------...
What is difference between these two font-style:italic font-style:oblique I tried with w3school Tryit Editor. Visually unable to find any difference. http://www.w3schools.com/css/tryit.asp?filename=trycss_font-style Any further information, I'm missing?? ...
How can I extend a div to the bottom of the page? Let's say I have a div that starts at the top, and has a background image I want repeated to the bottom of the page. How would I go about doing this? Live example found here: http://mibsolutionsllc.com/ecgridos/about/ with the #content div. ...
After referring these two links (font properties and text properties), I have a doubt. What is font? and what is text? http://www.w3schools.com/CSS/css_reference.asp#font http://www.w3schools.com/CSS/css_reference.asp#text For example both color, font-size describes typography but why they placed in two different categories? I'm m...
hi there. I use sprite sheets for my css, adn they work great, however i want to have a section of my sprite sheet on the footer it is like a curved block and the left hand content boxes will come over the top of this a little. however i cant seem to get a section of a sprite as a background positioned at the bottom. now normally you ...
I have two relative positioned DIVs A & B. a has a DIV as child element called A' which is absolute positioned and has a z-index of 1000. DIV B' is a child element of DIV B and positioned absolute as well. Firefox renders this as expected: A'-B'-B-A(from nearest to farest from the user) However, in IE7 I get: B'-B-A'-A Please can someo...
I have an asp.net checkboxlist as follows: <asp:CheckBoxList ID="CheckBoxList_Genres" runat="server" RepeatColumns="3"> <asp:ListItem Selected="True">Action</asp:ListItem> <asp:ListItem Selected="True">Comedy</asp:ListItem> <asp:ListItem Selected="True">Classics</asp:ListItem> <asp:ListItem Selected="...
<div style="position:relative;"> OUTERFOO <div style="position:absolute; z-index:1000;">FOO</div></div> <div style="position:relative;">OUTERBAR <div style="position:absolute;">BAR</div> </div> I want FOO to stack over BAR without OUTERFOO stacking over OUTERBAR! This works in Firefox, but not in IE7. Can someone post a workaround? Th...
This is the HTML: <h2> Log in <a onclick="doSomething()" href="#" class="float-right"> </a> </h2> This is the CSS: .float-right { float: right; background: url(img.png); width: 10px; height: 10px; text-decoration: none; } So this should make the .float-right element float to the right of the text in the...
http://mailmarkup.org/hcl/hcl1%5F0-documentation.xsd I am trying to apply some CSS to the above link. It looks perfect in Firefox and Opera, but it is absolutely horrible in IE. It seems the fonts are not being applied and no styles are being applied to namespace prefixed elements. Any ideas? Here is the CSS: http://mailmarkup.org/...
How do I use cursor hand cross browser? ...
I have applied the following CSS to a FORM submit button: font:normal 15px helvetica,arial,sans-serif; padding:6px; On Windows, regardless of the browser (IE/Firefox/Chrome), this increase the FORM submit button and give the button spacing padding of 6px. However, on OS X (Mac), the form submit button is not stylized at all. Meaning,...
It has been suggested that I use CSS for displaying XML. I know in my heart that this is wrong, but cannot find the words to adequately convince others. Can anyone provide me with a list of pros/cons of using CSS and XSLT for displaying XML. Thanks! ...