• Web Development Questions That Don't Need Their Own Thread v2
    3,079 replies, posted
[QUOTE=TheDecryptor;32676536][code]SELECT keuze.keuzenm, COUNT(stem.keuze) AS count FROM keuze, stem WHERE keuze.keuze=stem.keuze GROUP BY stem.keuze ORDER BY count DESC[/code] I haven't done SQL for years though so :v:[/QUOTE] Have my children.! That is the most useful function i've heard of in weeks, I seriously can't believe my teachers did not tell us about that, WHAT.
So is there a way to remove the shitty aliasing in chrome? chrome [IMG]http://1337.jp/_/2011/10/SS-2011-10-08_21.25.15.png[/IMG] firefox [IMG]http://1337.jp/_/2011/10/SS-2011-10-08_21.25.27.png[/IMG] :rolleye: using the html jelly posted hehe -webkit-text-stroke: 0.001px transparent; does nothing text-shadow:0px 0px 1px rgba(0, 0, 0, 0.1); also does nothing so is it stuck like that?
[QUOTE=jaybuz;32686974]Chrome? [img]http://dl.dropbox.com/u/386727/Web-And-Graphics/chrome-text-shadow.png[/img] very nice[/QUOTE] Heh
Adding a margin to a sub-element of a div causes the actual div to move down instead of the element inside it. [img]http://gabrielecirulli.com/p/20111009-213935.png[/img] What the fuck? EDIT: Fixed, it was a matter of adding overflow: visible to the outer div.
Is it better to use absolute positioning for the main page layout, or floats?
I want my page to be fixed at a 1024 width, how can I do this simply?
width:1024px;??? [editline]9th October 2011[/editline] [QUOTE=Known Havok;32703539]Is it better to use absolute positioning for the main page layout, or floats?[/QUOTE]floats
I saw someone posted it before, but what was that url for minecraft logins?
[QUOTE=Jessecar96;32705159]I saw someone posted it before, but what was that url for minecraft logins?[/QUOTE] [QUOTE=Jelly;32633299][QUOTE=adamjon858;32633100]Hey, who made the PHP API to authenticate minecraft accounts? I'd like to know what you did to make it work. I'm making something similar atm.[/QUOTE] I made one a while ago, so I don't know if you're referring to me. [quote] https://login.minecraft.net/?user=$USERNAME&password=$PASSWORD&version=$VERSION [/quote] You can just set $VERSION to 99999999, as if you set a lower value like 2 it'll return "Old Version". If authentication is successful you'll receive [quote] $CURRENT_VERSION:$DOWNLOAD_TICKET:$USERNAME:$SESSION_ID [/quote] otherwise you'll receive [quote] Bad login [/quote][/QUOTE]
[QUOTE=TehWhale;32703657]width:1024px;??? [editline]9th October 2011[/editline] floats[/QUOTE] New to css, just like head body {width:1024px}
No, you'll want a content div
[QUOTE=Jelly;32705227][/QUOTE] i think 1.8.1 is version 12. Just saying.
[QUOTE=TehWhale;32705604]No, you'll want a content div[/QUOTE] Alright, I got it Thanks
[QUOTE=Ass Cat;32705590]New to css, just like head body {width:1024px}[/QUOTE] It's best to wrap everything inside of a div, often with the class "wrapper". Then you'd do [css] .wrapper { width: 1024px; } [/css]
[QUOTE=Known Havok;32705691]It's best to wrap everything inside of a div, often with the class "wrapper". Then you'd do [css] .wrapper { width: 1024px; } [/css][/QUOTE] Often with the id wrapper actually, since you won't be using the wrapper again on the same page.
[img]http://i.imgur.com/nqdgX.png[/img] they call me the web design god
Does anyone know the name of a pack or a place I can find icons for sites such as twitter, facebook etc.
[QUOTE=twenty;32707380]Does anyone know the name of a pack or a place I can find icons for sites such as twitter, facebook etc.[/QUOTE] knock yourself out [url]http://www.google.com.au/search?gcx=c&ix=c1&sourceid=chrome&ie=UTF-8&q=social+media+icon+pack[/url]
[QUOTE=Known Havok;32705691]It's best to wrap everything inside of a div, often with the class "wrapper". Then you'd do [css] .wrapper { width: 1024px; } [/css][/QUOTE] If you don't care about older buggy browsers, you can skip the wrapper tag and use <body> or even <html> instead, they're plain containing elements (older browsers treated them differently though, but modern browsers will handle them like a plain <div>)
[QUOTE=TheDecryptor;32708130]If you don't care about older buggy browsers, you can skip the wrapper tag and use <body> or even <html> instead, they're plain containing elements (older browsers treated them differently though, but modern browsers will handle them like a plain <div>)[/QUOTE] AKA don't do that. Why the fuck would you tell him to make his website incompatible with older browsers? It takes literally two seconds to add a wrapper, and it saves you a whole lot of trouble. As long as people are still using ancient browsers, and making your website compatible is as simple as adding a wrapper, why would you not do it?
Well if you care about older browsers, then obviously you wouldn't use that method.
any good PHP &&|| HTML indenters? I'm using notepad++ , is there built in functionality for that?
Sublime Text
[QUOTE=TehWhale;32713947]Sublime Text[/QUOTE] Doesnt the indentation on Sublime suck fat cocks? or did i not configure it correctly?
[QUOTE=Kwaq;32715197]Doesnt the indentation on Sublime suck fat cocks? or did i not configure it correctly?[/QUOTE] sublime text 2 has glorious indentation
[QUOTE=Kwaq;32715197]Doesnt the indentation on Sublime suck fat cocks? or did i not configure it correctly?[/QUOTE]way to MISCONFIGURE IT
[QUOTE=Sprite;32711682]any good PHP &&|| HTML indenters? I'm using notepad++ , is there built in functionality for that?[/QUOTE] wouldn't it just be PHP || HTML
Not sure if this would go here or in programming so I'll just try here. I want to alter the style sheet of a webpage so that there's not so much whitespace. I've tried creating a STYLE element and setting its' innerHTML to the css style sheet but it doesn't seem to be working. If I loop through all the elements on the page that have that style sheet applied to them and set the elements style, it works. But this isn't ideal because if a page has dynamic elements, then those elements won't get the style applied to them.
[QUOTE=vexx21322;32719677]Not sure if this would go here or in programming so I'll just try here. I want to alter the style sheet of a webpage so that there's not so much whitespace. I've tried creating a STYLE element and setting its' innerHTML to the css style sheet but it doesn't seem to be working. If I loop through all the elements on the page that have that style sheet applied to them and set the elements style, it works. But this isn't ideal because if a page has dynamic elements, then those elements won't get the style applied to them.[/QUOTE] Are you using JavaScript? You could use Stylish if you don't have control of the websites style, but I'm not sure if that's want you want.
[QUOTE=vexx21322;32719677]Not sure if this would go here or in programming so I'll just try here. I want to alter the style sheet of a webpage so that there's not so much whitespace. I've tried creating a STYLE element and setting its' innerHTML to the css style sheet but it doesn't seem to be working. If I loop through all the elements on the page that have that style sheet applied to them and set the elements style, it works. But this isn't ideal because if a page has dynamic elements, then those elements won't get the style applied to them.[/QUOTE] <link href="style.css" rel="stylesheet" type="text/css" > Or am I getting his question wrong?
Sorry, you need to Log In to post a reply to this thread.