Jump to content

Cronthenoob

Members
  • Posts

    312
  • Joined

  • Last visited

Everything posted by Cronthenoob

  1. Nice Dan. Never thought of that before!Keep that in mind.
  2. that happens to me quite a bit also.The only thing that i found that fixes it is to:1.)Put every image in the same row of code2.)Put each row in its own table cell and set the padding and cellspacing to 0 <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><img src="image.gif" /></td> <td><img src="image.gif" /></td> </tr></table> instead of putting that break, start a new <tr> tag.Try that.
  3. Cronthenoob

    gradient

    I was asking the same question a few days ago. And yes there is a way with CSS and javascript.But its 100 times easier and more compatible to just make an image and repeat it
  4. 1.)You don't need to post the same topic twice :)2.)I don't really understand what you are saying. You just want music to play when someone clicks a link?
  5. Well im getting closer, but its still not there.The green div does what its supposed to.The gradient div moves slightly, but not much. And it keeps the green div in the exact center of it when it moves.Can't get innerdiv to be exactly centered though. .outerdiv { width:100%; height:100%; border:5px solid black; padding:3px;}.innerdiv { background-image: url('../images/gradient_bg.gif'); width:800px; height:100%; border:3px solid black; padding:3px; position:relative; left:10%; right:10%;}.container { background-color:green; height:100%; width:600px; border:1px solid black; position:absolute; left:100px;}
  6. I removed the absolute positioning, now everything is sitting on the left side of the screen.it looks like this[[[ ]] ]I would like to have it like this[ [[ ]] ]and when the browser is resized, the area in the middle stays centered in the window while the outer div gets larger or smaller.makes sense?CSS: .outerdiv { width:100%; height:100%; border:5px solid black; padding:3px;}.innerdiv { background-image: url('../images/gradient_bg.gif'); width:800px; height:100%; border:3px solid black; padding:3px;}.container { background-color:green; height:100%; width:600px; border:1px solid black;} HTML: <html> <head> <title>TITLE</title> <link rel="stylesheet" type="text/css" href="css/mainstyle.css" /> </head> <body> <div class="outerdiv"> <div class="innerdiv"> <div class="container"> </div> </div> </div> </body></html>
  7. well i don't have float anywhere, i just meant that I want it to "float" in the center. heres my CSS .outerdiv { width:100%; height:100%; border:5px solid black; padding:3px;}.innerdiv { background-image: url('../images/gradient_bg.gif'); width:800px; height:100%; border:3px solid black; padding:3px;}.container { background-color:green; height:100%; width:600px; border:1px solid black; position:absolute; left:120px;} I've been playing with absolute positioning and I can get the green div where i want it, but the div with the gradient background, i want to "float" in the center of the outerdiv.I'm trying to avoid using <center>
  8. How do i get a div to float in the center of another div?I've searched for it on the forums, but couldnt really find an answer.Right now i've got ThisBut I want it to act like THISI've tried a bunch of stuff. But i'm dumb apparently
  9. Thanks guys!I'm going to have to do some research about preventing SQL injections.
  10. How would I go about making sure that when people sign up for my website, that the username isnt already taken?would it be something like this? Or is there a better way? $query="select username from users where username='$_REQUEST[requested_username]'";$result=mysql_query($query); $e=mysql_fetch_array($result); if ($e) { echo "Sorry that username is taken";} else { // Insert the username in the database}
  11. he forgot a "w" in the beginning of the link.A lot of the images don't work, and in IE the cells are sort of set up weird and all over the place . . .I don't know what it looks like in FF or opera.
  12. I don't think he wants to get back at his brother.I think the problem is his brother changed his password and he doesnt know what it is, and wants access to his computer again.I could be wrong. It has happened before.
  13. I'm 21!Birthday was in April.
  14. Cronthenoob

    Background Image

    Yep!100% Background image
  15. I just got one today :)It could be if you subscribed to the topic before they completely fixed everything. I'm not really sure.Oh well.
  16. Oops, sorry. Should have known better.
  17. Whenever you ask to get replies to a post emailed to you, the title of the email is H@cked by C@D.Be cool if you could fix it
  18. Is listening to christmas music. Very loudly...and whisteling.
  19. I was wondering why it kept telling me that my myspace account was deleted.Flame all you want, I use myspace!
  20. What sort of pop-up window?One like an add that loads when the page does?A pop-up that shows when a user clicks on a link?An alert box?
  21. Hrmm, hows that work exactly? Is there a w3schools tutorial on it?
  22. You could use PHP and include the navigation in an external page, and when you click on a link it goes to a specific If statement with the stuff you have in the iframe in it.But that would require PHP.There is a way to do it with some javascript and CSS also. Dynamic Drive tutorialThat link up there shows you how its done. You basically just copy and paste, and change it to your liking.
×
×
  • Create New...