kimikai
05-08-2012, 08:15 AM
Last question for my weblayout I hope :o
dang it sucks to be a newb :mad:
I've got these 2 divs, one for the menu, one for the content.
Now...the site that i have online, has Iframes inside its divs to show the html page that contains the menu and the content stuff, but on for example a phone (which does not support Iframes, and thus the website looks really ugly) I want something else to make up for the Iframes.
Ofcourse basically everything supports DIVs, so I was wondering if I could assign a source code to the Div, so the sourcepage will be directly displayed in the DIV.
Ive tried <div src="menu.html" id="menu"> basically the same as you would do with an iframe
But this wont display the external html file...
Is there a way to fix this OR a way to use something else thatll do this.
As long as I get rid of the Iframes I'm happy :D
dang it sucks to be a newb :mad:
I've got these 2 divs, one for the menu, one for the content.
Now...the site that i have online, has Iframes inside its divs to show the html page that contains the menu and the content stuff, but on for example a phone (which does not support Iframes, and thus the website looks really ugly) I want something else to make up for the Iframes.
Ofcourse basically everything supports DIVs, so I was wondering if I could assign a source code to the Div, so the sourcepage will be directly displayed in the DIV.
Ive tried <div src="menu.html" id="menu"> basically the same as you would do with an iframe
But this wont display the external html file...
Is there a way to fix this OR a way to use something else thatll do this.
As long as I get rid of the Iframes I'm happy :D