Jump to content

Jonas

Members
  • Posts

    2,402
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jonas

  1. First of all, this is the W3Schools, not the W3C (World Wide Web Consortium), so suggestions like that have no meaning here on these forums.Second, the newest version of html is xhtml, a reformulation of html 4.01 in xml, stricter and cleaner. The point of css is to move away from html formatting attributes and organize everything relating to style and formatting to a separate document that will affect all related html documents. You can control border-styles in tables through using css in combination with html.
  2. I just turned 19. How old are you again?
  3. I think C# is better suited for webprogramming, as it was made with asp.net in mind, and is microsoft's answer to Java. C++ is an application language, right?
  4. Well, stuff like images depend on the user's download speed as well, so a programming language or database can't guarantee fast load of pages, it's only you who can do that through careful choice of file size and resolution for your images.
  5. Yeah, this is the w3schools community, you can be a part of it or not. If you can't find your solution here, sure, go look elsewhere for it, but we don't need to set up a permanent connection between this forum and that.
  6. When he says HTML editors, (s)he's probably talking about editors with WYSIWYG view, but it certainly wouldn't harm to make his/her meaning clearer.Or as Justsomeguy put it, take his/her medication.
  7. Nope, no IP match. Although derraddosq's going to get a warning and his post deleted.After more spam, I'm locking this topic, as it seems to attract it (and I'm guessing not coincidentally so).
  8. What kind of behaviour is that?! Be nice to new members. If I see anything like that from you again it's a temporary ban. To the other members, please report newbie-abuse if you see it.
  9. Um, what? :)This forum will suffice, I think.
  10. Or simply it as a double post, and we'll see it immediately when we sign in.
  11. http://w3schools.invisionzone.com/index.ph...ost&p=48189Beat you to it... :)Please continue laughing in that thread.
  12. So you'd want an attribute called horizontal-align? Isn't that moving in the opposite direction from what the W3C is trying to achieve? While diagonal values could be used for css text-direction, you can't assign css value to the align attribute, which either way is deprecated. Shouldn't that be <bdo dir="utd"> to follow the already established pattern in rtl or ltr? You're mixing different technologies in all your suggestions. You can't put a block of CSS code in Javascript tags just like that, it would remove all logic of the respective languages' syntax. Before you think of improvements or changes to the web languages, you ought to be fluent in them in the way they are today, and know how they developed to how they are today. Like you say in your signature, you're only a 10 in HTML, and I'm not really sure about the 9.5 in CSS based on these suggestions, sorry.Plus, like aspnetguy said, this isn't the place to make these suggestions either way. You wanted comments on your suggestions though, so I gave them.
  13. Yeah, VB 6.0 was what we were taught. My teacher is a open-source and linux fan, and pretty much anti-microsoft, but he was still very capable of teaching Visual Basic, because he had background in many programming languages. If it was up to him he would teach something else like PHP or C++, but it wasn't. If you don't want your engine to burn you do.
  14. Psh. VB is hardly crucial for anything. You don't NEED VB for .Net. You can do A LOT with excel without VB, because there are pre-programmed macros/functions that do the things you could otherwise do with VB, and so you don't need to know the back-end code. I took Business Economy in high school, and we used excel in 2 out of 3 lessons a week. I know most of the functions that I'll ever have the need to use, and no thanks to VB, because I didn't learn that until later.Really, VB is just annoying, because if you make a program in it, you have to have all the form files and stuff, there's no compiling code (to the best of my knowledge).
  15. Jonas

    OT: Humans

    He'll probably keep asking until he reads this:http://w3schools.invisionzone.com/index.ph...amp;#entry49101Don't you think, Shirley...
  16. Do you have a link to the updated css file? This one:http://www.allmusicmethods.com/main.cssstill has errors in it. Looks to me like it says Jason though.
  17. When you say "Jason", I presume you accidentily rearranged the letters in my name, right? :)The green line that says valid is only for the HTML validator located at http://validator.w3.org/ for some reason. If no errors are found, your css file is valid. Warnings aren't errors, but you might still want to take care of them for reasons listed below. Yeah, despite being a valid colour according to the w3 CSS 2 spesification, "transparent" for some reason isn't accepted by the validator, so you should assign the colour that is below the element, or inherit (inherits colour from parent element). Nothing to do about that really. The reason you need color with background-color or background-color with color is for people who have stylesheets on their own. If nothing is specified in your stylesheet, user stylesheets take over, and so you may risk getting horrible contrasts if, say, the user always has a blue background (unlikely horror example, I know). So to make absolutely sure your page is displayed the way you want it to be displayed, you should assign "background-color" a color or inherit.And here's an example of valid css from w3.org itself:http://jigsaw.w3.org/css-validator/validat...;usermedium=allLots of warnings, but still valid though.
  18. Jonas

    OT: Humans

    Well, I'm a bit surprised at that. Not that you believe in the Bible 100%, but that you don't believe in evolution at all. I think even if I believed, I'd still be open to for example species having changed and adapted to their respective enviroments since the Creation.
  19. Jonas

    XSLT FAQ

    7. How to do XSLT processing in Cold Fusion?Here is a sample code from Dreamwaver 8's reference. Just replace the file paths with the actual locations of the XML and XSLT on the file system. <cffile action="read" file="C:\test.xsl" variable="xmltrans"><cfset xmldoc = XmlParse("C:\test.xml")><cfoutput>#XmlTransform(xmldoc, xmltrans)#</cfoutput>
  20. Jonas

    XSLT FAQ

    5. I want to display a sequence of elements on the same level (for example "/root_element/first_child_that_repeats_lots_of_times") in a table with a fixed predefined number of columns. How can I do that?There are many ways people describe this, depending on their context. Typically it goes like "I have a list of *, and I want to display the first N items from it on the first row of a table, the second N items on the second row, etc." or something like that. In rarer cases, it goes like "I have a bunch of * elements, and I want to wrap a certain element around them on every N occurances of the * element".Either way, this problem is just trivial. There are many solutions to it. Some using extensions, some not, some easy to adapt, some not that much, and so on. The first post in this forum to present a working solution shows two variations, one of which works everywhere, while the first doesn't work in Transformiix (the XSLT processor which Firefox uses). There's also another solution from aalbetski and even though it's probably a bit more complicated then it needs to, it still deserves to be mentioned.
  21. Jonas

    XSLT FAQ

    3. How to show the results of an XSLT transformation inside HTML pages?There is a cross browser JavaScript assembled by hacknsack from various browser specific codes to do this. It should work in IE6, IE7, FF1.5, FF2 and O9. Unfortunately, the script still has some problems, some of which are mentioned in the referenced topic. The greatest disability yet is that it can only display one transformation per page. Everyone fluent in JavaScript is more then welcome to help make this script easier to use and more efficient. Please, post your findings in that topic.In addition to this simply "copy&paste" function, there is a JavaScript library called Sarissa, which in addition to executing XSLT in a cross browser fashion, with all of its features, also provides a few additional functions, such as one for cross browser XPath.
  22. Jonas

    OT: Humans

    Actually, for me things tend to go in the left ear and out the right. Yeah.
  23. Jonas

    XSLT FAQ

    1. How to create attributes with XSLT?Unfortunately, that's the greatest loss of W3Schools' XSLT tutorial, so this question is not surprising at all. There are two ways you can create attributes in XSLT. Switch them depending on what you need:- Attribute Value Templates (often called AVT in short)It is an XPath expression, written directly into an attribute's value, surrounded by parenthesis. For example <img src="{/foo/bar}"/> Use it for simpler situations. AVT may also be used in the <xsl:attribute>, <xsl:element> and <xsl:processing-instruction> elements' name attribute.- The <xsl:attribute> element. The first non-XSLT parent takes that attribute. The equivalent of the above is <img><xsl:attribute name="src"><xsl:value-of select="/foo/bar"/></xsl:attribute></img> Use this element when you need to create the attribute only on certain conditions, or if you'd like to have the attribute name varying by putting an AVT inside it.
  24. Don't hijack topics for your own questions. Make a topic of your own instead. That way you have a bigger chance to get your questioned answered, and you don't take away the original intent of the topic.
×
×
  • Create New...