Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > more problems with target blank

Reply
Thread Tools

more problems with target blank

 
 
thedarkman
Guest
Posts: n/a
 
      01-18-2012
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">

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.

I rarely use more than 3 colours, and what would it enable me to
remove?

I also don't see the point of inserting DOC type in a file. 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.

As to my being a right wing loon, if you prefer plausible liberals who
will smile to your face then lie with utter sincerity, here is Clive
Stafford Smith

http://www.youtube.com/watch?v=eU3Ni8dS7oE

and here is the ugly truth brought to you by the man who prefers
substance to style every time:

http://www.youtube.com/watch?v=Fdf9Bhv6lsE
 
Reply With Quote
 
 
 
 
Captain Paralytic
Guest
Posts: n/a
 
      01-18-2012
On Jan 18, 12:34*pm, thedarkman <A_Ba...@ABaron.Demon.Co.UK> wrote:
> On my main site
>
> http://www.infotextmanuscripts.org/
>
> these links don't jump to wear I want them to go;

I don't think you want to wear them, they certainly wouldn't keep you
warm.

 
Reply With Quote
 
 
 
 
Doug Miller
Guest
Posts: n/a
 
      01-18-2012
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".
 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      01-18-2012
2012-01-18 15:16, Doug Miller wrote:

> If you would provide the correct URL, someone might be able to help you.


Please don’t feed the troll. It’s not fun any more. It was somewhat
amusing to see someone repeatedly advertise a 1996-style web site asking
purported “questions” and consistently rejecting all advice and
attacking it. But after the umpteenth round, it got boring.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
 
Reply With Quote
 
thedarkman
Guest
Posts: n/a
 
      01-18-2012
The problem appears to have righted itself now

http://www.infotextmanuscripts.org/i...nger_text.html

I had another problem re displaying but that has sorted too.

Amazing these machines don't obey the laws of physics.

Thanks for the advice but I think the proof of the pudding is in the
eating; the main thing is does the ordinary visitor see what I want
him to see? The answer appears to be yes. This is again substance over
style. Just for the record, what version of HTML am I using?
 
Reply With Quote
 
Tim Streater
Guest
Posts: n/a
 
      01-18-2012
In article
<b76e51ad-459d-456d-a432->,
thedarkman <> wrote:

> The problem appears to have righted itself now
>
> http://www.infotextmanuscripts.org/i...nger_text.html
>
> I had another problem re displaying but that has sorted too.
>
> Amazing these machines don't obey the laws of physics.
>
> Thanks for the advice but I think the proof of the pudding is in the
> eating; the main thing is does the ordinary visitor see what I want
> him to see? The answer appears to be yes. This is again substance over
> style. Just for the record, what version of HTML am I using?


Except that your site looks like ****. I might have been marginally
interested in the content, but I got eyeball ache after the first couple
of sentences, so I gave up.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      01-18-2012
thedarkman wrote:

> The problem appears to have righted itself now


No, it is still an awful set of pages.

> http://www.infotextmanuscripts.org/i...nger_text.html

....
> Thanks for the advice but I think the proof of the pudding is in the
> eating; the main thing is does the ordinary visitor see what I want him
> to see? The answer appears to be yes.


You apparently prefer amateur-looking hard-to-read pages. I can't imagine
anyone actually sticks around for any length of time.

Are there any *design* schools in your neighbourhood?

> This is again substance over
> style. Just for the record, what version of HTML am I using?


Something from around 1982, I'd guess.

--
-bts
-Maybe your site "gets prettier at closing time."
 
Reply With Quote
 
idle
Guest
Posts: n/a
 
      01-18-2012
On Wed, 18 Jan 2012 05:59:19 -0800 (PST), thedarkman wrote in alt.html:

> This is again substance over
> style. Just for the record, what version of HTML am I using?


None. You're in quirks mode.

--
idle
Why do they call it an asteroid when it's outside the hemisphere, but
call it a hemorrhoid when it's in your ass?
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      01-18-2012
thedarkman wrote:
> The problem appears to have righted itself now


Wow! The Devil gone skying! The perpetuity in thedarkman actually
replied *in* the thread!

>
> http://www.infotextmanuscripts.org/i...nger_text.html


Must be magic, eh? Nothing to do with your markup.

>
> I had another problem re displaying but that has sorted too.
>
> Amazing these machines don't obey the laws of physics.
>


Must be voodoo then.

> Thanks for the advice but I think the proof of the pudding is in the
> eating; the main thing is does the ordinary visitor see what I want
> him to see? The answer appears to be yes. This is again substance over
> style.


You are a real comedian...don't quit the day job.

> Just for the record, what version of HTML am I using?


None, we can safely say that it is your own unique version.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
thedarkman
Guest
Posts: n/a
 
      01-18-2012

> Except that your site looks like ****. I might have been marginally
> interested in the content, but I got eyeball ache after the first couple
> of sentences, so I gave up.



My Motigo counter tells a different story; my site is largely
educational. I will educate those who will listen. Those who don't can
go elsewhere. Those who would attempt to stop me can go and ****
themselves.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in setting Target Node and Target Tree Property mohit ASP .Net 0 01-23-2008 05:41 AM
force target=blank for all anchor tags on page TS ASP .Net 5 10-07-2005 05:44 PM
Code advice: Add target='blank' to html string... VB Programmer ASP .Net 1 08-07-2005 02:45 PM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
changing link's target to blank page Cesar Garcia H ASP .Net 0 04-15-2005 07:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57