Jump to content

Technex

Members
  • Posts

    65
  • Joined

  • Last visited

    Never

Contact Methods

  • MSN
    technex-@hotmail.com
  • Website URL
    http://tactical-infusion.com

Profile Information

  • Gender
    Male
  • Location
    England

Technex's Achievements

Member

Member (2/5)

0

Reputation

  1. They are on my website, doesn't make a difference. (I wrapped this whole code here in a single div) Thank you.
  2. Hi guys, long time no see. Getting back into PHP again. I have a question, I'm just starting on the basics of a log in system and I can't get this form to validate as XHTML 1.1 STRICT. Here it is, I want to be able to extract this data and use it in PHP, while staying valid. The code here is fine, it's just when I try to make any usable submit data out of it. <label for="inputUSERNAME">Username:</label><br/> <input class="input" type="text" title="Please enter your Username" maxlength="20" size="30" name="inputUSERNAME" id="inputUSERNAME" value="" /> <br/> <br/> <label for="inputPASSWORD">Password:</label><br/> <input class="input" type="password" title="Please enter your Password" maxlength="20" size="30" name="inputPASSWORD" id="inputPASSWORD" value="" /> Thank you very much.
  3. I've worked on the site, and I am constantly. So ignore the above stylesheet. Thanks. You can't edit OP for some reason.
  4. http://tactical-infusion.com/test/ How can I make my new style work in browsers other than IE7 and Firefox 2.x. On windows at least. Thanks! * { margin:0; padding:0; border:none; } html, body { height:100%; } body { font-family:arial, sans-serif; color:#000; font-size:82%; background:#ffffff; margin:0 3% 0 3%; } #header{ position:absolute; top:0; left:0; width:100%; height:120px; background:#0099CC; } #clearheader { height:130px; } #mainbody{ background:#CCCCCC; min-height:100%; padding-right:208px; /*Allow for content */ padding-left:200px; margin-bottom:-62px; /*Same as footer a/ for extra*/ min-width:500px; border-left:4px solid #b3b3b3; border-right:4px solid #b3b3b3; } /*#mainbodyshadow{ width:8px; background:#003333; height:200px; background-image:(); background-repeat:repeat-y; float:left; }*/ /*Temp out*/ #leftmenu{ float:left; margin-left:-200px; text-align:left; background:#FFCC00; width:200px;/*Change mainbody padding*/ list-style:none; list-style-position:outside; } #right { float:right; margin-right:-200px; text-align:left; background:#FFCC00; width:200px; } #content { background:#CCCCCC; width:100%; float:left; margin:0; padding:4px; text-align:justify; } #clearfooter { clear:both; height:115px; } #footer { border-top:1px solid #999999; width:50%; margin:0 auto; clear:both; height:60px; line-height:60px; font-weight:bold; text-align:center; position:relative; } View source for HTML please. Thanks ever so much guys!
  5. Please reply if you would like any more info. Thanks ever so much!
  6. I can't seem to edit my OP. But just to let you know the mainbodyshadow style was just a test one. I am just trying to get it to float to the left of the mainbody. View the live source for my added info.
  7. Hello guys, I'm working on a new style for my website. And I'm currently trying to add a drop shadow to the right of the greay main body. It will be about 10-20px wide and I will make it 100% vertical. I would not like it to get in the way for smaller browsers. http://tactical-infusion.com/test/ I am aware it doesn't work in IE6 and under, and to be frank I no longer care... Works fine in FF and IE7. But if you know how feel free to help me. 100% CSS, fluid, sticky footer and 3 columns . With some help from Aneko. #mainbody{ background:#CCCCCC; min-height:100%; padding-right:208px; padding-left:200px; margin-bottom:-62px; min-width:500px; border-left:4px solid #b3b3b3; border-right:4px solid #b3b3b3; } #mainbodyshadow{ width:8px; background:#003333; height:200px; background-image:(); background-repeat:repeat-y; float:left; }
  8. Thanks mate, solved. Nice surprise coming up on MSN with that code also .
  9. Sorry lemme explain it more. I already know how to limit the username by using this: $regusername = substr($_POST['regusername'],0,25); But if a user goes over this limit it just cuts there username down to 25 and doesn't tell them or stop them from registering. How can I display a error and stop the code? (by using a if statement if possible)
  10. Hey guys I javascript:void(0); Coolhope you can guess what I'm trying to do just by seeing this: if(substr($_POST['regusername'],0,25)==TRUE){ echo 'Username is good under 25'; }else{ echo 'Username is bad more than 25'; } Just doesn't work I think what I'm trying to == to is wrong. Thanks!
  11. Works thanks, but is that good coding by using more than one? Would is_null be better in a performance comparison? Thanks!
  12. Maybe it's because your on a dynamic IP, or your ISP has just changed to that?
  13. Try this: <input type="text" value="<? echo $name; ?>" name=newUserName>
  14. Hey guys, please awnser as soon as you can if(empty($regusername|$regpassword|$regcpassword|$regemail|$regcemail)){ Parse error: syntax error, unexpected '|', expecting ')' in blah blah blah, what's the correct way of separating them preferably using | instead of & unless any other reasons why. Thanks very much!
×
×
  • 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.