Sorry, I thought there was a solution that handled both scenarios.
The way it works is I have no idea how much (or how little) content will be in the gray box. I would like the gray box to always extend to the bottom of the page no matter what the height inside.
I apologize for not providing...
BillyRay, that helps, but my question now is what if I want the gray box to go down to the bottom of the page if there isn't enough content?
BabyJeffy, that helps too, but I'm trying to stay away from a table based layout. Thanks for the idea, though.
How can I make the background color of a div extend past the page fold?
Example:
--
<html>
<head>
<style>
* {
margin: 0px;
padding: 0px;
}
#container {
background-color: #ccc;
clear: both;
height: 100%;
width: 50%;
}
</style>
</head>
<body>
<div...
I have no idea why this doesn't work in MSIE. Is it because I'm trying to populate and submit the form from a text link?
<head>
...
<script type="text/javascript" language="javascript">
/**
* submit the GET request through the filter form
**/
function filterById(emailId)...
I've been able to pinpoint the error more, but I don't understand what's going on.
This line isn't working:
$line =~ s/$ary1[0]/$atTxt/g;
Even though
$line == $#@File2.html#$
and
$ary1[0] == $#@File2.html#$
the switch isn't happening. Any ideas?
Question 2:
I can't get the function that the code snippet sits in to work. The recursion is breaking on me, as I can't get the $line to replace inside the if clause.
sub parseFile {
my ($page, $atTxt, $fullLine) = ("","","");
my @file = @_;
foreach my...
I'm a perl newbie, so i have a question.
given the following code, how can I get the value of the second regex?
foreach my $line(@file) {
chomp($line);
$line =~ /\$#(\@)(\w+)#\$/g;
print "$2\n";
$line =~ /\$#(\?)(\w+)#$/g;
print "$2\n";
}
It's possible that...
Hi.
I want to override one of the constructors in ArrayList, namely the
public ArrayList(Collection c) {
}
constructor, but I want to perform some operations on the Collection before calling super. Is there anyway that I can do this?
What I'm trying to accomplish is an ArrayList of files...
hi all,
I've got a very very slight grasp of the javax.xml.* and org.w3c.dom.* libraries, and from some tutorials and books I've been able to parse simple xml documents.
But I need to parse a complex xml document, and I have no idea how to go about it. The document looks like this:
<?xml...
Nothing crazy. I'm just trying to detect whenever an update is made to the database.
Currently, I show the time the table was last 'updated' on a website. There's a slim chance that the user won't insert/delete any records, but in fact just update existing ones.
I'd like to be able to detect...
Keyword search is down right now, so hopefully I'm not asking something often asked.
When I issue a 'SHOW status FROM database LIKE 'table_name' does the update_time only show when the table had records deleted/inserted?
I mean - does it detected when an UPDATE table SET... query is issued? If...
How come I can't execute the following query through an ADODB.Connection, but I have no problem when I cut and paste it into a query?
This is the error I get:
One or more values are prohibited by the validation rule 'Like "???###"' set for 'engagement.Client ID'. Enter a value that...
Hey all -
I was wondering if there was a way I could run the values through a function, and have those results display in the column.
I just need to remove the last 27 characters in the column, and unfortunately I cannot just delete the extra data.
As you can tell, I'm *extremely* new with...
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.