Jump to content

Zane

Administrators
  • Posts

    4,362
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Zane

  1. create a content div, with a width that you can divide equally into three parts (mathematically) using the widths of your data divs. Then for those data divs.. in CSS, give them the float left attribute
  2. use the multiline modifier in your regex pattern $pattern = "/XXX/m" the m is the modifier, it goes after the delimiters (the slashes)
  3. you shouldn't have to make an entirely new list of attributes for the spacebar like you're doing. The only difference between the spacebar and the rest of the anchor links is its width. I assume you want the spacebar to be 100% of the keyboard... with the padding and such too? something like this should work just fine #keyboard a { float:left; display:block; height:50px; width:51px; z-index:2; margin-left:4px; margin-top:4px; text-align:center; line-height:50px; border:solid black 1px; font-weight: bolder; color: #FFF; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: large; background-color:#999; /* for IE */ filter:alpha(opacity=90); /* CSS3 standard */ opacity:0.9; } #keyboard a#spacebar { width: 100%; } and if 100% width doesn't work, do the math and figure out the exact pixels.
  4. put the spacebar CSS at the end
  5. Why make the space bar a div? Why not just continue with your A markup? In other words, make the space bar the same as any other key ? Up Space
  6. Can you post a screenshot (showing the problems) so we don't have to render this code ourselves
  7. use this.href instead of self.href
  8. Try this $yObj = "\n \n \n \n \n \n"; $yLink = preg_replace("#http://www.youtube.com/watch?v=([a-zA-Z0-9]+)&#", $yObj);
  9. ../business/sales
  10. Cookies, because they stay on the client's computer; while Sessions stay on the server. They're both pretty much the same thing. Also, It's pretty common to store a Session key into a cookie, which is probably what you're wanting to accomplish.... well, at least I think it's common; it might not be. But, it seems pretty logical.
  11. Actually, you might want to use cookies if you're worried about the internet connection going away. Because usually, if the internet connection is gone for a user, you might as well assume they closed their browser too.
  12. That's why you pick a good title to start with..
  13. The suggestion you're suggesting assumes that someone is going to re-write the SMF code. This forum is made by Simple Machines Why not take it up with them... make a mod request or something. Otherwise, say someone does make this modification; once SMF comes out with its next release, the mod will no longer work. At which point this place and its staff would have to keep up with another mod. Honestly though, I don't like the idea of a topic for every post. It seems like it would be confusing and it really doesn't make any sense when you can just have one topic for all of them.
  14. I don't know what PMs you're talking about, but when a thread is moved it is for your best interest; not because of some nonexistent vendetta the person has against you. Like premiso insinuated, Grow up! There has been nothing done to you that hasn't been done to probably 80-90% of the forums active members
  15. this is what's known as a regex situation.. whereas you'd use the regex equivalent to str_replace; which is preg_replace $abstract = preg_replace('b|i>', 'strong>',$abstract); //
  16. what's wrong with str_replace
  17. Perhaps you have error_reporting set to the lowest.. or display errors is off is why My best guess.. a shot in the dark is that you're missing a semicolon on the statement above this one that you're showing us.
  18. try commenting out that first parentheses
  19. what's it not doing, I don't see any errors
  20. Agreeing with everyone else's comments on the "funnies" posted about your site, I'm still very impressed with your site. My only nitpick/hatred about it is your About Me page. Automatically playing music upon pageload is so 1990's and soooo annoying. I literally closed the tab immediately, turned down my volume and went back to find the stop button. You're lucky I even went back to the page at all...
  21. google "ajaxupload"
  22. win ...and with their eyes closed.
  23. All of the thumbnails need to be exactly the same height in order for them to line up the way you want. If that's not an option for you than you need to make the div the same height.
  24. You need a crossover cable... I don't know what all this talk of a straight cable is. A crossover cable is a regular ethernet cable in which one of the end has the wires reversed. Well, not exactly reversed, but put into the "other" order. There are two orders. T586A T586B
×
×
  • 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.