Recent content by StupidShep

  1. S

    how do i convert html to jpg or any image format?

    Render the HTML in a browser and then take a scroungers -- Hope this helps
  2. S

    how do you write text in html?

    <a href="/page1.htm" style="background: url('/images/side.jpg');">Link 1</a> <a href="/page2.htm" style="background: url('/images/side.jpg');">Link 2</a> -- Hope this helps
  3. S

    How can i view my html documents on internet or mozilla fox?

    When you save it, save it as: TITLE HERE.html Now, when you open it, it will open in your internet browser. If you then want to edit it again, right click on the file and choose, Open With... Then scroll down to Notepad. (You can also right click and choose 'Edit;, however this opens up your...
  4. S

    PHP Cookies $_POST help?

    If I were you I'd use sessions, not cookies. It's simpler, and more secure. E.g: session_start(); $_SESSION['user'] = $_POST['fname']; ... echo 'Name: ' . $_SESSION['user']; You must remeber to call 'session_start' before using session variables. -- Hope this helps
  5. S

    What is the HTML code for... (read description)?

    'Text box'. Please don't tell me you are doing this in word? Because, if you are, you are bound to have loads of trouble. You're description is kind of vague but I'll try. Try adding a backround to the link itself. For example: <a href="/About" style="background: url...
  6. S

    is a good idea to learn C# and PHP on the same time?

    I think that the similarity is benificial. It doeasn't really matter if you learn them at them same time, or learn one after another.
  7. S

    [HTML/CSS] I want an image and some text overlayed for the submit button for

    I would make the text part of the image - unless it has to be dynamic text. This is easier. Then: <form id="my" action="/form.php"> <!--INPUT STUFF--> <img src="/path/to/picture.jpg" onclick=" document.gettElementById('my').submit(); " alt="" /> </form>
  8. S

    How do I create expandable tabs in HTML/CSS?

    You can't. Not with only HTML/CSS. What you need is javascript. The answer is too complicated for me to simply give you the code - it would take some debugging You could buy a menu of SWEEB. They only charge £20 and it's easy to use / customize. [email protected]
  9. S

    Why is learning HTML so boring?

    Interrest. Things are only boring if we make them boring. Sorry.
  10. S

    PHP: What is used to cancel out ' ' in ' ' (see below)?

    No, you use backslashes: '$_SERVER[\'REMOTE_ADDR\']' Alternatively, you could put it in double quotes: "$_SERVER['REMOTE_ADDR']" (In this one, as the quotes are differnet, the " ' " will be treated as the string - this also works the other way round. ie. having it all in single quotes and...
  11. S

    HTML Pop-Up Message With Links .?

    <script type="text/javascript"> <!-- function clicked() { pop = document.getElementById('pop_up'); pop.style.visibility = 'visible'; //You may also want to position the popup in the center of the page, or w/e } //--> </script> <a href="javascript:clicked();">Download</a> <div id="pop_up"...
  12. S

    How do I create an if statement that tests if all variables are equal?

    if ((d1==d2) && (d2==d3) && (d3==d4)) { //code }
Back
Top