thedarkman <> wrote in news:d749f643-33f7-4d84-bb68-
:
> On my main site
>
> http://www.infotextmanuscripts.org/
>
> these links don't jump to wear I want them to go; the first should
> jump to note 10; the second should jump to the photo of Muhammad Ali.
>
> They work all right without the target_blank. C
>
> <a href="id_harbinger_notes.html#n10" target="_blank">
>
> <a href="image-gallery.html#tahagreat" target="_blank">
The URL you gave above doesn't contain either of those links; the only hyperlinks it contains are
these:
<A HREF="ITMA.html">Click Here For HomePage</A>
<A HREF="ITMA.html#HomePageIndex">Click Here For Site Index</A>
If you would provide the correct URL, someone might be able to help you.
>
> regarding doc type and css; I have actually looked at this; I
> certainly don't want to use one css file to control my entire site, so
> I suppose I could put one in the header of each file, but I don't see
> the point.
CSS makes it easier to maintain a consistent look and feel to your site, and dramatically reduces
the amount of HTML you need to write in each page to format it the way you want it. It also
dramatically reduces the likelihood of coding errors that foul up the format, such as those which
have so bedeviled you on your limericks page.
The choices are not between "one CSS file to control [the] entire site" and "one in the header of
each file". Rather, the more common practice is to use one master CSS file as a formatting template
for the entire site -- which is referenced by URL in each individual page, rather than being
incorporated in toto -- and making small tweaks to that in the <head> sections of the individual
documents if and as needed.
> I rarely use more than 3 colours, and what would it enable me to
> remove?
It would enable you to remove nearly all of the formatting tags that so litter your pages. This in turn
means that your pages would load faster, but the biggest advantages are:
a) it ensures consistency
b) it reduces the error rate
c) it enables changing the appearance of the entire site by altering the style sheet, in one place in
one file, instead of changing formatting tags in multiple places in multiple files.
Here's one specific example of what it would enable you to remove. Putting only these entries in a
style sheet
body {
color: #000000;
}
h2 {
text-align:center;
color: #FF0000;
}
would enable you to change ALL of your second-level headings throughout a document from this
</FONT>
<FONT COLOR="#FF0000">
<center><h2>Heading Text</h2></center></FONT>
<FONT COLOR="#000000">
to this:
<h2>Heading Text</h2>
If you later decide you want those headings to be blue instead of red, or the body text fuchsia
instead of black, all you need do is to change the color: attribute[s] in the style sheet. One change in
one place is instantly propagated across the entirety of every document that uses that style sheet.
> I also don't see the point of inserting DOC type in a file.
To ensure consistent rendering of your pages from one browser to the next. With no DOCTYPE, the
browser will render your page in quirks mode, which may or may not give the appearance you wish.
There's a reasonably good overview here:
http://webdesign.about.com/od/dtds/a/aa071007.htm
Having a proper DOCTYPE definition in your web documents also means that it will be easier for
you to find your coding errors when you validate your pages, because the error messages resulting
from invalid HTML will not be mixed in with error messages resulting from a missing DOCTYPE.
Please note the phrase "*proper* DOCTYPE".
>After all,
> the version of HTML you use is determined solely by the code you
> write. I have no doubt they'll bring out further versions.
Google "quirks mode".