Jump to content

croatiankid

Members
  • Posts

    332
  • Joined

  • Last visited

Everything posted by croatiankid

  1. block level elements are centered with margin:0 auto, not text-align: center.
  2. FirefoxRocks, you cannot use CDATA sections when sending xhtml as text/html.
  3. Then you're an imbecile.Sites calculate google PR by the number of sites that google shows that link to you, by doing a google query of link:example.com. How high you appear on a google search is mostly affected by the number of links coming to your site with that specific phrase. For example, I'm sixth with News, politics, business and technology blog lol but noone's gonna search that.
  4. Although this has been resolved, just wanted to ammend my previous post. Since your IMG is floated, it's automatically set to display:block.
  5. You should use XHTML when using an XML technology (language/code, software/program). XHTML is HTML in XML form. XML is a subset of SGML that is completely described in this document. Its goal is to enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML has been designed for ease of implementation and for interoperability with both SGML and HTML.
  6. DIVs automatically change their height to fit the content it contains. Try getting rid of the min-height and adding display:block to the image in the div. IDK if you know this but IMG is inline by default, so it leaves line space below it for letters like j,q,p etc. When you display it as a block-level element, it doesn't leave any extra space.
  7. You should use a SPAN inside one H1 because SPANs are semantically empty, while H1 is not, as said by the w3c. Additional info.
  8. HTML does not allow nested FORMs.
  9. Define "a script". What language. Server side or client side. You can test Python scripts with an IDE. You can test PHP scripts on a server with PHP. You can test javascripts locally.
  10. The scrolls here scroll smoothly no matter which speed "Bookmarklets: Scroll Page (very slow) Scroll Page (slow) Scroll Page (fast) Scroll Page (very fast) Works on Frames? - NoDescription:These "auto-scroll" a webpage for you. That is, they automatically scroll the page upward so you can read without using your hands. Press any key to stop the scroll."
  11. xenon that looks like a real useful mod, could you please post it so everyone can benefit?
  12. I prefer unlimited hosting (unlimited space and bandwidth) from centrica hosting for 9.95 per YEAR from ebay. But that's just me.
  13. croatiankid

    Why HTML?

    yeah i think i'm gonna use content negotiation from now on too
  14. croatiankid

    Opera and IE

    maybe body {background:url('images/background.jpg') #fff;} in your css?
  15. croatiankid

    Why HTML?

    That is not true. Please tell me where you saw that, so someone can correct them.If you do not need to use xhtml as it's supposed to be used (xml, in combination with other xml technologies such as MathML), why do you use it over HTML? They are exactly the same, except xhtml is xml. And if you don't serve it as xml then it's not that either! Let's take a look at any static page on the internet. Using xhtml, you'd bloat the code with (in html) unnecessary tags such as HTML, BODY, HEAD. You'd have to close every tag, which doesn't have to be done in html further increasing file and code size. If your serving it as text/html, it could be harmful.
  16. You're supposed to center block level elements, like DIV, with margin:0 auto;, not text-align. also, to be able to do it, you must have a width specified. Now I'm not sure if width:100% will work. this is for horizonally
  17. yeah I remember that article. Now for your idea:using tables for layout bloats code and increases download times unnecessarily, and is not semantic, and downgrades horribly (have you tried viewing the site you're making with CSS disabled?). Now you want to make a giant one. The html alone could be up to a megabyte, not to mention the images. Completely unnecessary and wrong use of HTML.
  18. Yeah I usually use 8 bit pngs over gif, but sometimes gif is still smaller.
  19. You could use an IFRAME yes, but I wouldn't suggest it. I have seen some REALLY wierd problems it can cause in Firefox lol. Yes thank god js can't be forced, that's as good as giving someone the password and location of your computer and all its files.
  20. sigh. But I think (certain) auto-closed empty tags work in IE, like <div />.
  21. it's javascript. mind you many people have js disabled so this isn't really preferable. By the way you can use SSI (server side includes)- they don't require php or asp or python or whatever. this explains it awesomely
  22. yeah you might want to use DIV instead.QUOTE(croatiankid @ Feb 28 2007, 07:12 AM) *<script type="text/javascript" src="urltoscript.js"></script> for html<script type="text/javascript" src="urltoscript.js" /> works in xhtml.Wase that supposed to be on my post?yeah lol
×
×
  • Create New...