Alan Lord wrote: > John Miller wrote: > >> I noticed an extra forward slash in a few tags, could IE be having >> problems with them? >> >> "<div id="header"><a id="logo" >> href="http://wiki.linuxfromscratch.org/lfs/"><img >> src="/lfs/chrome/site/lfs-logo.png" width="192" height="75" alt="Linux >> From Scratch" /></a><hr /></div>" >> >> at end of the alt field, and in the hr tag >> >> and several slashes at the end of the input fields following the logo >> line. > > > Isn't that just Xhtml? I thought that this is the correct way to write > tags which do not have a separate closing tag (<a...>stuf</a>). Like the > <br /> tag for example. > > I wouldn't have thought the IE would barf at this although stranger > things have been known with M$oft...
Yes, the self closing tag is part of the xhtml standard where *all* tags must be closed. You can use <hr></hr> or <hr/>. The standard mentions that you might want to put a closing space before the closing / as in <hr /> for *broken* browsers. Actually the broken broswers they refer to are quite old. None AFAIK are from this century. The problem with IE is generally not {x,}html. It is css. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page