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 Wanet Telecoms Ltd 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. gnubie

    Paragraph spacing when preceded by a header

    To Chris Hunt -- Good point. You are right. A display: inline is not specifically needed, but to eliminate the space, one needs either the display: inline or margin-bottom: 0 statement. So, you can eliminate the new line (w/display: inline) OR make the new line have 0 space (margin-bottom...
  2. gnubie

    Paragraph spacing when preceded by a header

    ...For example, when you want: Header 1 Paragraph 1 Paragraph 2 ... Use the adjacent selector method. For example: h2+p { margin-top: 0; /* this will only affect a paragraph that immediately follows h2 */ } h2 { display: inline; /* this is required. */ } I added this new posting...
  3. gnubie

    Missing echo new lines

    Feherke: Thanks. That was exactly the problem. GN
  4. gnubie

    Missing echo new lines

    <?php /* Windows XP-SP3, PHP 5, Firefox 3 Expected: Line 1 Line 2 Got: Line 1 Line 2 Why are newlines missing? */ echo "Line 1\n"; echo "Line 2\n"; ?>
  5. gnubie

    Error: Cannot load mysql extension. Please check your PHP configuratio

    Also added: extension=mysql.dll Some more questions come to mind: 1) Where is the phpmyadmin error log file? Couldn't find it. Nothing in the Apache error log. 2) Is there a way to learn where phpmyadmin was looking for the extension? 3) Any other related configuration parameter (besides...
  6. gnubie

    Error: Cannot load mysql extension. Please check your PHP configuratio

    On WinXP(SP3) I installed php, runs ok. Then installed MySQL. Installed and started ok. When I do http://localhost/phpmyadmin/index.php I get phpmyAdmin Error: Cannot load mysql extension. Please check your PHP configuration. php_mysql.dll IS present in php ext folder. php.ini: extension_dir...
  7. gnubie

    PHP 5.2 and later - install problem

    Thank you for the 5.2 installer link. I DID overlook that.
  8. gnubie

    PHP 5.2 and later - install problem

    I am running WinXP w/Apache 2 server installed. The PHP instructions baffle me. They say: Windows Installer (PHP 5.2 and later) The Windows PHP installer for later versions of PHP is built using MSI technology using the Wix Toolkit (» http://wix.sourceforge.net/). It will install and...
  9. gnubie

    height: 100% does not work in FireFox

    ...50px; border: 1px solid green; background: #FDD863; } div#page { margin: 0 auto; height: 100%; width: 800px; border: 1px solid blue; /* background: #FDD863; */ } div#links { float: left; width: 100px; height: 100%; border: 1px solid red; background: #FDD863; } div#main{...
  10. gnubie

    height: 100% does not work in FireFox

    ...<head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <title>Test FireFox height: 100%</title> <style type='text/css'> * html { height: 100%; margin:0; padding: 0; } div#container { position:absolute; top:0px; bottom:0px; left:0px; right:0px...
  11. gnubie

    hash initialization

    As Scott suggested, this is the short version of what I am doing. It works well: %article { title => 'The Root Cause', headline => '', outFile => '', } $article{headline} => "$article{'title'}", $article{outFile} => "../financial/$article{'title'}.html", I only have to initialize the...
  12. gnubie

    hash initialization

    I simplified the example. The actual code is more complex. I want to be able to reuse parts of identical code without having to retype it at every instance. I want to change just the title value and have it replicated where needed. The list is long and there other values to be replicated...
  13. gnubie

    hash initialization

    Thanks for the tip. That will work just fine.
  14. gnubie

    How to display a header and paragraph separated by only one line break

    Thanks for the explanation and tip. I did checkout the references regarding compact and run-in and found it to be too brief. Including my favorite, W3C. It pretty much says "... depending on the context, blah blah. I wanted to know what context caused what behavior. Sigh. I'll keep looking.
  15. gnubie

    hash initialization

    I want to initialize a hash using a value declared immediately before the current one. For example (below), I declared title and initialized it to 'The Root Cause'. Then I want to use the value of title in the declaration of headline. %article=( title => 'The Root Cause', headline =>...
  16. gnubie

    How to display a header and paragraph separated by only one line break

    After more experimentation, I came up with this solution which achieves the goal. Let me know if you come up with anything better. p { margin-top:0; margin-bottom: 1em; } h1,h2,h3 { margin-top:0; margin-bottom:0; }
  17. gnubie

    How to display a header and paragraph separated by only one line break

    I am trying to find out the PREFERRED method to display a header <h1> followed by a paragraph <p> where the paragraph starts on the next line. As shown. HEADER TEXT Paragraph text Not: HEADER TEXT Paragraph text This is the code that I think should work, but the <p> causes a line break...
  18. gnubie

    Prevent session timeouts?

    traingamer: The server? I thought a meta tag, like this one: <meta http-equiv="refresh" content="60"> would cause the browser to request the page every minute. BillyRayPreachersSon: Yes, that is what I do manually and what I want to automate. spamjim: A browser add-on that would refresh...
  19. gnubie

    Prevent session timeouts?

    My PC is 100% secure in my home office. Is there a way to prevent (or better yet, change the value of) session timeouts during on-line banking or other connections that timeout?
  20. gnubie

    CGI redirect gets Status: 302 Found Location:

    Thank you all for your responses. Summary and Conclusions: 1. print "Location: http://www.msn.com\n"; definitely works. 2. the CGI version also definitely works: use CGI qw(:standard); ... print redirect('http://someurl'); HOWEVER, THE CHIEF CAUSE OF THE FAILURE IS THE OUTPUT SOMEWHERE IN...

Part and Inventory Search

Back
Top