css

jquery-ui sortable connected lists with hidden overflow

I have two fixed hight divs each containing a sortable list which are connected to each other. Is there a way to hide the overflow while still having the lists connected? E.g. if the overflow is set to hidden then the li doesn't show when it is dragged outside of the div. I know a possible solution would be to calculate the maximum numb...

Problem with jquery ui tabs

I am currently learning jquery ui tabs and included following things MY index file <!DOCTYPE HTML> <html lang="en"><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="UTF-8"> <title>jQuery UI Tabs - Open on mouseover</title> <link type="text/css" href="mouseover_files/jquery.css"...

div problem in asp.net

strong text i am using asp.net in visual studio 2005 how can i put my controls from toolbox any where i want in my aspx page it does moves freely as in windows application plz help ...

CSS Three Column Layout - Column Height Problem

Hello, I am starting with CSS and have run into the 'equal column height' problem', where floated DIVs have different height depending on their content. I have found several workarounds and attempted to apply this one, but havend been successful: in a three column layout all three columns are extended, but the left and the right column ...

outlook 2007 css > remove @media all ?

good day. a consultant offered us to remove @media all declaration as a alternative to rewrite html+css to fit outlook 2007. it seems to work on initial tests. will it cause future edge-state bugs or did we really find a quick fix? thanks in advance for your time ...

CSS height problem

Hi, I have this code: <div style="height: 500px; background: #f00; display: table;"> <div style="display: table-cell;"> <div style="display: table; height: 100%;"> <div style="display: table-cell;">asd</div> </div> </div> </div> and in Opera, the div (who has height set to 100%) has a height of 19px. Why does the 10...

Remove all JavaScript event listeners of an element and its children?

Hi, Is it possible to remove all event listeners of an element and its children? Something like: myElem.removeEventListeners(); I need this because I have a complex element with events, and I need to create a copy of it -- like a static image that does not react to any events. ...

check box input size

I want to increase the check box size for my following code: <div id="chatBox"> <form> <input type="checkbox" name="chat" value="LiveChat" />Live Chat<br /> <input type="checkbox" name="email" value="Email us" />Email Us </form> </div> is it possible? ...

Is it possible to pass parameters in the HTML class attribute?

I want to be able to embed certain information into HTML elements (images) without breaking valid HTML markup. Would the following be valid HTML? <img src="..." class="isearcher:tags(paris+hilton,gary+suneese)" > The hope is to latter extract it with a regex in javascript/jQuery. ...

How to make a transparent background without background image ?

I would like a div to have a transparent background. I tried to do this using background-color and opacity, but the problem is that the border and the text inside become also transparent. Example here. Is this possible to achieve this without using transparent PNG background image ? ...

Position div side by side with css

I have this simple Layout in my page <div id="content-wrap"> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div id="content" style="height: 550px"> </div> </form> </div> And the css: #content-wrap { clear: both; float:...

why different frames height in chrome and IE7.

i have two frames in one html page, which display correctly in chrome browser.but when i tried in IE7 it just looks very strange,its height is not 100% any more !the below is the code . <iframe src ="demoFramesetLeftFrame.jsp" name="treeframe" id="treeframe" height="100%" width="200px" frameborder="0"> </iframe> <iframe src="" name="ba...

Why ":last" and ":last-child" does not work ?

I'm trying to select the last div with class my_class inside div with id a. I tried several options with :last and :last-child but none of them worked. Here is on try. What am I doing wrong ? ...

How to force a monospaced font to render in Facebook?

I made a program that generates ASCII art from an image. I want users to be able to copy and paste that ASCII art to their wall and have it display properly. Problem: Facebook doesn't use a monospace font. Does anyone have any ideas on a workaround? ...

Chaining CSS rules

I have defined some background colors that I'll be using on my site. So I can easily set the background color of different elements like: .background_highlite{ background-color: rgb(231, 222, 207); /*Cream in my Coffee*/ } .background_shadow{ background-color: rgb(201, 179, 156); /*Moose Mousse*/ } Now, if I want all textare...

Change CSS of selected text using Javascript

I'm trying to make a javascript bookmarklet that will act as a highlighter, changing the background of selected text on a webpage to yellow when the bookmarklet is pressed. I'm using the following code to get the selected text, and it works fine, returning the correct string function getSelText() { var SelText = ''; if (window.getSelec...

Why float behave differently than other options when we give float to parent element to clear float?

In this example http://jsbin.com/inoka4 no width is defined for parent element if i want to wrap red boxes in container border. then we can make this in 5 ways to giving float also to <div class="container"> overflow:hidden or overflow:auto any clearfix hack to <div class="container clearfix"> Giving height to <div class="container">...

Jquery Animation doesn't work in IE

Hi guys. I am trying to animate a div when the user click the button. Each button will move a div to a different amount of pixels. My code works in firefox and chrome but not IE8 (I only test it in IE8 so far). I appreciate it if someone could help me about it. my jquery $(document).ready(function(){ function breakline(position) {...

Cleaning up CSS files

I have a bunch of CSS files with a bunch of classes. I know a lot are not used. Is there a tool that will scan your site and clean up your CSS files or tell me which ones aren't used? ...

include a website in php file

Hi i am trying to include a webpage link from another website into my website. how can i do this? i tried <?php web_include ('http://website.com/website.html') ; ?> but all the commands are not loading after this statement. I want to include another webpage into my homepage directly. my homepage is completely designed in php, but the ...