View Single Post
Old 08-14-2010, 12:48 PM   #2442
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by cisaak View Post
Thanks. This works except that h1 displays twice since it appears twice in the html. Anyway to limit output to one h1?
That's part of what I meant when I said you didn't give enough information. You often need to remove a few items from inside what was kept. Without looking at the site, I can't advise on the best way to get only the first one or remove the second.

Is there a class or id label inside the two h1 tags that differs between them?

Or, you could just give me a link to an article and I'll check it out. Alternatively, there are more powerful/complicated ways to keep only the first h1 tag.

Last edited by Starson17; 08-14-2010 at 01:03 PM.
Starson17 is offline