I want to write an application that sends html formatted email. I have the css and html files as I want them. I'm trying to send the email with the embedded css using the style element like so:
<style type="text/css">
h1 {border-width: 1; border: solid; text-align: center}
</style>
<h1>Title</h1>
<p>Content of the email</p>
It work...
I have the following design problem. I have a list of items and I want to make the whole of each of the first li to be a clickable link. I have tried adding a link in each li, making it a block level element and positioning it absolute, but that doesn't work because the parent and all li's are floated left for layout purposes. Any help w...
I am using chat feature of chat.stackoverflow.com... It's really amazing!
I am curious, when I scroll the window, the right side of the chat room(div id="sidebar") didn't respond to the scroll event at all, how that can be achieved?
...
Hi SO,
How do you get an iframe to fill up the height of the screen minus a 33px footer space at the bottom? I need the scrollbars of the iframe (both up and down arrow) to show. And it must be without Javascript (so it can degrade pleasantly :).
(The only thing I've found on SO is to use padding-top which doesn't seem to work in my ...
What is best practice with regard to using links/<a> tags with explicit hrefs to other pages in your site (i.e. href="/blah/blah/blah.html) vs having hrefs/divs/etc. that don't have an explicit href and have their onclick set within the document ready handler with JavaScript in say a main.js file.
I'm not an expert when it comes to web ...
Choosing language I see http://github.com/ and OpenBSD.org got 2 examples how to. Github has a dropdown and openbsd.org just links. Which kind of UI for this use case could you recommend?
I now take the parameter hl=el for instance for greek which switches i18n internals to greek or other language and present available languages like thi...
Why in the following code the focusin event handler isn't called ?
HTML:
<div id='wrapper'></div>
<div id='button'>Click Here</div>
<div id='output'></div>
JS:
$(function() {
$('input').live('focusin', function() {
$('#output').html('focusin'); // Why this not happens ?
});
$('#button').click(function() {
...
Hi everyone,
I'm running a Wordpress website and I have a <marquee> on the front page that runs the news.
Is it possible to have it dynamically generate the news? What do I mean by that?
Would it be possible to make it so that whenever a new post is made with a category of "News", it will automatically be fed into the <marquee> on the...
To use Google Maps API you fetch their api js file with:
<script type="text/javascript"
src="http://maps.google.com/maps/api/js?sensor=set_to_true_or_false">
</script>
Then I use javascript on my page to interact with this API.
I wonder what is going on in the background that I don't see.
Is this file using javascript to rend...
Hi,
I am using the to implement a popup window using zIndex... things work well but I want to implement a function, that is when user click any region that is outside of the popup div, the div will be closed, how to do that?
Bin
...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript"></script>
<style type="text/css">
.user-bg {
backgro...
Hello everyone,I hope everyone's doin good.
I am facing an issue regarding the images, i have a cgi page i.e Login.cgi, in tha html section i have included some images but some are getting displayed and some are not.
Here's the code:
#!C:\perl\bin\perl.exe
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use stri...
Hello.
I have some tr elements in table:
<table>
<tr id="tr_level_1">...</tr>
<tr id="tr_level_2">...</tr>
<tr id="tr_level_3">...</tr>
<tr id="tr_level_4">...</tr>
<tr id="tr_level_5">...</tr>
</table>
In Javascript I have the next variable:
var levels = 3;
I want to delete all tr's where number in id is more than levels. And if l...
Hi guys,
I am wondering what is Quirks mode in IE8 Developer toolbar? Why page rendering is different in Quirks mode than in IE8 standard mode?
...
On my set I use jquery to fadeout an image, change its source to something else, then fade back in. However, sometimes on slow connections, the image will fade back in before the source completely changes, so the old image will still appear for a brief second before the new one comes in.
Is there a way to have a callback on attr so fadi...
Possible Duplicate:
Are iframes considered 'bad practice'?
Some say that iFrame is evil.
But it seems that Facebook uses iFrames for the Facebook applications, and dumping FBML (Facebook markup language).
I have never used iFrames before, but is it a good practice to use them if you want to "install" other web applications o...
I have found an odd anomoly with HTML text boxes and javascript that I have narrowed down to being a html/javascript peculiarity and I'm hoping someone can educate me on.
I have downloaded and implemented a calendar plugin that creates a simple layer with a calendar and on selection, passes the selected date back to the text box.
What ...
I'm trying to change the focus whenever a user presses tab on the last field. I want to set the focus on to another input field.
I have the following javascript code:
$("#input2").keydown(
function()
{
if(event.which == 9)
{
$("#input1").focus();
}
}
);
And this is my trial html code:
<div id="inputArea1">
...
In my Struts based application on eclipse, graphics animation on jsp page are shown in preview mode (both mozilla mode and IE) like I can click to button some text animation are display(like toggle effect) but on design mode button are not give any response.
i am using jquery,css and js.
...
Hello, very quick question. I am wondering if there are any software Django software that generates python coding automatically. If there are any, please let me know.
...