css

An efficient way to merge 2 large CSS files

I'm looking for a tool that allows you to merge 2 large CSS files. All the ones I've tried so far (like CSSMerge) haven't worked out. Some of them just randomly remove properties. Others choke on the non-standard properties like -webkit and -moz and give me errors. And I also need something that preserves the case of each rule. CSSMerge ...

Prevent images loading in html

I'm developing a mobile version of a website, unfortunately because of the archaic CMS in use it's not possible for me to alter or offer an alternative template for the pages - therefore I only have css and javascript (and maybe .htacess) at my disposal. I've looked around, and I think there may be a way to prevent images from loading u...

background image need to fit the div

I have a div which size may differ time to time. At I set a background image to tat div which image size is fixed. But I need to fit the background image to div at any size. How could be possible thro' CSS. Thanks in advance!!! ...

load HTML\PHP pages into another Page's div

lets say i have two pages links.html & contents.php... first page contains only html code while the second page contains some HTML + PHP code.... now i ant to create a page index.php with two DIVs in which i want to show\load the above two pages... <html> <body> <div id="links" class="myCustom1"> <!--here will be the links.html...

Master page acting weird

So I applied this master page to two files..one inside the same folder(file1.aspx) as the master page..another outside(file2.aspx)..master page is applying alright to file2.aspx BUT not completely..a TD's bgcolor is missing..and ONLY that..why so ? BOTH files got no code of their own yet..just the application of the master page [Edit] ...

Why is menu displaying behind image?

Hi At this site: http://www.multiway.dk/ The dropdown menu is displaying behind the header image, which i dont quite understand as the menu has z-index: 100; and the image has z-index:1; It works fine in FF, but in IE it doens't work?? ...

how to have spacing html/css

hi i have an html/css code here, which will result to this one.see image below. I would like to add another 3 columns under the first "Future Event" How can I do that? already posted the code: thanks what would be the code for the spacing of paragraphs? thanks please see the image here: http://www.freeuploadimages.org/images/nc1xjrptgd...

Quickest way to get around not being able to drag on an iDevice?

I have a site that uses a jQuery UI slider. I fired it up in my iPhone, and realised that when trying to drag the slider (by dragging my finger over it), it scrolls the site left to right and leaves the slider unaltered. It appears I can only slide when the site is at a zoom level that shows the entire page. I think you can force this ...

How do I identify and eliminate unused CSS styles from my bloated stylesheet?

I have a legacy stylesheet that is now full of unused styles. The problem is identifying the necessary from the unnecessary. Are there any tools to help with this? ...

Multiple columns, column-span workaround

hey there... i'm working with safari and i need to have a multiple columns text (in a single <p> through webkit-column-count), but also i need to make an image span upon two or more columns (i know it's not supported yet, but i'm asking for some workaround if possible) meaning: i want this layout --------------------------- image ---...

Get current style using MSHTML in C#

I want to use MSHTML to get the style of an html element. What I want is the computed style but without all the default values. (only the ones that are set in the html and css) MSHTML has 3 types of styles that I have seen so far style, currentStyle, and runtimeStyle. style and runtimeStyle only has the inline styles and current Style...

Change text to dots in text field with CSS/Javascript

Hey all Is there a way to "mask" the input of a text field to act like a password field (to show dots instead of text) without making the text box of type password? We prefer CSS than javscript... any ideas? ...

CSS display:none and visibility:hidden

Hello! I have a div that I use to display alerts when needed. If I want to close it after a while can I use display:none or should I use display:none as well as visibility:hidden? So one or both. Thank you. ...

Horizontal Scrolling?

Hi, I am not sure where i've seen this before, but im sure that there is a way to make horizontal scroll. Lets say, for example you have multiple DIVs is the ff: structure: <div class="container"> <div>Content</div> <div>Content</div> <div>Content</div> <div>Content</div> <div>Content</div> </div> Im looking for ...

Javascript created div not reading CSS in IE

Hi, once again, IE is proving to be the biggest pain in the world, on headset.no, we have a small blue search field, when you type for example "jabra" into it, it should generate a div that gives you suggestions underneath, this works perfectly in Chrome, Safari, opera and FF, but of course, IE has another idea of what to do with it. I...

I want to Display news and events in a html page such that automatically they are rotating but on mouseover they stop?

I want to Display news and events in a html page such that automatically they are rotating but on mouseover they stop? Please give me any article link related this? ...

Embedding PHP in CSS

I'm trying to create a variable background, where the image changes based on the time of day. This code I have USED to work, but I did something somewhere along the line and didn't notice that the functionality had broken. Can someone explain to me why this doesn't work? <html> <?php function day() { if ( $hour >= 6 && ...

CSS: What is the selector for something that has a center tag in the middle of it?

I have <div> <center> <img> </center> </div> I've tried div img, div center img, div > img, can't seem to get it right. ...

jQuery nth child

Is it possible to get jQuery to do the same job as nth:child(odd)? So that I can add zebra lines to tables in browsers like IE6? If so can someone help? ...

HTML - Extra Space in table... debug

look at this image see the white are below the grey... its not supposed to be there find me a cure <table border="0" cellpadding="0" cellspacing="0" height="30"> <tr> <td> <div class="mainmenu"> <ul> <li class="li_nc"><a href="/" target="_self" >HOME</a></li> <li class="li_hc"><a href="#" >PROGRAMS</a...