
xerox02
Members-
Posts
90 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Not Telling
xerox02's Achievements

Member (2/5)
0
Reputation
-
I wanted to make it more organized CSS <style TYPE= "text/css"> #logo { position: absolute; left: 17px; } #footer { width: 100%; height: 44px; background-color: #193bac; color: #red; } #navi { height: 32px ; width: 100%; background-color: #193bac; color: white; font-family: arial; } #navihome { display: block; width: 82px; height: 32px; background: url("http://img84.imageshack.us/img84/7207/oneu.gif") no-repeat 0 0; position: fixed; left: 57px; } #navihome:hover { background-position: 0 -20px; } #navihome span { position: absolute; top: -999em; } #naviart { height: 32px ; width: 82px; position: absolute; left: 165px; background: url("http://img843.imageshack.us/img843/9916/twoo.gif") ; } #naviart:hover { background-position: 0 -95px; } #navimusic { height: 32px ; width: 82px; position: absolute; left: 273px; background: url("http://img148.imageshack.us/img148/3972/threer.gif") ; } #navimusic:hover { background-position: 0 -95px; } #navidance { height: 32px ; width: 82px; position: absolute; left: 381px; background: url("http://img573.imageshack.us/img573/6940/four.gif") ; } #navidance:hover { background-position: 0 -95px; } #navicontact { height: 32px ; width: 82px; position: absolute; left: 489px; background: url("http://img33.imageshack.us/img33/513/fiveu.gif") ; } #navicontact:hover { background-position: 0 -95px; } body { margin: 0; padding: 0; } </style> HTML <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <head> </head> <body> <div id="footer"> <div id="logo"> <img src="http://img638.imageshack.us/img638/3509/logo4jf.gif"> </div> </div> <div id= "navi"> <div id="navihome"> <a id="navihome" href="http://kian02.comlu.com/kian3.html" title="Home"><span>Home</span></a> </div> <div id="naviart"> </div> <div id="navimusic"> </div> <div id="navidance"> </div> <div id="navicontact"> </div> </div> </body> </html>
-
Example Page: http://kian02.comlu.com/kian3.html I want the Navi to have mouseover and also be a link <style TYPE= "text/css"> #logo { position: absolute; left: 17px; } #footer { width: 100%; height: 44px; background-color: #193bac; color: #red; } #navi { height: 32px ; width: 100%; background-color: #193bac; color: white; font-family: arial; } #navihome { display: block; width: 82px; height: 32px; background: url("http://img84.imageshack.us/img84/7207/oneu.gif") no-repeat 0 0; position: fixed; left: 57px; } #navihome:hover { background-position: 0 -20px; } #navihome span { position: absolute; top: -999em; } #naviart { height: 32px ; width: 82px; position: absolute; left: 165px; background: url("http://img843.imageshack.us/img843/9916/twoo.gif") ; } #naviart:hover { background-position: 0 -95px; } #navimusic { height: 32px ; width: 82px; position: absolute; left: 273px; background: url("http://img148.imageshack.us/img148/3972/threer.gif") ; } #navimusic:hover { background-position: 0 -95px; } #navidance { height: 32px ; width: 82px; position: absolute; left: 381px; background: url("http://img573.imageshack.us/img573/6940/four.gif") ; } #navidance:hover { background-position: 0 -95px; } #navicontact { height: 32px ; width: 82px; position: absolute; left: 489px; background: url("http://img33.imageshack.us/img33/513/fiveu.gif") ; } #navicontact:hover { background-position: 0 -95px; } body { margin: 0; padding: 0; } </style> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <head> </head> <body> <div id="footer"> <div id="logo"> <img src="http://img638.imageshack.us/img638/3509/logo4jf.gif"> </div> </div> <div id= "navi"> <div id="navihome"> <a id="navihome" href="http://kian02.comlu.com/kian3.html" title="Home"><span>Home</span></a> </div> <div id="naviart"> </div> <div id="navimusic"> </div> <div id="navidance"> </div> <div id="navicontact"> </div> </div> </body> </html>
-
Hi, I wanted to show people the beta of a site I've been working endlessly on. It would really awesome to get feedback All the features like the rating system and finding others with similar taste have not been implemented yet, but the core features of the site are pretty much done. The site basically is a site where you trade music links with other people with similar taste and rate what they give you. The more trades you do, the higher ranking you have on the site. I wanted to get feedback of what people like, don't like, what they would change and etc. This means a lot! And hopefully we can make something that's fun and useful! We will be adding updates and features often as we go! http://songfountain.com/
-
Why do I randomly get empty rows in my mysql table for no reason.
xerox02 replied to xerox02's topic in MySQL Help
oh, thanks you! lol -
Why do I randomly get empty rows in my mysql table for no reason.
xerox02 replied to xerox02's topic in MySQL Help
So would this solve the problem. $sql="INSERT INTO `pendingquotes` (`quotes`, `email`, `name`) VALUES('".$_POST[quotes]."','".$_POST[email]."','".$_POST[name]."')"; $quote = $_POST['quotes']; mysql_real_escape_string($quote); $trimmed = trim($quote); $quote1 = $_POST['email']; mysql_real_escape_string($quote1); $trimmed = trim($quote1); $quote2 = $_POST['name']; mysql_real_escape_string($quote2); $trimmed = trim($quote2); -
hahahaha, thanks a lot.
-
really? doesn't anonymous seem to misalign upward each time? Maybe it's google chrome.
-
Why does id and submitted by mis-align more & more upwards each time in the code? http://excusesexcuses.net/excusestest.php
-
Why do I randomly get empty rows in my mysql table for no reason.
xerox02 replied to xerox02's topic in MySQL Help
bump -
http://excusesexcuses.net/ Viewing on Internet Explorer messing up everything lol and viewing in Safari has some alignment issues but I am fixing that as I speak.
-
I insert HTML space code   and that's what seems to be messing it up.
-
Yeah, show me man. What can I do to fix it!!!!!
-
Why do I randomly get empty rows in my mysql table for no reason.
xerox02 replied to xerox02's topic in MySQL Help
I trimmed the variable with trim(); Hopefully that fixed it. -
Thanks a lot man!!! I appreciate this. It's perfect, but it needs to lowered 3-5 px.
-
Here is the part of my site that has access to my mysql tables http://excusesexcuses.net/submit1.php . I don't know why when I look at my table, I have some empty rows for no reason. It would seem impossible with the way my php is to have empty entries. When my program has a empty field, it WON't even go to mysql. If people want to see the code: <?php $con = mysql_connect("","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("mydatabase", $con); require_once('recaptchalib.php'); $privatekey = ""; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); $sql="INSERT INTO `pendingquotes` (`quotes`, `email`, `name`) VALUES('".$_POST[quotes]."','".$_POST[email]."','".$_POST[name]."')"; $quote = $_POST['quotes']; if (!$resp->is_valid) { // What happens when the CAPTCHA was entered incorrectly die ("The reCAPTCHA wasn't entered correctly. Go back and try it again."); } else { if(empty($quote)) { // Tell them they missed a required field echo 'You did not write a quote.'; mysql_close($con); } else { mysql_query($sql,$con) or die(mysql_error()); echo 'Thanks for your submission '; mysql_close($con); } } ?>