Jump to content

zera555

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by zera555

  1. html
    <html><head><link rel="stylesheet" href="JBudd_files/style.css" type="text/css"><title>JBudd</title></head><body><div id="banner">JBudd</div><div id="nav"><a href="http://www.x-programming.com/clients/jbudd/newsletters.php">Newsletters</a><br><a href="http://www.x-programming.com/clients/jbudd/talentresource.php">Talent Resource</a><br><b><u>Media</u></b><br><a href="http://www.x-programming.com/clients/jbudd/movies.php">---Movies</a><br><a href="http://www.x-programming.com/clients/jbudd/audio.php">---Audio</a><br><a href="http://www.x-programming.com/clients/jbudd/images.php">---Images</a><br><a href="http://www.x-programming.com/clients/jbudd/store.php">Store</a><br><a href="http://www.x-programming.com/clients/jbudd/forum.php">Forum</a><br><a href="http://www.x-programming.com/clients/jbudd/links.php">Links</a><br><a href="http://www.x-programming.com/clients/jbudd/pressrelease.php">Press Release</a><br></div><div id="promo"> /* place this floated div before the centred div */Tra la la la la la, this is a test, this is only a test.</div><div id="content"><h1>News</h1>The site is coming along nicely!</div></body></html>

    CSS

    body {background: #d3d3d3;margin-left: auto;margin-right: auto;text-align:center;}h1 {margin-left: auto;margin-right: auto;text-align: center;}#banner {text-align: center;margin: 10px;height: 70px;}#nav 	{text-align: left;float: left;width: 180px;padding: 5px;background: #ffffff;	}#main{;}#content {width: 460px;padding: 10px;margin-left: auto;margin-right: auto;text-align:center;background: #ffffff;}#promo {text-align: left;float: right;width: 180px;padding: 5px;background: #ffffff;	}

    this centered my "content" section, but i need the whole page to be centered.... something like this website:http://www.cliffordhoeft.com/

    help!

    ok thanks guys! one more question...i have a field called "websiteID" set as my table's primary key, and i want to find whether or not a row exists with any given number as "websiteID"how could i do that?

    help!

    OK, so I'm a newbie to php, but I couldn't find the answer to this queston on the website so here goes...I want to fetch the highest integer value in a given column from a MySQL table. How do I do that?

×
×
  • Create New...