Johann
-
seamless texture size?
that's totally besides the point of how graphics and rendering work. I'm sure there's *plenty* of people think a small image file is small in memory... and I just chose huge values to make a point, 5000 x 5000 is noticeable as well. …
-
seamless texture size?
dimensions do matter though. make a two colored .png that is 100000 x 100000 big... even if it's just 10kb or something, older computers will shit bricks. that is because images always end up decompressed in memory. though I doubt it actually …
-
Small php problem.
replaceif ($_GET['page'] == 'frontpage' || 'partners') {withif ($_GET['page'] == 'frontpage' || $_GET['page'] == 'partners') { you know, 'partners' by itself always eva…
-
PHP website Layout
please try to understand what the code actually does :) it is reading the file, and assigning the content to a variable ($page) -- but unless you echo that variable, of course nothing will show up! I just like to put stuff in a variable first, beca…
-
PHP website Layout
one thing that's really important, set the right headers! and generally learn about the awesome extra stuff you can do with them, starting with the basics of setting a content-length that matches the length of the string you're going to ou…
-
PHP website Layout
never trust user input. something like include($_GET["page"].".php");is evil itself. now, if you don't want to "echo the whole page", don't use include(), just use file_get_contents(), and *echo that. that a…
-
Packing different aspect-ratio images into uniform row height
yeah. let's say you have a desired row height like 150px.. - take first/next image, check how wide it would be when 150px high. add that to the row width. - if that makes the row wider than the container width and the picture is the first (an…
-
Packing different aspect-ratio images into uniform row height
well they are using super-technical ways to do this for sure -- whenever you resize the page, it serves completely different thumbnails of exactly the needed size. you can do it without going to such extremes, but you can't do it without javasc…
-
Website Design Advice
maybe make those boxes just show their headers, and when hovered over, slightly change color and expand to reveal the full text? I'd also simply make the whole box a link, but I guess others or you might disagree :P I just don't like "…
-
PHP - Remove anything after the last /
also note: http://php.net/manual/en/function.basename.php http://php.net/manual/en/function.parse-url.php
-
PHP - Remove anything after the last /
$string = '/tralala/bleh'; $plorp = substr(strrchr($string,'/'), 1); $string = substr($string, 0, - strlen($plorp));
-
Packing different aspect-ratio images into uniform row height
simple, but hey: http://jsfiddle.net/V3Dks/
-
css coding
"What happens if you want to change the font-style of an element?" I do a mixture of that. I don't have ".light-grey", but I do have ".pown" for example (== only visible to owner, colors stuff red). attempting to …
-
Make a Dynamic Sidebar
in http://baghbagho.com/wp-content/themes/Basic/style-Red.css .commentlist .commentlist li .commentlist li div all have fixed widths! replace those with max-width. maybe there's more... so you should get chrome or opera, and become friends w…
-
Make a Dynamic Sidebar
.commentlist has a a fixed width; maybe keep the value, but change it from width to max-width and see if that helps any?
-
Making up tags - WHY is it wrong?
@jamy_za "So stop complaining about the HTML standard and use it to work for you." Heh. I'm not complaining, I'm just responding to strawmen, and why not. If you make assumptions about me, why wouldn't I feel entitled to…
-
Making up tags - WHY is it wrong?
@ChristopherBurton "I feel you, man. I know what it's like when you're wrong but you wanna be right." Heh, the irony. Weak ad-hominems don't make arguments, and so far that's the arguments I get. And flat out incorrec…
-
Making up tags - WHY is it wrong?
"Perhaps my sarcasm wasn't obvious enough :P" I catched that alright. Go figure :P
-
Making up tags - WHY is it wrong?
In practice, they are used to list a lot of stuff with everything still being aligned, properly. Which of course only makes sense for tabular data... which 99% of the data on the web is though, it's just that usually we have no use to display t…
-
How to make Dynamic CSS??
the style.css.php page needs to have the content-type header - not your index.php! It's the stylesheet that needs to be served as text/css.
-
Making up tags - WHY is it wrong?
Well, I'm not the one arguing for something to be used, am I ;) Or the one making up stuff about semantic meanings of tags they don't have... haha. Also, take a look at the wikipedia main page. Turn off stylesheets. Tada, still looks neat…
-
Making up tags - WHY is it wrong?
And that is? I'm curious, unless that was something where people mumbled stuff under their breath of course :P edit: "the table guy" is probably someone who never uses tables, but asked a question about them, lol?
-
Making up tags - WHY is it wrong?
@fishnfrogs "On top of making tags that didn't exist, I also added attributes" well, there's data-xyz for that now. which is not even *supposed* to make sense to anything beyond the site they are used on. @thomas "The ma…
-
Aligning text question
I couldn't get line-height to do anything.. this will look bad with multipline lines of text, but hey: http://jsfiddle.net/XBCux/
-
Is This Example a CSS Tab Menu?
but that's the exact same menu of the OP, just "dynamic"? huh. but of course you can make it dynamic without javascript: http://www.alistapart.com/articles/dropdowns and more importantly http://www.alistapart.com/articles/hybrid/
-
Making up tags - WHY is it wrong?
@joshuanhibbert Well, to be honest, I'm not really doing it (yet)... I seriously found no good reason for it yet, and no reason to look real hard for one, either. But I'll keep it in mind, and should I ever have to generate so many div…