css

How to make list in webOS look like Grid?

I tried 'float: left;', but when scrolling(slowly is clearer), only one list item scroll..but not numItem of one row..(But photos app built in palm pre ROM woks just fine) In one file: <div id="results-list" class='thumb-list' x-mojo-element="List"></div> In another: <ul>#{-listElements}</ul> In another: <li class='thumb-item'>...

How to use non standard CSS selectors in a CSSResource

Hello, I am trying to use styles for the scrollbars in webkit. The CSS selectors look like this: ::-webkit-scrollbar-corner ::-webkit-scrollbar-track-piece:disabled and so on. When I use those in a ClientBundle as a CSSResource, the compiler is complaining about those selectors. This results in warnings during compile time, not...

Install a font in to a Server

Hi. I have developed a PHP project. In this I want to implement the font style in Wendy Medium. But I don’t know how I install this font in my server. Does any one know how to do this? Thanks in advance. ...

Freeze GridView Header in ASP.NET ?

I have gridview with 15 and above columns, I need to freeze the header of the gridview using the following css : .container { overflow: auto; } /* Keep the header cells positioned as we scroll */ .container table th { position: relative; } /* For alignment...

CSS Text position IE/FF issue

I have this navigation <div class="cookieBar"> <div class="light first"> <a href="#" class="ckLnk">Home</a> </div> <div class="dark"> <img src="images/cnavR1.png" class="pointE" /><a href="#9" class="ckLnk">Cars</a> </div> <div class="light"> <img src="images/cnavR2.png" class="pointE" /><a hr...

Is that possible to select all elements that does not match a selector ?

I have a table with lots of rows. I would like to select all rows that does not match some selector. For example: $('#my_table tr').each(function() { if ($(this).find(".class_a.class_b[my_param='" + my_value + "']").length > 0) { $(this).do_something(); } }); Is that possible to do the same in easier way ? ...

How to prevent text select outside HTML5 canvas on double-click?

(In every browser I've tried) double-clicking on an HTML5 canvas selects any text immediately following the canvas element. I'd prefer to keep the clicks confined to the canvas. (N.b.: I don't want to disable text selection entirely (e.g. like this): if you double-click the text it should be selected. I just don't want the clicks to "...

Truncating html text appropriately into a fixed size area

In a generated html page, we have a fixed size area (lets say 200 x 300) in which we need to fit in as much text as possible (like a regular paragraph of text), and if it doesn't fit, remove an appropriate number of characters and append "..." to the end. The text is NOT in a fixed sized font, and although we are using one specific font...

Javascript and CSS - Compress and Caching

I have a single huge minified JavaScript file (ditto for CSS). I am looking for some optimization in terms of speed of download and caching. I want to set the expiry headers for both these files such that with only 2 HTTP calls I get them (and until I change their version number in the URL) want them to be cached. My question is - Whe...

Why would my background image show up in Chrome but not in IE?

I have a background image set to my main div. The background image shows up fine in Chrome but doesn't show at all in IE. Any ideas on what would cause this? <div class="container" style="height:900px; margin-top:0px; background-image:url(Images/bg-stadiuminner.jpg); background-repeat:no-repeat;;"> Thanks ...

Why is in when I change the height on this bit of CSS styling for a div from px to % it doesn't work?

In this code (that uses jQuery), the following line in the html #canvas { height: 500px; background: white; } sets the height on the canvas to draw on. But if you change the height to a percentage value like this: #canvas { height: 20%; background: white; } the canvas doesn't display at all. Why is that? Thanks for reading. ...

CSS Drop-down menu positioning problem in IE

I've programmed a css dropdown menu that seems to be working correctly in every browser but Internet Explorer (at least in IE7). Here's a link to a picture of how it looks when it behaves correctly (not enough rep to post pictures yet): http : // img535imageshack.us/i/chromeexample.png/ Here's a link to how it looks in IE: http : // im...

Why does my contact form render incorrectly on windows browsers?

I have created a contact form on the contact us page of a website I am building. Mac browsers render it properly, so does IE7 AND IE8 on Windows. FF, Chrome and Safari have issues with spacing on the Windows platform. My code is listed below; <form action="" method="post"> <fieldset id="fs1"> <div id="formLeftCol"> ...

How to stop LinkButton from being greyed out by IE when disabled?

Is there an easy way to stop LinkButtons from being greyed out in IE when disabled, as it makes them hard to read. Thanks ...

Superfish dropdown clipped by table bounds

Hello, I am having a problem using Superfish dropdowns inside a jQuery grid. It looks like the dropdown is being clipped by the table bounds. I’ve researched this and it seems to be a z-index issue except that I have tried various combinations of z-index to no avail. Here’s a screenshot of what it looks like: I can post the css and ...

Managing the spacing with BR

Howdy, My users are using Telerik Rad Editor for creating content. The content looks one way in the editor (the "correct" way) and when it's rendered through IE it looks different (wrong). They will do something like this (HTML source below) <table><tr> <td>Some content here <br/><br/></td> </tr> <tr> <td>And some other here <br/>...

Flash Builder 4 - External CSS theme caching issues

I have a Flash Builder 4 application which uses custom themes by loading external style sheets at run time. The user can change the themes via a dropdown menu. Everything works correctly except for some weird caching issues. As you change themes, the main background color will change but certain elements will remain cached. Any ideas or...

just need to put the 1 image on the top and the second image would be on the bottom part

I just need to put the 1 image on the top and the second image would be on the bottom part of the background is that possible? please help me on this many thanks html { background:url(../images/try.jpg) repeat-y top center; width:100%; height:100%;} body { font: 100% Verdana, Arial, Helvetica, sans-serif; background:url(../ima...

Style A Paragraph Line by Line

Hello, Is it possible so style a paragraph line by line with CSS? Say first line will have the green color, second line the red, and the third line the yellow. Note that the paragraph is native and no other tag is used inside the paragraph. I just want to change the style with CSS if possible. Thanks. ...

jquery ui-icon and text alignment

I am trying to align jquery ui-icons with text like following, but I notice that the icon is always a little bit higher up than the text. Is there a way to align them horizontally, perfectly? <span><span class="ui-icon ui-icon-bullet"> bullet text </span> ...