Forum Moderators: open
I'm pretty sure it's bad practice to use base outside of your head, but if you were to make the last <div> appearing in your code with a <base> before the content, I suppose it could work, but it wouldnt be pretty.
I don't know maybe some php might be the solution?
any other suggestions?
base element is for use in the head section only, and it operates for the whole document. You cannot use it in any other way and expect it to work. One option you have is to include the section as an
iframe rather than a div - as an iframe is a separate document, you can use the base element there to cover all the links in that inserted page.