LocutusEstBorg
Active Member
Also use Ajax for coolness.
Use AJAX only when necessary, I feel. I like to have some shiny stuff on the top, but have it fall back to something that's still completely functional if JavaScript fails.
I'm extremely picky when it comes to standards but you can't blame a huge web app like vB for failing standards with all the plugins we've thrown in, that just shows a little ignorance on your part.
@OP: You should learn XHTML 1.0 Strict I'd say, people say it's harder to code in but I write standards compliant HTML naturally so I can't tell.
Always, always, always use classes and IDs with CSS, never inline style things using attributes (width="500", etc). You'll thank yourself in the long run.
I never can understand why some people don't use CSS.
Oh and don't you dare use tables for layout, don't even think about it.
For JS I'd just say get a framework like jQuery. For about a year I've tried dealing with browser differences by write straight JS (out of arrogance really) but it's just not worth it. jQuery levels the playing field and makes it a lot easier to use JS on all browsers.
PHP is easy, really easy. Just look at one or two examples then go straight to the php.net manual, at a beginner level PHP is ridiculously straight forward.
There's nothing wrong with pirating any Adobe program, anyone who is going to download it wasn't really a potential customer anyway. That's why it's so easy to crack, Adobe don't make their money off people like us.
Basically my advice is don't listen to anything Sullivan says and do listen to TacticalPenguin, x3sphere and Archaemic.
a rule of thumb is to develop for a POS system. Personally I try to keep my sites in 800x600. But recently I have been making dynamically sized sites, which are optimal .
AJAX ftw.
Also just a little nugget of info that I always see people ask, to center a DIV (and many other block elements) set the margin to "0 auto" in your CSS.
margin-top: 0;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;
Ah thanks. Can you lot check out INK inc. and tell me what you think of it. I've just been using a free webhost to get the hang of stuff. If anyone could give some feedback, it would be greatly appreciated!
Never, EVER embed music on a website. At best, it surprises people. At worst, it pisses people off (which in turn may reduce traffic, something generally undesirable).
Sorry, that's some bad CSS. Margin can either take numbers or auto, not both. You have to do this to set auto for some and not all:
Code:margin-top: 0; margin-bottom: 0; margin-left: auto; margin-right: auto;
A little verbose, but it gets the job done.
I understand that. What i dont get is how templates like that are applied to a site. If i made a similar looking layout on photoshop, how would I go about changing it into html?Generally the graphics are done in photoshop keeping in mind that they will eventually need to be ported out to code, best way to do that is to think what sections of the image repeats, as those areas can be done easilly with repeating backgrounds in css, any part of an image where you can reuse existing graphic helps to reduce overall size, generally you can get away with simply overlaying text via html over a background bar rather than applying graphical text to the bar, which means the background bar can repeat and save a lot of space.
Regardless though you need to be at least decent with html/css before you start undertaking tasks such as porting a graphic creation to an actual coded site otherwise corners will be cut and the overall size of the site will be high, causing high loadtimes and bringing the server to it's knees far sooner than it normally would (assuming the site gets decent to high traffic).
tl;dr, learn html/css before bothering.