Jump to content

croatiankid

Members
  • Content Count

    332
  • Joined

  • Last visited

Everything posted by croatiankid

  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

    Font

    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.
  16. croatiankid

    Form layout

    If semantics mean something to you, you should use a table.
  17. croatiankid

    Spacing Problem

    I always use this page (the table that's on it) for reference, I suggest it to anyone that wants to learn about rendering modes.
  18. I use Demonoid, ThePirateBay and IsoHunt (in that order), though demonoid is intermittent ATM. Bitcomet is my torrent client.
  19. croatiankid

    Spacing Problem

    The XHTML trans. doctype with no XML declaration activates standards-compliant mode in the most important browsers.
  20. croatiankid

    Spacing Problem

    Change #leftcolumn ul li {margin-top: 4px;} to #leftcolumn ul li {margin-top: 4px;padding:0} And then adjust using only margins. Or set margin:0; and adjust using only padding. It's a browser inconsistency (one uses padding for LI, other uses margins by default. Get rid of the default by putting it at 0).
  21. croatiankid

    Spacing Problem

    This could be part of the solution. Try changing #leftcolumn {float: left;width: 190px;margin-left: -100%;background-color: #FF0000;} to #leftcolumn {display:inline;float: left;width: 190px;margin-left: -100%;background-color: #FF0000;} This fixes IE's double floated margin bug (IE doubles the horizontal margin of a floated element on the same horizontal side; float:left;margin-left:20px; will give a left margin of 40px in IE).
  22. Can't you do all you can do with XHTML+XML with HTML+Programming+Database?
  23. There are fundamental differences in javascript between HTML and XHTML (you must use createelement's namespace aware variant, createelementNS() (which until recently was only followed by Safari, other "xhtml compliant browsers" would actually put createelements in the xhtml namespace), document.write doesn't work...) into and some minor differences in CSS.I really disagree that XHTML isn't better than HTML. It is better. There's just not enough support for it (none in IE) at the moment.
  24. There's also a small article about them here.
×
×
  • Create New...