I have made small web-app in jsp with a start page with login and some restricted pages with logout, -everything controlled with filters and servlets. I started making it because I wanted to learn how to use filters and servlets, and think I have succeded in that very well.
Everything works fine when I just ensure everything is happenin...
I am trying to increase the width of the span tag within a list item tag.
Example html;
<li><span>10:00 am</span>Toy Soldiers</li>
CSS for li/span
li span {
color:#000;
margin-right:5px;
background-color:#fff;
padding:3px;
text-align:center;
width:90px;
display:inline;
}
Live site of what I am having a problem with: ...
I'm populating a textarea with previous input of a user. This is pulled from a database and set as the content of the textarea server side.
It seems we are having an issue with a typo and a combination of special characters. if the user inputs  originally, when I try to populate my textarea with that it just renders a little square...
Hi
I need to get all the content inside the body tag of a html file using c#, any good and effective ways of doing this?
...
First off, I know how to make a frameset scrollable.
The problem is I have a frameset within a frameset within a frameset.
I want to make it so that if the frameset of the frameset of the frameset overflows in the x direction, I get a scrollbar for the entire page.
...
Hey,
I have these input fields, well 1 input text box, and then i have a drop down. Now what I want is when a user selects an option from the dropdown (this is the dropdown)
<select name="searchType">
<option value="all">All</option>
<option value="music">Music</option>
<option value="movie">Movies</option>
<option value="...
I have html file with javascript code the contents of the file are as under:
I tried this code on Safari and it was working fine. But when I tried this on Firefox, it’s not working. Can any one suggest how to make it working on firefox.
<html><head></head><body><button type="button" onClick="handleButtonClick();">undo</button> <button...
I've built an HTML form that sends an email via PHP, but it's giving me some errors that look like this:
Notice: Undefined variable: selected_radio in /webdocs/com-interplay2010-www-1i/webroot/holiday2010/submit.php on line 8
Notice: Undefined index: gender in /webdocs/com-interplay2010-www-1i/webroot/holiday2010/submit.php on line 12
...
I've tried many tricks found on the web including:
wmode transparent
z-index
WindowlessVideo
But none of them seem to work on Chrome. Works fine on IE and FF.
This version of code is XHTML compliant:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html x...
I am trying to clone a template of a which will be populated with data and then inserted into a table. I'm currently able to use the same .clone() function with other elements on the same page but jQuery refuses to see and clone the template (I'm guessing because its not a block element).
Here is the template:
<tr id="search_result_...
On Beauty of the Web, there is a purple/blue swoosh at the beginning, if you are in IE9 or Chrome. How is that done? What is that? How come it only displays in IE9 and Chrome?
...
function works perfectly. it makes source code single line. but problem is about Google Adsense ads. their locations get messed up. what might be the reason ?
programming language is c# asp.net 4.0
here the function
protected override void Render(HtmlTextWriter writer)
{
if (this.Request.Headers["X-MicrosoftAjax"] != "Delta=tr...
Hi I have custom google search included on a html page. like
http://www.*.com/search.htm?cx=partner-pub--00000000000-c77&cof=FORID%3A10&ie=ISO-8ds3-1&q=software&sa=Search&siteurl=www.*.com%2#1342
When I am using same url in browser i get results. I want to call it by simple dom html parser then it is returning blank...
I have an HTML form that submits an email with PHP, and when it submits, it redirects to that PHP page. Is there a way to prevent this redirect from happening? I built an animation with jQuery that I want to occur instead of redirecting. I tried return false;, but it wouldn't work. Here's my function:
$(function() {
$('.submit').cli...
Think "Firebug", but entirely from C#.
I have a WebBrowser control that I've built a DOM tree for in a TreeView. I'd like to be able to set a link between each DOM element in the TreeView and its matching HtmlElement in the WebBrowser's Document so that when the node in the tree is clicked, the matching element in the Document highlight...
Hi I want to parse a bibtex publications file and sort for specific fields (e.g. year) and filter certain content, to then put it on a website. I came across pybtex, which works as far as reading and parsing the bibtex file, but it is basically not documented and I can't figure out how to sort the entries.
Is pybtex the way to go (how c...
I downloaded html 1.13 package from Python site and as per instructions I doubleclicked on install.bat and installed it. I also added the directory C:\Python26\HTML.py-0.04 to PYTHONPATH. But when I try to import the module with
>>> from html import HTML
I still get ImportError: No module named html Can someone help me understand w...
I have a page where onclick on a button displays the text content from the file in the text area on the page
javascript function
function displayOutput()
{
<?php
$logfile = "hello";
$fh = fopen($logfile, 'r');
$size = filesize($logfile);
if($size == 0)
{
...
I have a bunch of aspx (asp.net) and html pages. The site is active past 2 years and gets decent traffic. Now all this while, I have not taken care of SEO. So my pages do not have meta tags, description or H1, H2 and so on.
Now I plan to add them to my pages and do this the right way. My question in any way will this negatively impact ...
Hi I have a fairly basic task, but cant seem to find the right answer to,
I'm making a set of buttons, you put the mouse over them and they change to a different image, take mouse off, change back...
It works fine in Safari, IE, Chrome,
Get into firefox and 4 don't work, randomly, not in any sort of order...
main.php -
news.php -
e...