html

kentico CMS search results

HI , How do i change the Kentico CMS search settings so as to display a part of text from search results as in Google .presently it shows only the path in the results. ...

CSS RGBA border / background alpha double

I'm working on a website that has a lot of transparency involved, and I thought I would try to build it entirely in RGBA and then do fallbacks for IE. I need a "facebox" style border effect, where the outer border is rounded and is less opaque than the background of the box it surrounds. The last example from http://24ways.org/2009/work...

iframe for ad loading good or bad?

According to Yahoo's "Best Practices for Speeding Up your Site", the pros for using iframes: Helps with slow third-party content like badges and ads Download scripts in parallel but the cons are: Costly even if blank Blocks page onload I want to use an iframe to load ads using the technique mentioned on this site: http://meande...

Select Box not filling properly in rails

I am creating a select box for a form using this in _form.html.erb <%= f.select(:category_id,options_for_select(@cats)) %> @cats is an array created in my controller like this: @cats = [] categories.each do |c| @cats.push([c.full_name,c.id]) end The select box is properly filled, and the selected foreign key is even properly save...

Chaining CSS classes in IE6 - Trying to find a jQuery solution?

tl;dr = "Anyone know how to apply chained classes for IE6 using jQuery or similar?" Right, perhaps I ask the impossible? I consider myself fairly new to Javscript and jQuery, but that being said, I have written some fairly complex code recently so I am definitely getting there... however I am now possed with a rather interesting issue ...

JSP load external php not using iFrames

I have a bit of an issue with a site I maintain. I have been asked to add a report to a page that sits in a jsp page. The reporting information comes from a MySQL database. The problem is to connect the jsp to the database would require added functions to code that I do not have the original source of. I thought about redoing all the db ...

Jquery Autocomplete plugin with Django (Trey Piepmeier solution)

So, I'm basing my code on Trey's solution on: http://solutions.treypiepmeier.com/2009/12/10/using-jquery-autocomplete-with-django/ The script is: <script> $(function() { $('#id_members').autocomplete('{{ object.get_absolute_url }}members/lookup', { dataType: 'json', width: 200, ...

JavaScript recursion does not work properly

Hi, Could anyone say why the following recursive function does not work for me ? It should collect recursively all radio buttons in a given element. But, it does not found any for some reason !? Thanks !! <?xml version="1.0" encoding="Windows-1255"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org...

Lisp-style quotation in HTML

In Lisp, evaluating '(+ 1 2) produces '(+ 1 2), not 3. It seems that HTML doesn't support Lisp-style quotation so you can't say something like <quote><b>not bold</b></quote> in HTML and let it just produce <b>not bold</b> instead of not bold. Is there any technical reason or historical reason for that? Thanks. ...

How do you update table row background color in IE using Javascript/CSS ?

I have a table that i want to "highlight" during onmouseover/onmouseout. I already know this is required in IE but not in other browsers. I have managed to detect the events triggering and this TR tag effectively works. (Note that the originating class "contentTableRow" doesn't seem to be causing any issues.) class="contentTableRow" on...

how to convert html to csv ?

is there a html parser or some library that automatically converts html page into csv data rows ? ...

vertical-align="middle" for td is not working if we use <!doctype ...>

Hi, I am trying to middle align an element, But I have bumped into this problem. I am using this tag: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <body> <table style="width:100%; height: 100%" cellspacing="0" cellpadding="0"> <tr> ...

If we don't like it for the presentation layer, then why do we tolerate it for the behavior layer?

Suppose CSS as we know it had never been invented, and the closest we could get was to do this: <script> // this is the page's stylesheet $(document).ready(function(){ $('.error').css({'color':'red'}); $('a[href]').css({'textDecoration':'none'}); ... }); </script> If this was how we were forced to write code, would we put ...

How can i display image in IE using base64 encoding method?

Hi guys I want to display image using base64 encoding in IE using GWT If it is not possible can u please suggest me the alternate way except creating the image to serverside & sending URL to the client side Can u help me ? ...

How can I select this element?

Hi, I have code blindness, it's like snowblindness, just wth far too much code. I have a div class dynamically generated, <div class="even last"> How can I select that with CSS? div.even last { background-color:#ffffff; height:100%; border-top:1px solid #F5F5F5; padding:2px; margin-top:35px; } Doesn't seem t...

How can I debug a form?

I'd like to see what a website is sending when I submit a form. Using Firebug I can see that it is regular POST form. I'm interested in the coding of the form fields. Thanks in advance! ...

C# how to show html contents with richtext box in winforms

I want to show html contents in my form. I tried to it with rich text box. rtBox.Text = body; but it fails. How to show html contents in rich text box..?? Note: i am using VS-2008 2.0 ...

Ignore whitespace in HTML

Is there anything in HTML/CSS that tells the browser to ignore whitespace completely? So many times when you want to put, say, two images next to each other - you try desperately to keep the HTML readable, but the browser puts a space between them. So instead of something like this: <img src="images/minithing.jpg" alt="my mini thing" ...

Converting a HTML string to normal text using iphone dev

how to convert a HTML string to a plain text in iphone dev. Is there any in built functions which does it ? I am actually downloading a html string from web and showing it in the UIwebview and i am giving the user a edit option so that the html needs to converted to tet so that user can edit Thanks... ...

textarea.selectionStart in IE

With this code I can check the caret position in a textarea in firefox: document.getElementById("myTextArea").selectionStart This doesn't work in IE 8. How can I get the caret position in IE 8? ...