I want to add two table or more consecutively and they must be seemed like one table.
<html>
<head>
<style type="text/css">
.cls
{
border:1px solid #000000;
}
.cls td {
border:1px solid #000000;
}
</style>
</head>
<body>
<table class="cls">
<tr>
<td>aaa</td><td>bbb</td><td>ccc</td>
</tr>
<tr>
<td>ddd</...
I have a JSP page that needs to accept some info into a form, having said form submit to the same page with an extra "Thanks for __" div that is placed only after the form submit (using a parameter check).
However, I also need to serve up a file on the server for download, but I can't mess with the header's content-disposition to serve...
I've got the following...
<hr style="color:#292929;background-color:#292929;"/>
but the colour isn't changing to the HTML colour code I've declared. Why not?
...
I want to create a website that can be visited by type of browsing device and when the user visits the site on different devices (iPad, iPhone, Netbook, PC) they immediately see the version of the site optimized for them instead of having to go to m.example.com . I know that you can specify html to print etc. Is there a type for device s...
I'm using the following Javascript to restrict a text field on my website to only accept numerical input, and no other letters or characters. The problem is, it REALLY rejects all other key inputs, like ctrl-A to select the text, or even any other browser functions like ctrl-T or ctrl-W while the text box is selected. Does anyone know of...
I have just added the code to my index.html and uploaded the file. But Google Analytics Status says the code is not installed (not found).
I have a VPS (own server) which I manage myself.
Thing is, in my case, I have a setup like this:
IP adress at a VPS provider
Domain name at an ISP
A-Pointer to point my domain to my IP adress...
Hi All,
I am using XSLT to recurse some XML and then apply some HTML to the output. It will recurse the data, but it duplicates the parent item description and I am not sure why? I am sure it is right in front of my face, but I don't see it. It is inserting right after the <ul> tag when it goes to the next level in the XML.
XML Example...
I have two divs: an outer div that is always 800 pixels high, and an inner div that’s 150 pixels high. The inner div is positioned 60 pixels from the bottom of the outer div.
The outer div is also vertically centered within the browser window.
<div id='outer'>
<div id='inner'>
some stuff
</div>
<div>
<styles>
#outer
{
pos...
Hello friends,
I created a small program in PHP which sends newsletter. It's fine when I preview the HTML email template in a web browser. But when sent in mail it loses all the color formatting. Please help! How would I send an e-mail with full color?
Here's the HTML code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E...
I am trying to inject an external html file into the current DOM using javascript. This is on the same domain so Single Origin Policy is not an issue.
var body = document.getElementsByTagName('body')[0];
var script= document.createElement('p');
script.innerHTML = 'http://samedomain.com/my.html';
body.appendChild(script);
any ideas ?
...
Go to http://jsfiddle.net/srLQH/ and fill in the input text box in the "Result" view.
If you do this in FF, Chrome, and Safari, your text will stop 20px short of the right side.
In IE 7/8, the text does not stop 20px short--it goes all the way to the edge of the input box.
What's the deal with IE? How can I get the same padding effect...
Hi Folks,
First of all I apologize, I am posting tons of questions will silly problems. This is very much the first time I am going to use JQuery heavily. So now my problem is,
I have a text field, which gets input from a usb device (works as a keyboard wedge), as soon as this INPUT field is populated I want to make an AJAX cal...
I'm working on building a gift catalog for my organization, and need to show an update on screen if someone has added an item to their cart.
When someone is browsing the catalog, they start on PAGE A, then choose an item and go to PAGE B to choose quantity, and add to cart. When they add to the cart, a jquery event .click() sends the us...
So, I have a function:
public string genSomeHtml(){
//Gen some html including and image called foobar.gif
}
Now, I want to call genSomeHtml() from two different pages, but they have different paths to /images. So, I can't exactly use "../../images/foobar.gif" and I'd rather not pass a param to tell me where to look. Afterall, the...
Hello all,
Is there an easy way to remove HTML tags from a character string in R?
Currently I'm extracting out survey data from an XML document and for the title of the question have HTML from the survey design in it, like this.
"Why did you give this performance question a low score?<br />"
Any way to easily remove the <br />?
An...
In only one search engine I want to get... http://mysite.com/ indexed,
not...
http://mysite.com/index.php I only want to allow indexing of the
main page of the website, and nothing more. I do not want the bot to
follow any of the links on the main page.
My meta tags include the following::
<meta name="robots" content="index, nofollo...
There is a Silverlight page, it's width is 810 pixels, height is not specified:
<NavigationControls:Page x:Class="VfmElitaSilverlightClientView.Pages.SquadView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsof...
I'm trying to use the piroBox (http://www.pirolab.it/pirobox/index.php) jQuery plug-in to make a gallery. I'm also using <!DOCTYPE html>. With this DOCTYPE, the images that are supposed to appear in a modal dialog appear at the bottom of the page. Removing the DOCTYPE makes it perform as expected.
Is there any way to make the plug-in an...
I have a HTML form with various SELECT (both multiline and drop down list style) elements. A number of the items in the SELECT are much wider than the element width. In most browsers it will display a tooltip and the drop down will be as wide as the widest option. In IE6 however neither of these work.
Does anyone know any alternative co...
Hi,
I can't find a title for this because it's a complicated issue.
Let's say i have this:
<div style="color:red;width:900px;height:250px;">
I Can Control This DIV
</div>
<div style="position:absolute;top:0px;color:green;width:40px;height:40px">
I CANNOT control this DIV
</div>
Is there any way for the first div to reserve it's area...