Jump to content

cssfreakie

Staff Alumni
  • Posts

    1,674
  • Joined

  • Last visited

Everything posted by cssfreakie

  1. It would be even nice if you supply client side code, You provided a complete php file (php is a serverside language). Inthe html and css fora we need the stuff you see when you right click, view source. Ideally we love to see online examples, it's faster to inspect for us with something like firebug or the chrome opera or ie9 inspecter than reading a million lines of code.
  2. The trick here is overflow: hidden. When you supply a width, but not a height (or vice versa) the wrapper will shrink wrap around the inner elements. You can read more on that trick here. I cleaned up your code a bit, because it was pretty redundant. I also removed those bizar gap divs. We use margin for that in css. If you like I wrote something about it (css boxmodel) Also added some padding because it's nicer if text has some space between itself and the container. check it out <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link type="text/css" rel="stylesheet" href="css/style.css" /> <title>MSUK1</title> <style type="text/css"> /* 3 BOX LAYOUT -------------------------------------------------------------*/ #c-wrapper { width:960px; /* this object is 962 pixels width with the border */ margin: 0 auto 30px; /* changed */ background:#999; border-left:#470027 1px solid; border-right:#470027 1px solid; border-bottom:#470027 1px solid; overflow:hidden; /* changed to hidden */ color:#fff; } #box-one, #box-two, #box-three { width:300px; /* so that's 3x300(+5*2 padding= 10) = 930, that 30px left for margin*/ float:left; background:#333; padding:5px; /* notice the width calculating above */ } #box-two{ margin:0 15px; /* so top and bottom 0, left right 15px */ } </style> </head> <body> <div id="c-wrapper"> <div id="box-one"> <h1>hello</h1> <br /> </div> <div id="box-two"> <h1>hello</h1> <br /> </div> <div id="box-three"> <h1>hello</h1> <br /> </div> </div> </body> </html> Hope it helps, if you have questions let me know.
  3. just, so we are on the same level, you are using repeat on the image, so it's not dependent of the window size. the image is blurred: http://www.chattercrab.com/images/full/wood-bg.jpg As for your prioritizing, I supplied the code, so no need to figure that out part, just add it if you agree with it of-course. sorry, I did not fill in the questionnaire, didn't had time for it. Nor did i had time for testing it out really, I am not a real fan of facebook although it's a great tool.
  4. good to hear you found it out.
  5. I agree with cs.punk that the background looks pretty blurred and distracts a bit. I would also add some padding at the bottom of the articles to give the text some air to breath. this seems to be enough article { margin-top: 1em; min-height: 80px; padding: 0 10px 10px; /* added bottom padding */ } same is for your <h2> heading give the text some air so it pops out more padding: 3px 0;
  6. the solved button is on vacation at the moment. (after the forum got updated it was gone, it was a custom feature which needs to be rebuild)
  7. I don't see anything in that code to adds inline style really. Can't it just be that the .hide() function from Jquery needs display inline, after you .show() it? That is my guess Anyways this seems more a javascript library question than a css one
  8. I see you just pm-ed me, did you even read my post above here, or the sticky at the top of this forum? there is a reason why we made it a sticky. :'(
  9. lol, I meant to say that I rather see code (working). Any way i'll have a look, you don;t seem to be be evil
  10. I totally agree with mjdamato, and the word I used i think it was "fat monkeys" was just as an example. Any ways thanks a lot on then explanation. I think a lot of people will find this useful at least I do. Cheers! Cssfreakie
  11. this article might be helpfull in addition to what i said above: http://www.communitymx.com/content/article.cfm?cid=230ad
  12. I bet it were the monkeys you see in the image above, they have a reputation for doing that.
  13. your path is wrong: your code expect the file to sit in the same folder ("slideshow_shed.swf") as the index.php but infact it's positioned in a different folder ("content/pages/slideshow_shed.swf"). this should be the code: I also recommend to adjust the width to your website. object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="tech" align="middle" height="576" width="768"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="content/pages/slideshow_shed.swf"> <param name="quality" value="high"> <embed src="content/pages/slideshow_shed.swf" quality="high" name="tech" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="576" width="768"> </object> Everytime you refer to a file you need to use the path from that file, so if it's your index.php you use the path from that index.php, Are you using an external javascript file that for instnace includes/ uses an image you refer to that image from the position of the javascript file. The same is for refering from an external stylesheet. So to make it more clear: for instance a filesystem: index.php [images] - my-image.png [css] - custom.css [javascript] - my-javascript.js referring to my-image.png from the different locations. (notice i used [ ] say it's a folder ) from index.php: src="images/my-image.png" from custom.css: url(../images/my-image.png) from my-javascript.js: src="../images/myimage.png" Notice these are all client side files. so don't confuse them with the relative path in php. Sticky this thread for yourself and every time some file or image doesn't show up, read this again and again until you get it cheers! p.s. hmm, i have a deja vu
  14. Yeah that's what i meant, just didn't want to give the impression i Know more than that
  15. that's odd, the phpmyadmin thing that is. maybe try chrome (google), try and post it at mozzila, that your running xp and ff4 and can't open up phpmyadmin.
  16. if your not selling Old German Books, I would certainly change the font-type
  17. hmm i don't know much about javascript, all i know it can dd inline style and do some clientside stuff. And as far as i know no it's not normal to add inline style, but maybe the viewer adds it (really not sure on this one).Just to be sure, you have a page, and you just do view source, not firebug, but just view source right? Maybe try to disable javascript for a second refresh and view source again, that should eliminate any javascript effect.
  18. wicked! thanks for the response!
  19. Just to be sure I understand what you say here: could a table look like this: ID | username | password_hashed | salt ---+------------+--------------------+-------------- 1 |John | HJDUuEBujsu271 | fatmonkeys ---+------------+--------------------+-------------- Where salt is a random string that is being created on registration, for that specific user, and on login the system checks if the value entered + the salt in the database = the same as the hashed value. Btw, wouldn't that require 2 database queries instead of 1? Sorry i am not a big hero in php, but it seems logical to me this way.
  20. Okay problem solved, I tried out pretty much any browser that exists and they all were complaining about certificates. The problem, for some reason my computer suddenly thought it was the year 2008. After i set it back to 2011 everything worked fine, Hope someone else finds this useful, it might have been caused by the windows update last tuesday
×
×
  • 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.