I'm using a custom GWT component that wraps around an existing textbox in my html page.
The page returns a list of information - so as larger sets of information are loaded - the GWT loading process takes longer and longer.
Looking at the source code of the wrap() method - it appears it iterates through the DOM looking for matching i...
I want to make first input have the width 100% and second + image = 100% so that second input get the rest of the space (100%-img size) on the same line. Is it possible to do using CSS?
<html><head><title>width test</title>
<style type="text/css">
.t {
width: 100%;
table-layout:fixed;
}
.caption {
text-align: left;
wid...
I have Commenting system in my app. For a single video entry anyone can post a comment and someone else can post reply to that comment and replies, cannot have thier further reples, similar to StackOverflow is doing (1 Answer, and thier 1 or more replies).
I want the similar functionality what SO has, Let's I have the following HTML
<...
My problem is HTML and CSS related. I have a hierarchy type structure that I want to display inside a list. The hierarchy contains Countries, States and Cities (it is three levels deep).
I want to display the list inside a select list, each item type (Country, State, City) must be selectable. The items should appear indented as:
Unite...
I'm trying to create a generalized HTML parser that works well on Blog Posts. I want to point my parser at the specific entrie's URL and get back clean text of the post itself. My basic approach (from python) has been to use a combination of BeautifulSoup / Urllib2, which is okay, but it assumes you know the proper tags for the blog entr...
I have my site under construction, and I want to have a little form (name, email) where
people can submit it to be notified when I launch my site. Much like you see on Beta invite sites etc. How would I go about that?
...
I'm designing a header which is made of 3 parts.
The page must be fluid: min-width:940px; max-width:1200px;
The first two parts of the header will be fixed size:
left middle right
<---------><---------><----------------->
134px 183px (Fill the remaining space)
I'd like the right part to change depending...
I have something like this:
<table>
<tr>
<td><nobr>hello</nobr></td>
<td>this column can contain a lot of text, for some rows</td>
<td><nobr>world</nobr></td>
<td><nobr>hello world</nobr></td>
</tr>
... more rows to come
</table>
Basically 3 of the columns have very short text, and I want them to be <nobr>. The o...
Hello, i'm building an app that will display some newsletters to the users. the newsletters are displayed in a uiWebView. I'm reading the url's for the newsletters from an rss feed. I parse the xml, and in a table view i have all the newsletters. When a cell is clicked the uiWebView is pushed and the newsletter is loaded. Because the uiW...
How can text like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" which exceeds the width of a div(say 200px), be wrapped?
I am open to any kind of solution such as CSS, jQuery, et cetera.
...
hi
im trying to reach an image that is located in a folder outside my site.
I tried to go outside my folder by putting ../ but this end with an error.
I also tried to give an absolute path but there are spaces in there (like "documents and settings\") and this also doesnt work
does anybody have an idea?
...
I had a CSV file that I converted to XML. I would like to use this data for a table on my web page. What is the best way to tackle this?
Thanks.
Mike
...
Hi,
I am using this jQuery menu script:
(function($) {
$.fn.blowfish = function() {
// hide original ul dom tree
$(this).hide();
// create container from top-level li tags
var top = $(this).children('li');
var container = $('<div/>').addClass('bfcontainer').attr('id', 'cv' + Math.floor(Math.random()*10e10)).ins...
I've got a fairly ajax heavy site and some 3k html formatted pages are inserted into the DOM from ajax requests.
What I have been doing is taking the html responses and just inserting the whole thing using jQuery.
My other option is to output in xml (or possibly json) and then parse the document and insert it into the page.
I've not...
Is the "id" attribute allowed in microformats? Example (hCard microformat):
<div class="tel" id="voice">
<span class="type">Voice</span>
<span class="value">(206) 555-1234</span>
</div>
<div class="tel" id="fax">
<span class="type">Fax</span>
<span class="value">(206) 555-5678</span>
</div>
...
There's a real art to designing a website that works for everyone, and Progressive Enhancement is practically a mantra to me...
So I'm wondering, what are some of the best tricks you've used for making websites work for everyone regardless of browser, OS, javascript, flash, screen resolution, disabled user accessibility, etc.?
(I know ...
Hi. I'm seeing extra whitespace at the very bottom of this page but only in IE7 and Chrome (and, as would be expected, in IE8 in IE7 Mode and Compatibility Mode). Here's what it looks like for me in IE7. I've examined the code using Firebug and the IE Developers Toolbar and didn't find any abnormalities. Anyone know what is causing th...
Hello, I am trying to use BlockUI with jQuery's hide, however, not everything's going to plan.
Currently, upon script load, the said div (radiodj) hides itself. When user clicks on a button, the div shows up. Now, here's the problem. When user clicks on a link inside the div, the div hides away again, but the link action is performed, i...
I need to parse some HTML files, however, they are not well-formed and PHP prints out warnings to. I want to avoid such debugging/warning behavior programatically. Please advise. Thank you!
Code:
// create a DOM document and load the HTML data
$xmlDoc = new DomDocument;
// this dumps out the warnings
$xmlDoc->loadHTML($fetchResult);
...
I have 4 links that are being displayed as an image. The a tag is displayed in CSS by a small image and the a:hover is represented by a larger image. I am using ajax to load the content that each of these links represent.
http://www.avant-gardesalon.net/site/quality-products_copy.php
How do change the CSS so that when the content (for ...