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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by RedRobotHero

  1. RedRobotHero

    City Map service

    I need a Canadian city map. It looks like MapQuest provides services much like I was curious about: http://www.mapquest.com/solutions/product.adp plus AND, which probably uses the same technology as MapQuest, because they are listed as a business partner...
  2. RedRobotHero

    City Map service

    I want to be able to link to a map with a location, similar to what can be done with Yahoo Maps. But, I'm wondering if there is a similar service only that it is more customizable, like I can use my own logo, template, etc.
  3. RedRobotHero

    HELP BEGINNER!!

    > I have removed each different if statement >to see if it was causing the error..nope. If that didn't narrow it down, you must have more than one error. Try removing them all and then adding them in, one by one.
  4. RedRobotHero

    IE is splitting a line in two when printing

    Well, I fixed it for IE, (the top of the outer div needs to be equal to 0) but I'm still working on Netscape's tendency to cut off the right-hand side. Stormbind: Can I control that setting? I assumed that would be controlled on the client's end.
  5. RedRobotHero

    IE is splitting a line in two when printing

    Here we go: http://www.horriblepain.com/quicks/co01.html Also, Netscape cuts off a little bit of the right-hand side of the body text. I don't know if those two problems are related or separate.
  6. RedRobotHero

    IE is splitting a line in two when printing

    I didn't think I was trying to do anything fancy. You would expect that not making one line per page unreadable would be the default status for IE. I created this problem with HTML and CSS, and I would like to fix it the same way. I'll put together a stripped-down version of the problem page...
  7. RedRobotHero

    IE is splitting a line in two when printing

    Well, I've fixed the Netscape problem. The trouble was the outside div was in abolute positioning, so I made that relative for the print CSS, and it works it Netscape. But it still has the same problem with IE.
  8. RedRobotHero

    IE is splitting a line in two when printing

    Could the problem be because the offending text is within a div within a div? Because Netscape is only printing the first page. I've assigned both the inner and outer div float: none; but that doesn't fix it.
  9. RedRobotHero

    IE is splitting a line in two when printing

    When I print a web page in IE, it splits the last line of text on a page horizontally, printing the top half on one page, and the bottom half on the next page. How can I change my page so that IE prints it correctly? I'm in the midst of making the print style sheet for this site.
  10. RedRobotHero

    match regex multiple times per line

    Aha! I knew there was something I just hadn't thought of.
  11. RedRobotHero

    match regex multiple times per line

    Sorry, siberian. I read your post, but it doesn't work. That would be a good approach for if I were using the form s/XXX/XXX/gm but not when I am doing if (/XXX/gm) { action }. All the matches will be replaced in the first case, but the action still is only executed one time in the second.
  12. RedRobotHero

    match regex multiple times per line

    I'll admit it's probably a bad habit of mine to not use more modules. It's laziness, I guess. I can't bring myself to spend 20 times as much time to teach myself how to use a module as it took to write five lines of code that did the very specialized thing I needed it to do. I think I'll force...
  13. RedRobotHero

    match regex multiple times per line

    I'm trying to harvest links from an html page. (Not for anything nefarious, I assure you.) This is the code I've used to match the links: foreach (@page) { if (/href=\s*['"]?([^\s'"]*)['"]?/) { push @links, $1; } } My trouble is this will only match once per line. How...
  14. RedRobotHero

    h1 font-size %

    Hang on. My bad. I did something stupid, and, in fact, it DOES base the size on the body text. So, that's simple.
  15. RedRobotHero

    h1 font-size %

    I want to set the font-size for <h1> <h2> <h3> etc. for a site I'm working on. Now, it's easy enough to set it to a pixel size, but the site I'm working on I'm trying to let the font size be set by the browser. I was trying to set H1 to 150%, but, of course, it displays at 150% of what H1...

Part and Inventory Search

Back
Top