JJ, on 28 January 2011 - 05:49 PM, said:
CSS is neat, but one thing I'm finding challenging on here is modifying the style for certain elements but not others. It's hard when they share css styles. What I've ended up doing in some situations is adding a style tag to the element - that's poor practice right?
One other thing I've noticed is that this board uses a language database for many of the text labels on here. On numerous occasions I've removed the language DB call and replaced it with text when modifying the template. That isn't necessarily poor practice as it's actually cutting down on DB queries, right?
Back on topic, I hear that Google wants to ditch H.264 video for their open-source one or something. Other than that I know very little about HTML5. What nifty features await us?
Depends how you add the style tag. If you're embeding it in the html, then, yes, this is 'frowned' upon.
If, on the other hand, you are embedding as part of a class that points to a new style in the style sheet, then this is acceptable.
Yes, although it depends on the whether its done via PHP, which strips out all the "unnecessary/unrequested" information, so probably makes little difference. By placing text inline you add to the code bloat, and add to the get request. That's my understanding of it at least.
I'm gonna take a look under the hood of the version I've just downloaded, and will soon know if I'm just rabbiting out my airse
HTML5 will simply the process of adding video, audio, simplifying code, and in a sense reverting to a more streamlined code, but one that offers more functionality through new tags etc.
Video will become a mix of OGG, MP4 and whatever the hell Groogle goes with...
Really, the big advantage is reusable and semantically correct 'divs' for sectioning pages, which to some sounds like the old tables-based layout but is in fact a more robust method of using divs...
Blah, blah, blah...
THe idea is to make the language more open and easier to implement
Register so you can post replies with ease and remove this message.
Already registered? Please
login now to make this message go away.