• Questions That Don't Need Their Own Thread v3
    4,068 replies, posted
  • I know this may be in another thread but where can I start learning PHP online, and what are the best references/resources? Also I hate video tutorials.
  • [QUOTE=usa;36269451]I know this may be in another thread but where can I start learning PHP online, and what are the best references/resources? Also I hate video tutorials.[/QUOTE] I personally learned what little I know and needed from here mostly; [url]http://www.tizag.com/phpT/[/url] Seems quite reliable, and was pretty straightforward.
  • Working on a font generator thing, just to clarify - when using imagettfbox, an angle of 0 is just the default angle of the text right?
  • [QUOTE=zopa34;36247899]I have a homework to make simple HTML site, but I got interested into it and I went futher by self-learning.I'm trying to get active navigation tab to have other than other links and on mouse hover to change color, but it doesn't work for me.(I'm using html and css only right now) Here's how i'm trying to do it. [CODE] <div id="menu"> <ul> <li><a href="index.html">Index</a></li> <li><a href="Sistemas_bloks.html">Sist&#275;mas bloks</a></li> <li><a href="monitors.html" class="activelink">Monitors</a></li> <li><a href="skalruni.html"> Ska&#316;ru&#326;i </a></li> <li><a href="pele.html"> Pele </a></li> <li><a href="taustatura.html"> Taustat&#363;ra </a></li> <li class="spec"><a href="Printeris.html"> Printeris </a></li> </ul> </div>[/CODE] ^ Place where I want to change color [CODE]#menu .activelink a{ color:#FFDA85; } #menu.activelink a:hover{ color:#FF7700; }[/CODE] Any ideas? Edit:Nvm, I will use this one [url]http://hicksdesign.co.uk/journal/highlighting-current-page-with-css[/url][/QUOTE] You're using the wrong CSS selectors. What you are telling it to do is style any a elements within an element with the class of activelink. [CODE]#menu a.activelink{ color:#FFDA85; } #menu a.activelink:hover{ color:#FF7700; }[/CODE] Do that instead
  • [QUOTE=Darkwater124;36275284]<nav> <section> <article> <header> <footer> etc. Recommended or overrated?[/QUOTE] Considering they are HTML 5, you should be using them where appropriate if you are working in HTML5. It gives the layout some meaning (semantics), compared to <div id="fuck"/class="shit">, which has no real meaning.
  • Hey I'm looking for industry standard hosting, i'm not sure if that's even a thing but is there any specific company which does it? I have a VPS (hexxeh) but i'm unsure about my webserver setup being sufficient for a *real* purposes.
  • Is there no way to have an element stretch to the full height of its parent if the parent has "min-height: 100%;"?
  • [QUOTE=Dragory;36299815]Is there no way to have an element stretch to the full height of its parent if the parent has "min-height: 100%;"?[/QUOTE] isn't that just height: 100%? :tinfoil:
  • [QUOTE=Miljaker;36299835]isn't that just height: 100%? :tinfoil:[/QUOTE] That's what I tried, but it just seemed to stretch to the content, not to the parent (which would be at least the height of the viewport). If anyone is wondering, I'm trying to have multiple backgrounds that can be higher than the content and should not clip at the content height (and one of the backgrounds also needs to stretch with the content, but has to be under a background that does not - not really a problem, as the one that doesn't stretch can just have no-repeat on its background and the element itself can still stretch).
  • A friend of mine wants to buy a site which uses unlimited bandwidth (Fair-use policy) He wants to host pretty big files on the site, which one of those is a Unity web player which tends to suck up some MB/s every day Is it smarter for him to upload the files and perhaps get a paid account on a upload site to upload the files there or can he easily host them on he's own site? I'm quite confused about the fair-use policy..
  • [QUOTE=darth-veger;36330735]A friend of mine wants to buy a site which uses unlimited bandwidth (Fair-use policy) He wants to host pretty big files on the site, which one of those is a Unity web player which tends to suck up some MB/s every day Is it smarter for him to upload the files and perhaps get a paid account on a upload site to upload the files there or can he easily host them on he's own site? I'm quite confused about the fair-use policy..[/QUOTE] Fair use usually implies don't use up huge amounts of bandwith like 20gb a day or something.
  • It'll probably say in the ToS that you can't use their web hosting as a file hosting service.
  • Any good Wordpress themes? The best I can find is [URL="http://www.themezilla.com/themes/launch/"]Launch.[/URL]
  • I'm about to get back into HTML and since I can't really afford Dreamweaver right now (or care to purchase it given my current skill level) I was wondering what a good alternative would be. I was thinking of using Visual Web Developer 2010 Express. I've been using Kompozer and was going to switch to BlueGriffon, which succeeds Nvu of which Kompozer was a fork of, but they don't seem to be well "established." I just want to use something that is closer to "industry standard" but is also not Dreamweaver.
  • Hi, I'm currently working on the portfolio of a friend of mine, [IMG]http://i.imgur.com/91eCb.png[/IMG] (don't worry, portrait is a placeholder :v:) However, I'm not quite sure how to handle the Projects section, [IMG]http://i.imgur.com/fIK2Z.png[/IMG] Do any of you talented web dev people have suggestions on how I could give a description of every project, and some extra screenshots.
  • Underneath the big screenshot have 3 small screenshots that open up using a lightbox when clicked. Heading and description could be above the big screenshot.
  • [QUOTE=n0cturni;36391252]I'm about to get back into HTML and since I can't really afford Dreamweaver right now (or care to purchase it given my current skill level) I was wondering what a good alternative would be. I was thinking of using Visual Web Developer 2010 Express. I've been using Kompozer and was going to switch to BlueGriffon, which succeeds Nvu of which Kompozer was a fork of, but they don't seem to be well "established." I just want to use something that is closer to "industry standard" but is also not Dreamweaver.[/QUOTE] What's wrong with you people, you don't need expensive programs, that in this case are shit, you just need something like notepad and a few settings like syntax highlighting, in the end notepad++, sublime text 2 and a few others win to the stupid expensive programs.
  • I have recently discovered the benefits to base64 encoding images for simple things like icons. Would it be bad practice to have a single PHP file to handle all icon images and then just load whichever one I want with a queryString? like <img src="imageHog.php&image=icon" alt="imageHog.php&alt=icon" />
  • [QUOTE=lkymky;36396951]I have recently discovered the benefits to base64 encoding images for simple things like icons. Would it be bad practice to have a single PHP file to handle all icon images and then just load whichever one I want with a queryString? like <img src="imageHog.php&image=icon" alt="imageHog.php&alt=icon" />[/QUOTE] Why not just serve them as static content...?
  • [QUOTE=Jelly;36397081]Why not just serve them as static content...?[/QUOTE] I guess I'm just looking for excuses to practice PHP, Everytime I learn a new ability I try to find creative ways to use it. I am actually looking to add icons to my current site next to the words [URL]http://almost-there.org[/URL] I used iconFonts and those were fun but I didn't like having to add <span style="font-family:Icon">A</span>Forums</li> to every single word, I also loaded images individually but thought about all the requests made to the /images/ folder Then I played with base64 and saw how they are all loaded once with a single request and really liked that. More load on the client, less on the server...
  • I want the border-radius to be the same at all side, but since I have a top border it changes(no idea how that is calculated). Anything I can do to change this? [img]https://public.bay.livefilestore.com/y1pFZ7MfppVgWrubVOqzCERQCRebz6oXKXHfDghVF3SX8B0PjDD4MoePAKR2COeGvJ0kctk2Lc0oGpYiAbpWsi_IQ/button.png?psid=1[/img] [editline]..[/editline] is it public now? if not: [url]http://sdrv.ms/MbYuFU[/url]
  • [QUOTE=xmariusx;36441349]I want the border-radius to be the same at all side, but since I have a top border it changes(no idea how that is calculated). Anything I can do to change this? [img]https://5fhbxw.bay.livefilestore.com/y1pL1X9rcI75esXD7kveo8Do0V4Rx8s13w3rG-PvM_jRdVMYm3h_L3tgbo-VzMIRKdgXfK2vp7yUSbkExtX-kkpUPixHd5phcU5/button.png?psid=1[/img][/QUOTE] The image 403's.
  • [QUOTE=xmariusx;36441349]I want the border-radius to be the same at all side, but since I have a top border it changes(no idea how that is calculated). Anything I can do to change this? [img]https://public.bay.livefilestore.com/y1pFZ7MfppVgWrubVOqzCERQCRebz6oXKXHfDghVF3SX8B0PjDD4MoePAKR2COeGvJ0kctk2Lc0oGpYiAbpWsi_IQ/button.png?psid=1[/img] [editline]..[/editline] is it public now? if not: [url]http://sdrv.ms/MbYuFU[/url][/QUOTE] The border radius seems the same on all sides. Do you mean you want the corners of the darker area to be of the same radius at each corner? Because currently the border radius is applied to the top border itself, not the darker area, which makes it seem like it's not the same at the top.