I have a section of a page that will display a Ski Report. (top right corner) 2 Q's
1) Should I use a div, or iframe and why.
2) iframes....how do they work as opposed to standard html frames.
Use an iframe if you only need to support Internet Explorer and the 6+ browsers. Netscape 4 doesn't support it. I don't know why you'd use a div (if you want it dynamic, if it's static, you'll want to use div). If you want it to display 2 random questions to make things more interesting, I'd recommend linking to an external javascript file (in the head):
<script src="question.js"></script>
and in the js file, make sure all the document.writes are in a div aligned up there (or a <p> would work, too).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.