| | |
need help with large anchor
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I have an anchor over an image, a subsequent <p>, and a seond image. I'm trying to validate xhtml transitional, and it says, for each of the three elements:
the format is <a> <h3....><img /> <p> <h3....><img /> </a>
what is a good solution for this?
•
•
•
•
missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag...
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
what is a good solution for this?
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
There isn't a "solution", per se. The structure you're trying to create isn't a valid structure, for several reasons. Your H3 tags aren't closed. Your paragraph tags aren't closed. You cannot place block-level elements, such as paragraphs, within inline elements, such as anchors.
You also can't wrap multiple elements inside of a single anchor.
Please describe what you're trying to do, as the code you posted as an example of your format is syntactically meaningless.
You also can't wrap multiple elements inside of a single anchor.
Please describe what you're trying to do, as the code you posted as an example of your format is syntactically meaningless.
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
You seem to be asking several questions. Please narrow your posts down to a single, specific question, and I'll try to answer it.
Paragraphs can contain anchors. Anchors cannot contain paragraphs, as in your original post.
With your latest post, I think you're referring to the border property? If you don't want a border, for your image or anchor, apply the "border-style: none" CSS property to those elements.
Paragraphs can contain anchors. Anchors cannot contain paragraphs, as in your original post.
With your latest post, I think you're referring to the border property? If you don't want a border, for your image or anchor, apply the "border-style: none" CSS property to those elements.
![]() |
Similar Threads
- newbie... Java load large picture :) Lit'l help plez (Java)
- Problem Downloading large files (ASP)
- Large Array Problem (PHP)
Other Threads in the HTML and CSS Forum
- Previous Thread: scrollbars color or hiding not possible in Firefox
- Next Thread: Redirect with pre-sized pop-up code help
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form google griefers hackers hitcounter hover html ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping swf swf. textcolor timecolor titletags url urlseparatedwords visualization web webdevelopment webform website windows7






