I have a web page created by CGI::Pretty that only works with IE6, but not with IE7, nor with Firefox. I asked for help at HTML/CSS forum (for details, please refer to here). And I was told that the doctype of my web page is WRONG.
Here is the DOCTYPE:
<?xml version="1.0"...
Hi, Experts,
I am new to css/dhml. I wrote a piece of css/dhml code which works ok with IE (not perfectly, though), but not work at all with firefox.
Here is my css file – mystyle.css:
.outterRow {
background: #996600;
text-align: center;
width: 96%;
margin: 0 auto; /* to center it...
Experts,
I am new to dhtml/css. I have a page which contains a table somewhat like this:
<table border='1' width='90%'>
<tr> <th rowspan=2 colspan=2>Item Name</th><th colspan=5>Check all that apply</th></tr>
<tr>
<td width='10%' align='center'>Box 1</td>
<td width='10%' align='center'>Box...
Experts,
I am rather new to javascript. I want to create an html page which can add rows dynamically based on a user input. I wrote a piece of code below. But I don't know how to correctly implement 'addRows()' to do the job.
Thanks for your help.
<html><head><title>Dynamica Form</title>...
I wrote a small perl cgi code to test set/read/delete cookie as follows.
use strict;
use CGI::Pretty qw( :html3 );
use CGI::Cookie;
local $| = 1;
my $cookieName = 'ckname';
my $userInput = 'input';
my $q = new CGI::Pretty;
if($q->param('ok') == 1) {
my $val = $q->param($userInput);
my...
At first, please take a look at the following codes:
File 'test1.pl':
#! /usr/bin/perl
use strict;
use test2;
my $thisStr = &getStr;
print "\$thisStr = $thisStr\n";
print "##$test2::str##\n";
File 'test2.pm':
use strict;
use vars qw(@ISA);
use vars qw(@EXPORT);
require Exporter;
@ISA =...
I wrote a small piece of perl code using CGI::Ajax.
#! /usr/bin/perl
use strict;
use CGI::Pretty qw( :html3 );
use CGI::Ajax;
local $| = 1;
my $q = new CGI::Pretty;
my $p = new CGI::Ajax('js_func' => \&pl_func);
my $flag = 1; # if $flag != 1, then the Ajax codes would not work!!
if($flag...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.