What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Moving HTML into another document, not rendering as expected.

mrme01

New member
Hi folks, first post of what will probably be many. I am trying to bend AdminLTE to my will, and as such, I want to move components of it into separate documents.

I have done this with the sidebar, by literally cutting and pasting the markup into another document and using php include, this works as expected even though line 2 is an <aside> tag (first being a comment)

I have tried to do this with the header, but it does not render like the sidebar.

I have pasted the HTML of the page here, https://pastebin.com/n7XSB29N line 27 is the start of the HTML in question, and I have uploaded a zipped copy of the entire thing here, https://gofile.io/?c=rMn1JB (they use AdminLTE :p )

Super illiterate with HTML when it comes to stuff like this, so please correct me where I've most likely used the wrong term.

Here is a screenshot of what happens when I do the same thing with the header as I have done with the sidebar (that works)
Thanks for taking your time to go through this absolute mess of a post, I just don't know how to get this to work without being extremely simple in my post and uploading everything to explain myself.
 
try:
<embed type="text/html" src="head.html" width="100% height="100%"></embed>
head.html is the title of information to import
the width/height to suit
I have used it with sucess
 
Back
Top