Jump to content


  • Posts

  • Joined

  • Last visited

About croatiankid

  • Birthday 09/15/1990

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location
    Zagreb, Croatia

croatiankid's Achievements


Member (2/7)



  1. Browsers will go into quirks mode.
  2. .htaccess could also cause a 500 error to show in the browser.
  3. croatiankid

    Form layout

    ie means "that is", you probably wanted to use eg (exempli gratia; for example).
  4. croatiankid

    Form layout

    Same thing if you use DIVs. You can use CSS in either case.The HTML specs mention, among other things, forms as being suitable as content for tables. This is quite incomplete, and actually false (i.e. - id est - that is). Information extracted from a database is definitely NOT the only content that is suitable to go into an HTML table. That would discriminate against all sites that don't use a database (and a programming language). Silly saying you need a database to use tables.Tables here are describing the structure (being meaningful and semantic (I hate using pleonasms, picked it up the habit from HTML forums)) of the page as a table. Meaningless tags such as span and div don't. On the contrary, you are only using them so that you can use CSS to style the page.Also check out this (w3c) example of a form using tables.By the way, your page doesn't validate under the doctype it's using, and you have an error in your CSS.
  5. croatiankid


    Yeah, your choices are basically to use Flash or an image.
  6. You shouldn't really be paid to make a website if you don't know how to, don't you think?
  7. Your first point doesn't have anything to do with semantics (when we're at semantics, DIV and SPAN do NOT have them (they are neutral)), it has to do with the fact that block-level elements cannot be children of inline elements. That's pretty much common sense. Just like you can't surround a form with "italics" tags (I mean you can, but it's not valid and doesn't make any sense, and you will confuse browsers). I could be misinterpreting this, but as I've grasped it, this is untrue. There is nothing wrong with having a construction such as:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><title>example</title><div><p>Some text here, a <span>span here</span> and <span>another one here</span></div><div><p>Here's some more text</div>
  8. DIV is a generic block-level element, SPAN is a generic inline element. You should use them styling and scripting where appropriate (where there is no appropriate semantic element to take its place). For example: if you need to style words that together don't constitute a separate paragraph, quote, I and B are not appropriate either, etc., use a span. If you want to style a block (or something in one) on your page that doesn't constitute a separate table, form, ordered or unordered list, etc., use a div.
  9. Try checking wordpress and see if it fits your needs.
  10. croatiankid

    Form layout

    I'm just saying DIVs don't add meaning to your markup. Tables do.
  11. You can use the hover pseudo class to change background images.
  12. croatiankid

    Form layout

    You're not using it purely for visual layout. You're giving it meaning (semantics) by using a table, which is what I said in my first post. But if semantics aren't important for you, by all means use only DIVs and SPANs in your web pages.
  13. You can use it in valid XHTML transitional as well.
  14. croatiankid

    Form layout

    Please read the HTML specs (or at least the first sentence of that part) before you make incorrect conclusions. Or like this: ----------------------------| name | input |----------------------------| address | input |----------------------------| email | input |---------------------------- E.g. <form><table><tr><td><label> </label><td><input></table></form>
  15. croatiankid

    Form layout

    You're not. You're using it for laying out a form (data), with labels in one column and inputs in another.
  • Create New...