You're being exceptionally cryptic.
From what I see, I don't think an iframe is necessary, as index2.html is only used for the contact form (as opposed to framing various different pages). If it was necessary (for some reason beyond my logic), surely src= would work, even in xhtml (trust me, I have a page in xhtml from which I load another site with a menu of my site at the top).
I'm not fond of iframes. They're bad for various reasons. If you can do Server Side Includes on your hosting account, use them instead. (If you really don't want to just put the form in your index2.html file)
UNLESS you're trying to hide the code of your contact form...  In which case you should try something else that I don't know of.
Now come on, don't let us think twice, trying to guess what you're really trying to achieve, and then trying to figure out how to help you. Tell us the story, the whole story and nothing but the story, so help my Codebook.
|