css

Transparent png not showing bg image just bg color in html.

I have a logo that is a transparent png and i want to overlay it on my bg image but when i do it shows only the background color. Here is an example: I am using a modified copy of the WP theme Colourise The Css is here: http://files01.s0urc3.ismywebsite.com/colourise/style.css And the page here: http://s0urc3.ismywebsite.com/index.p...

How to add "pause" button in this jquery slider?

How to add pause button in this jQuery image slider? I want to add Pause on click button at last after 4 ? Like this: see example pic http://shup.com/Shup/431390/110929231254-My-Desktop.png http://www.sohtanaka.com/web-design/examples/image-slider/ I want add another link button to pause the slider on current slide. and it should no...

html css: how to draw dotted box around <div>?

I saw in SO there is a lot of DIV which is surrounded by dotted lines, how to do it in CSS & HTML? Thanks. Bin ...

How to get the rendered DIV's width and height?

I have a <div>, which is dynamically controlled by the JS, for example, some children are added dynamically. Is it possible to know the width & height of the rendered DIV after the insertion/deletion are done? ...

Adding a text footer to the bottom of every printed page when a web page is printed

Is there a technique for adding a text footer the bottom of each page when it is printed? For example "Copyright My Company 2010" - I know there is probably a way to do this with a background image using CSS, but I would really like to use text for this portion so the client can edit it. Any ideas? ...

Where to add Link tags on a page that's got a master page ??

When I type it here :- <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"> <link href="Skins/SkinCustom/Editor.Default.css" rel="stylesheet" type="text/css" /> </asp:Content> Its says Element Link cannot be nested within div...how am I supposed to link my css files ?? ...

Regarding customizing telerik radEditor skin

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"> <link href="Skins/CustomSkin/Editor.Default.css" rel="stylesheet" type="text/css" /> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <telerik:RadEditor ToolbarMode="Default" ID="editor1" runat="ser...

Align two DIV's and use entire page width

I need to align two div's inside a parent div. The parent div should take up the page width with a margin on both sides. The 1st child div should be 100px wide with a 4px margin. The 2nd Child div has to take up the rest of the space with a 4px margin on the right. How do I write the CSS for this? I have written this so far div.pare...

How can I zoom a <div> in Firefox and Opera?

How can I zoom a <div> in Firefox and Opera? The zoom property is working in IE, Google Chrome and Safari, but it’s not working in Firefox and Opera. Is there any method for adding this property to Firefox and Opera? ...

how do I find out which skin Telerik's RADeditor is using by default ??

In firebug under "Style" its showing the css file as follows when I hover mouse over RadEditor "http://localhost/myWeb/WebResource.axd?d=WSPnt1ffDvgb4bj2Ii5nA4MecfZdsnZ0wvgLy3HVcihYTy2nMTq7iIu8RlAb7ZMF61e07jisMUNhQZabIxK2kyuxNpeCFqhE3cgnDSm1-Pc1&amp;t=634237829795625000" In telerik:RadEditor tag ..I haven't specified any property such...

CSS: I'd like my links to look like buttons, but they overlap

In order to make all my links looks like buttons, I've done that in my CSS: a { color: #06A; text-decoration: underline; margin: 10px 20px; padding: 10px 20px; /*background-color: #EEE;*/ border: #BBB solid 1px; } They look fine, however, they seem to mix-up, that is they are being positioned as if they had no padding or m...

how to set height of ListBox to auto.

I have Html listBox: <select id="targetField" multiple="multiple" name="D1" style="width:200px;"> <option>INDIA</option> <option>USA</option> <option>UK</option> <option>AUSTRALIA</option> <option>RUSSIA</option> <option>FRANCE</option> <o...

How to override the stylesheets embedded in the Telerik assembly??

Embedding RadEditor in my page but Master page's CSS is screwing it up ..like Editor's content area is inheriting background-image property of the body tag when I want it to be white..drop down lists inside of Editor too are not displaying correctly..I don't wanna create whole new custom skin ...

Issues with Manipulating Opacity using jQuery in Opera

I'm using the latest version of Opera (11 alpha), but I ran into this issues with 10 (stable) a while back as well. I am using the following code to animate opacity: if($('#detailsLM').length>0){ $('#detailsLM iframe'). animate({opacity:.5},20,'linear').hover( function(){ $('#detailsLM iframe').animate({opacity:1},600,'lin...

Hover Div System

Say I have a div with a link in it. When I hover over it I want another div to fade in above it with some content and then fade away on mouse over. Example found here: http://bit.ly/c59sT4 ...

Can I use a selector engine like sizzle to compare css selectors?

Here's my problem: I'm writing a WordPress plugin that helps budding CSS authors see how css applies to their theme in real time. It's got a numer of nifty features, except one, which is pretty crucial in my mind. I want to allow them to click an element, see the full selector path to that element (that part is done), and then show th...

Table of width 100% not filling parent <div>

I thought tables are easier to style, but this one got hitting my head. The problem is a table of width 100% is not filling it's parent div. <div style="width:100%; margin-top:20px;"> <div style="width:100%; padding:5px; background:#ccc; font-weight:900;">Table Top</div> <table width="100%" border="0" cellspacing="0" cellpadding...

How do you disable all styles on an element ? Any property to set all attributes of an element to none all in one go?

I am embedding telerik's radEditor in my page..its inheriting css properties from the master page..like H2 is in blue color..its got background color... what should I type in my custom css class (the one exclusively made for radEditor) so it over rides ALL the Master page's css properties and applies nothing to heading tags?? I wrote ...

adding and removing css classes on href

Hi I have a page with 2 links on it. The page URL is example.com/all Now the 2 links on the page, one goes to example.com/all/list and the other to example.com/all/map What I want is when the user lands on example.com/all, class for the href link needs to be 'current' When I click on example/all/map the map link needs to have the clas...

Why is my "margin: 30px" instruction being ignored?

I'm having difficulty with setting the margin between 2 elements on my page. An example is depicted here: http://jsfiddle.net/fHC9Y/1/ You can see that there's no space between the paging structure under the table and the footer box, where I've specified in the CSS that there should be 30px of space between them. This is an issue in ...