Jump to content

Dysan

Members
  • Posts

    443
  • Joined

  • Last visited

    Never

Everything posted by Dysan

  1. hi, I have the following code, that displays a div. How do you display it so it is the centre of the screen? Similar to Yell.com <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> body { MARGIN: 18px; PADDING: 0px; } div { WIDTH: 45.4em; HEIGHT: 25.5em; BORDER: 4px solid rgb(0,0,0); BACKGROUND: rgb(255,255,255); } </style> </head> <body> <div></div> </body> </html>
  2. Hi, without using JavaScript, is it possible to submit a form, using a text link? - using a similar technique to that used in checking if a submit button has been clicked. if(@$_POST['Submit']) { ...
  3. How do I move the bullet points left and up a bit?
  4. Sorry, forgot to add code. Save the following code and the image found at the URL, and place it them both in the same folder. I'm trying to line up the HTML bullet points, with the ones found on the image. Problem is, it messes up on another browsers upon doing this. Why is this? http://www.freewebs.com/ticstacs/Bullets.bmp <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> body { MARGIN: 18px; PADDING: 0px; } #container { WIDTH: 727px; HEIGHT: 409px; BORDER: 4px solid rgb(0,0,0); BACKGROUND: url(Bullets.bmp) no-repeat; } ul { TOP: 130px; LEFT: 16px; POSITION: relative; FONT-FAMILY: arial; FONT-SIZE: 75%; } </style> </head> <body> <div id="container"> <ul id="bullets"> <li>Bullet Point One</li> <li>Bullet Point Two</li> <li>Bullet Point Three</li> <li>Bullet Point Four</li> </ul> </div> </body> </html>
  5. Hi, how do I display bullet points exactly the same in the image found at the following URL? I have attempted this (See Image) but every time I change it in FF it messes things up in FF. http://www.freewebs.com/ticstacs/Bullets.bmp
  6. hi, the following code displays a div 100x100 in Internet Explorer, but not in FireFox (108x108). How do I get it to display at 100x100 in both browsers? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> body { MARGIN: 18px; PADDING: 0px; } div { WIDTH: 100px; HEIGHT: 100px; BORDER: 4px solid rgb(0,0,0); } </style> </head> <body> <div></div> </body> </html>
  7. Hi, I have a form that puts data inside a database. How come when I entered information on new lines within the "Description" textbox, the data saved does not include the new line? e.g. Today is Wednesday. Tomorrow is Thursday gets stored as Today is Wednesday.Tomorrow is Thursday How do I restore the new lines/paragraphs? <html> <body> <form action="2.php" method="post"> Title: <input type="text" name="title" /> Description: <textarea name="description"></textarea> <input type="submit" /> </form> </body> </html> mysql_select_db("database", $con); $sql="INSERT INTO jobs (title, description) VALUES ('$_POST[title]','$_POST[description]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con) ?>
  8. Whats the easiest way to display the selected option within a drop down menu on a different page, in order to confirm what was selected? <form name="form1" method="post" action=""> <select name="select"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select> </form>
  9. MySQL. What is meant by "variable"?
  10. What's the difference between varchar and char?
  11. What is meant by variable Data Types?
  12. hi, how do I upload an image (size must be 468x60px), then provide a drop-down list to position the image somewhere on the page, upon clicking a submit button? The positions are as follows: Top-Left Top-Right Bottom-Left Bottom-Right
  13. Hi, using PHP how do I program a script, so emails are sent to a list of users on a daily basis?
  14. Hi Guys, Something that has been bugging me for ages, is how do websites that offer a service for a fee, start-up? If we take um.... a job website for example (JobServe.com), who allow recruiters to post jobs for a small fee onto there website, how do these sites start, as if there is nobody else to view the jobs, then the recruiter is spending money for nothing in return. What happens when a website starts-up? eBay is another example. I hope this makes sense! Very interested to hear anybodies views.
  15. Hi irvieto! I think I understand what you mean, can you give me a more detailed example to at least get one field working?
  16. Hi, using PHP and CSS, how do I change the text colour of a label and border colour of a input field upon a user not entering data into any of the fields, or entering an invalid email address or phone number (must be 11 characters)? <body> <form name="form1" method="post" action=""> <label>Name:</label> <input name="name" type="text" id="name"> <br> <br> <label>Email:</label> <input name="email" type="text" id="email"> <br> <br> <label>Phone:</label> <input name="phone" type="text" id="phone"> <br> <br> <label>Gender:</label> <select name="select"> <option>Male</option> <option>Female</option> </select> <br> <br> <input type="submit" name="Submit" value="Submit"> </form> </body>
  17. Oh yeah. Sorry about the spelling mistake (ACCEPT), silly me!
  18. What happens if people don't use PayPal though?
  19. Relating to search engine keywords, is it necessary to have the same word listed twice, but with out words? Example: Roast Dinner Pig Roast is it necessary to include roast twice? Could the keywords be set as the following?: Roast Dinner Pig
  20. Hi, how do websites except payments? What is needed to except payments on websites? - How does the National Lottery website work, in order to add funds to your account? Cheers
  21. What's the difference between the following data types, as the maximum number of digits can be specified in the size parameter of all of them? int(size) smallint(size) tinyint(size) mediumint(size) bigint(size)
  22. Dysan

    Change URL

    Yes, using mod_rewrite, but how Cheers
  23. Hi, Upon a user registering on my, send them an confirmation email containing an activation link. Until the user clicks this link, the user's account is inactive. The links contained in the email follows the following format: http://localhost/activate.php?code=g45f5f4g5df65df4g How do I change format to this? http://localhost/g45f5f4g5df65df4g Many Thanks, Dysan
  24. Hi, Using PHP, is it possible to apply Steganography (Store a hidden message) to an image? If so, how?
  25. Hi, How do I store a list of Firstnames & Surnames inside a .txt file, then using PHP, limit the amount of data displayed per page to only 6 records. Depending on the number of records stored in the .txt file, a NEXT and PREVIOUS link is enabled/disabled. Extremely Appreciated!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.