-
Posts
332 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by croatiankid
-
-
There's also a small article about them here.
-
XHTML 1.0 (regardless of doctype) is backwards compatible with HTML 4.01. XHTML 1.1 is not.The point of the xhtml transitional doctype is that it's backwards compatible with html 4.01 -
This is only true for xhtml. Current and future versions of HTML allow a mix of upper and lower case tags see here.Also, you may want to make your html tags all lower-case, which is the proper way for current and future versions of (x)html. -
I've seen pages with over 4000 validation errors.
-
be aware that in order to center a block-level element, you must give it a width (this can be frustrating at times, making you have to have a container element).
-
You can use xhtml 1.0 (any version) or any version of html. http://www.w3.org/TR/xhtml1/#guidelines read that if you want to use with xhtml.
-
-
div questions
in CSS
here's a valid and optimized version of the code above:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><title>untitled</title><style type="text/css">* {margin:0;padding:0}#container {margin:0 auto;width:780px}#left,#right {float:left}#left {width:30%;border:1px solid #f00}#right {width:70%;border:1px solid #00f}</style><div id="container"><div id="left"></div><div id="right"></div></div>
-
your x errr html isn't valid.you can't use text/html MIME type with xhtml 1.1.you have something like <li></a></li>yeah..
-
The faux columns method is most used, and best suited to ease this drawback of css. read here
-
maybe that document.write is not allowed in XHTML??
-
what would be, besides a college degree?Its legitimate, its just not widely accepted as any formal accreditation. -
it's because ie7 doesn't know that it's safe. For example, same thing happens when norton is turned on, but when i turn it off, it works fine.
-
I've got 80 gigs, 256 ram and a p4 2.6ghz and i can play almost anything I want
-
might as well go ram instead of hd
-
it will because it's valid css, just that ie6 (and maybe 7, not sure) ignore it.
-
unfortunately ie has limited css support for thead (among others)
-
you've most likely formed that opinion because of misinformation and a lack of knowledge of how it works.Ouch, ouch, ouch and more ouch.Don't ever use the position element in CSS, it makes all browsers act differently. -
for now you should not put ANYTHING before a doctype (no whitespace, no blank line, no comment, no xml tag, nothing), because doing so will activate internet explorer's quirk mode of rendering, giving you unpredictable layout results across browsers.
-
I agree that they are ugly. I think they should change their background to blue (either light or dark, but one of the blues in the header).
-
microsoft officially dropped support for ie5 last october (http://www.microsoft.com/mac/products/internetexplorer/internetexplorer.aspx?pid=internetexplorer).Actually, they are centered with text-align: center; on the parent element for browsers IE LTE 6 (don't know about IE 7). Opera, Firefox and Safari on the other hand support the correct margin: 0 auto; -
-
you have set it to be 100% of the body and html, but you haven't set their height. First thing you must do is put the height of them to 100%, like this:body,html{height:100%}.then when you put a div or table and set its height to 100%, it will be that high.
-
block level elements are centered with margin:0 auto, not text-align: center.
How do I align div's and table's in xhtml??
in HTML/XHTML
Posted