Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pkskytektip

    use Encode: I need to change the encoding of a file to UTF-8

    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...
  2. pkskytektip

    How do you force horizontal scrolling for an entire page display?

    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"...
  3. pkskytektip

    How do you force horizontal scrolling for an entire page display?

    Vacunita, thank you for those excellent clues, but they are in no way a solution for my basic problem:
  4. pkskytektip

    How do you force horizontal scrolling for an entire page display?

    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...
  5. pkskytektip

    How do you force horizontal scrolling for an entire page display?

    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...
  6. pkskytektip

    How do you force horizontal scrolling for an entire page display?

    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...
  7. pkskytektip

    How do you force horizontal scrolling for an entire page display?

    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...
  8. pkskytektip

    Placing images. Image tag or style with background setting?

    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.
  9. pkskytektip

    Why would IE8 process styles diffently according to site address?

    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...
  10. pkskytektip

    Why would IE8 process styles diffently according to site address?

    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...
  11. pkskytektip

    Placing images. Image tag or style with background setting?

    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...
  12. pkskytektip

    Placing images. Image tag or style with background setting?

    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...
  13. pkskytektip

    Cannot set border styles via class setting in table

    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...
  14. pkskytektip

    Cannot set border styles via class setting in table

    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...
  15. pkskytektip

    Cannot set border styles via class setting in table

    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...
  16. pkskytektip

    Cannot set border styles via class setting in table

    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"...
  17. pkskytektip

    How can you collapse non-break spaces using HTML::FormatText?

    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 =~...
  18. pkskytektip

    How can you collapse non-break spaces using HTML::FormatText?

    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...
  19. pkskytektip

    How can you collapse non-break spaces using HTML::FormatText?

    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...
  20. pkskytektip

    How can you collapse non-break spaces using HTML::FormatText?

    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...

Part and Inventory Search

Back
Top