Forum Moderators: open
and it works great. Fills the whole screen, no problem. But if I server-side-include a cool looking header on the page (it involves quite a bit of stuff, lots of levels of tables, links, graphics, javascript, etc.), the 100% fill doesn't work anymore. Neither does "*" or "50%" or anything else like that. But I want it to fill the rest of the screen.
Any ideas?
I did have a nifty two-page setup, where the first page would capture the screen's height and width, and then in the onload event handler, I'd post that info to the next page, which would use those numbers to size the object with fixed values. But I don't like that solution because the back button on the browser no longer works as one would expect.
I suspect there's some piece of code in that included header that prevents the relative sizing to work, but I can't for the life of me figure out what. Has anyone run into this?
Thanks.
Mostly you are looking for out-and-out errors. A few warnings about deprecated attributes and such don't make problems in a mainstream browser.
It's just that you need to ensure that your mark-up is well-formed before you can debug rendering problems. Else you can chase your own tail for a long time.
However, I did discover the fix. It's nothing that any of you could have helped me with. I just discovered that the header code allows me to pass in the name of a javascript function that's called when a link is clicked anywhere in the header. So I put the header in a top frame, the ActiveX object in the bottom frame, and my javascript function just sets the top's url to the url clicked on in the header. Then the ActiveX object I have can just take up the whole frame space and everyone's happy.
Thanks for your help, though.