Jump to content

Dysan

Members
  • Posts

    443
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Dysan's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  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?
×
×
  • 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.