Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. ASP or PHP run on the Web Server not your PC. That is why you can visit a PHP or ASP driven site and it works fine. The Web Server is processing the ASP or PHP and sending only HTML to you.If you are running Windows 98 or newer your PC does support ASP, you just need to setup somethings up and you can start coding.As far as PHP you need to download the compiler and install it on your machine then you can start writing PHP code.
  2. it doesn't happen often, very rare actually, but it has happened. So I guess to save peopl ebeing irritated by it you could use your method...lol.Why was he irritated...if something happens with the javascript I am surprised he noticed.
  3. There are many free javascript trees out there.just google javascript TreeView
  4. I believe you have been introduced to IE6's Peek-a-boo Bug.go here to find fixeshttp://www.positioniseverything.net/explorer/peekaboo.htmlIf this does not work take a look at all the other IE6 bugs...google them to find fixes.http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspxMicrosoft cliams these will be fixed with the release of IE7.
  5. I don't think you can vertically center the page but if you add <br /> tags before the mother <div> (if you used my method) then that will bump the page down. Use as many <br /> as you need to get it down to where you want it.
  6. So lets see if I understand you.You have three images in a row. You want the middle one to stretch to fill up whatever space is left between the two outside images????first off you cannot make and image stretch (you could hack something together with javascript but the proportions would probably be off) but I can show you how to place 3 images in a row and place text over top of the middle image (you wanted the text over the middle image right?).There are 2 approaches, using tables or not using tables.Tables is the easiest but designers seem to be moving away from this opting for the tableless design.1. Tables <table><tr><td></td><td>Text above middle image</td><td></td></tr><tr><td><img src="img1.gif"></td><td><img src="img2.gif"></td><td><img src="img3.gif"></td></tr></table> 2. Without tables <div>text....blah.<br /><img src="" style="float:left"><img src="" style="float:left"><img src="" style="float:left"><br style="clear:left" /></div> Hope this answers your question
  7. whew! Finally solved it. It was tougher than I though...I did not find a CSS solution but resorted tot he background image approach.HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xml:lang="eng" xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/><title>TEAM ONE - Your Slogan</title><link rel="stylesheet" href="style.css" type="text/css"/><meta name="keywords" content="game, design, cs, computer, cpl"/><meta name="description" content="TEAM ONE - Your Slogan"/></head><body><div id="main"> <img src="images/big_spacer.gif" style="height: 10px; margin: 0 5px; width: 600px;" /><div id="logo"></div><img src="images/big_spacer.gif" style="height: 10px; margin: 0 5px; width: 600px;" /><div id="navcontainer"> <ul id="navlist"> <li><a href="#">One</a></li> <li><a href="#">Two</a></li> <li><a href="#">Three</a></li> <li><a href="#">Four</a></li> <li><a href="#">Five</a></li> </ul></div><img src="images/big_spacer.gif" style="height: 10px; margin: 0 5px; width: 600px;" /><div id="maincolumn"> <div id="leftcolumn"> Lorem Ipsum </div> <div id="rightcolumn"> Lorem Ipsum </div> <div id="footer"> Site designed and build by Cpy Designs. Use of content elsewhere not allowed. </div> </div></div> </body></html> CSS html, body {background-color: #ccc;height: 100%;margin: 0 auto;padding: 0 auto; background-image:url(bg2.gif);background-repeat: repeat-y;background-position:center;}#main {background-color: #fff;border: 0px solid #aaa;border-top: 0;height: 100%;margin: 0 auto;width: 610px;}#logo {background-image: url(images/banner.gif);height: 175px;margin: 0 5px;width: 600px;}#navcontainer ul {text-align: left;padding: 5px 0 5px 0;margin: 0 5px 0 5px;background-color: #f2f2f2;color: #000;width: 600px;font: normal 12px Trebuchet MS, Verdana;line-height: 12px;}#navcontainer ul li {display: inline;padding: 5px 0 5px 0;}#navcontainer ul li a {padding: 2px 10px 2px 10px;color: #000;text-decoration: none;}#navcontainer ul li a:hover {background-color: #dffe7e;color: #000;}#maincolumn {height: 100%;margin: 0 auto;width: 600px;}#leftcolumn {height: 100%;background-color: #f2f2f2;float: left;width: 400px;}#rightcolumn {height: 100%;background-color: #e2e2e2;float: right;width: 195px;}#footer {clear: both;background-color: #fff;color: #555;font: normal 10px Verdana, sans-serif;height: 20px;line-height: 20px;margin: 0 auto;padding: 0;text-align: center;width: 600px;}
  8. IE still goofs on a href="java script: anything" sometimes, not often mind you.I develop apps with lots of client side code and have seen this issue a lot in my development.
  9. thanks, I strive for efficency...I hate sites that have a million flashing ads and stuff. I am not even too fond of flash sites. It is impressive the first time I see it then it becomes annoying. Especialy flash sites that take a long time to load...I am just going ot skip the intro anyways!
  10. The XHTML errors are generated by ASP.Net and are not in my original HTML.It is a know error in 1.1 which hopefully has been fixed in 2.0Another obvious area where MS is struggling with web standards...or just ignoring them
  11. thanks for you r feedback
  12. aspnetguy

    Hi,

    How long have you been using SQL????To be hired as a DBA you will probably need at least 2 years experience amnging live databases.Search monster.com for job opertunities, by doing this you will also see what is needed to get a position in the industry.To be a DBA you will need to be an expert in SQL, TSQL or PLSQL, Stored procedures, triggers, database security, users, roles, and many more important features on databases.Information is worth lots of $$. Nobody is going to trust this with someone without the proper experience and training.
  13. Every so often that syntax will fail (like one in a thousand). It will try and find a page called java script:.... This is in IE btw.I would suggest this <a href="#" onclick="window.close()">Leave</a> This should work in all browser providing the user has javascript enabled.
  14. Unless you have full control of your server (not a freee host) and have sql server you will be out of luck on an asp.net forum (there are plenty of great PHP forums out there.I began down that road a few time only to come to the same conclusions, it was really a waste of time. You can go to www.invisionfree.com get a free message board, purchase a cheap domain and point it at the forum.The only thing is that it has a banner add at the top of the forum...not too bad since it is free. You can pay a small monthly fee to have this removed.If this does not satisfy you and you still want to go ahead with creating your own forum post again and I will tell you how to get started.
  15. The 2 divs I added were an attempt to clear the floats in hopes that it stop them from overflowing the main div, but obviously failed.http://www.complexspiral.com/publications/containing-floats/This article can explain better what I was hoping to do. Basically, even though your 2 divs are inside another div, they are not contained by the larger div because of the float property.As far as the background method read this article I wrote it has 2 sample sites (one without and one witht he bg. look at the source code of the latter to see how to impliment it. If this still doesn't work post your cod eand I will edit it for you)http://codebetter.blogspot.com/2005/09/css...ss-layouts.htmlCheers
  16. Tell me what you think (good or bad). I finally got my site done an would like some feedback on it.http://www.spatterdesign.ca/Also I am devloping a project, sort of a CMS, and am opening it up to others who would like to suggest methodology and features.If you are interested, PM me and I'll tell you some more details.It is being written in ASP.Net 2.0 with SQL Server 2005 Express.
  17. You aren't going to believe this...I found out what the problem is...the battery cover...lol.If I press up on the cover the battery power goes back to normal...I bent the prongs a bit and it works fine...haha...I can't belive the company would replace the camera free....allow the customer to keep the damaged one and not even check it out.This is so funny and awesome since I got a free digital camera...for nothing!!!
  18. I have had this problem but can't seem to find the page with the solution.Try this: <div id="maincolumn"> <div id="leftcolumn"> hej </div> <div id="rightcolumn"> hej </div> <div style="clear:left"></div> <div style="clear:right"></div> </div> If this doesn't work an easy fix is to 'fake' it. Use a background-image in the 'maincolumn' to simulate the 2 columns stretching 100%, that way you can take out the height:100% which will stop the overshooting.Hope this helps...nice design btw
  19. aspnetguy

    help

    What type of banking system are you creating and for who?The fact that you don't seem to grasp the basic technologies needed for this type of complex system makes me nervous...how do you intend to deal with security and making secure transactions.This is far more complicated than just learning a server side language and having a few forms.I would suggest that first you recuit some help from someone with experience building a system like this and then learn JSP or ASP.Net (better yet hire someone who specializes in either language). The reason I suggest these languages is because of their strength in security and user authentication.PHP and ASP are fine but fall short on security measures...session variables are by far not the best methods for authentication and please don't think about using cookies.
  20. I think the problem stems from CSS.If you define a set font-size in pixels or points then the browser will not be able to re-size the text.But I think if you set the font-size with (em) browser text re-sizing will still work.em just increases/decreases based on default size.
  21. aspnetguy

    Datagrid

    take a look at this articlehttp://www.codeproject.com/aspnet/gridcolumnformatting.asp
  22. if you place img{border:0px} in your style sheet you won't have to put border="0" on each image.
  23. Yeah..I had a friend who tried this ad I viewed his source and his if stament said if password == "...". Too easy!Besides if they know the path of the 'protected' page they can just ype it into the browser since the 'protection' is just client side and on another page.
  24. This is a decent referencehttp://www.programmershelp.co.uk/javascriptref.php
  25. try this <html><head><script type="text/javascript"> function setState(elemId, targetId) { if (document.getElementById(elemId).checked == true) { document.getElementById(targetId).disabled = true; } else { document.getElementById(targetId).disabled = false; } }</script></head><body><input type="checkbox" id="check1" onclick="setState(this.id,'bla')"><input type="text" id="bla"></body></html>
×
×
  • Create New...