I have some HTML files that use at least three different languages and are generated by PERL from both a MySQL database and original HTML files.
This vast collection of HTML files has to be edited in order to transform some characters that are not valid UTF-8.
I have made a little progress in...
This is the only thing that I have been able to get going for my desired effect.
Notice that the bottom table scrolls up underneath the top table. This is the thing that I am striving for.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
I've figured out the difference between my tables and the sample tables. If you set the postion style for either fixed or absolute, then the table will no longer force scrolling, they will adjust to window size, even independentally of a table that is forcing horizontal scrolling.
My reference...
Vacunita, I think I see how the code works in your sample, but I don't want to depend on table content to force horizontal scrolling. This is why I address the issue at the page display level.
Setting the min-width and max-width at the body level seems to work on the sample you provide. But...
body {
overflow-x:scroll;
overflow-y:hidden;
white-space:nowrap;
}
Very strange. This doesn't work. And not only that, but the "white-space:nowrap;" entry crashes my Dreamweaver 8, right away if one of the pages using the CSS style sheet with entry is open. It closes it right up. It...
How do you force horizontal scrolling for an entire page display? I have tried the following solutions after a search in Google:
Adding "min-width: 1500px" to the body style. This worked in a sample page, but not in my published page.
Adding "overflow:scroll" to either the body or table tag...
Thanks, OsakaWebbie, but I am generating the data and I'm not concerned about exporting the data from the table. It's somebody else who might want to be able to do that. I don't want to expect them to have to figure out that it is a background image generating the data view.
No, the C address is hosted on the same server as A and B.
I have observed another odd thing, the differences I am seeing do not occur in all IE8 browsers. I opened the page in an IE8 browser in another computer and the differences was not there.
I suspect a browser setting might be involved...
I have a website that can be accessed by several different addresses. I use the LAN restricted addresses 192.168.X.X for website servicing and two other addresses for access from the outside. Furthermore, my server to the internet has forwarding so that several different addresses access...
Thanks all who replied.
Actually, the background image is content. But it is a very limited kind of content. It's like a check mark indicating "yes" or "no" in a report. It's simplicity is what suggested to me it might be better displayed as background. The only limitation is that if you...
I've been placing an image that repeats in many different table cells using a style class background setting applied to the different cells with that class setting. But I wonder if it might be more efficient to the browser to load these images with an image tag even if they are all the same...
Yes, thanks for that. You can now set the borders for the columns with the rules attribute. But I was confused for a bit and it really took some time for it to sink in that you cannot control the cells in the individual columns. You can only place borders around the entire columns, this is...
I've done a quick Google of CSS colgroup and find that there a servere limitations as to what can be styled under col's. It so happens that background color is one. Width is another.
Can anyone confirm or deny that? Any tips as to a solution?
I understand now that more than one class can be...
Thank you for those insights and the code you provided works fine.
I'm still confused about the role of the columns and column groupings. I'm not sure what you mean when you say "You don't actually have a colgroup to which the col style would apply." I still need to apply border settings to...
I am trying to set the left-border so that it shows with a solid border on the left of only certain columns set with a certain class. But I am getting no settings being shown.
Here is a simple example of what I am trying to do:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
This worked:
Break into the module HTML::TreeBuilder and find "sub text { ...". In that subroutine find,
$text =~ s/[\n\r\f\t ]+/ /g # canonical space
unless $no_space_compacting ;
It is line 1103 in my editor. Add "\p{Zs}" so that it looks like this,
$text =~...
There are some errors in the above code.
First, this cannot work:
my $tree = HTML::TreeBuilder->new->parse_file(shift @ARGV) || die "Hey, where is my input file? $!\n";
$tree->handler( text => \&my_text_handler, "self,text" ) ;
If it is to work at all, it has to be something like:
my $tree...
I've done another experiment to see if the subroutine I am applying in the TreeBuilder code is capable of being used by HTML::Parser, and it is. This works:
#!/usr/bin/perl -w
use strict;
use HTML::Parser;
my $file = shift @ARGV;
my $parser = HTML::Parser->new( start_document_h => [\&init...
I have been doing some experimentation and have tried the following solution.
Since HTML::TreeBuilder uses HTML::Parser as a base, then the methods available in HTML::Parser should be available to the object instance created from HTML::Builder. In fact, parse_file(shift @ARGV) is a method from...
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.