OZONE Asylum
Forums
Stupid Basic HTML
Border under scroll bars
This page's ID:
9628
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Me again Spotted a typo, and got it right in all coding so it looks just right: Set a page up with no content other than an iframe. Point this to the real file you want to display. Switch off the scroll bars on the blank page. Set borders as appropriate, and styles. I couldn't be bothered to exactly replicate the page you refered to, but this does something similar: <html> <head> <title>(Type a title for your page here)</title> <style type=text/css> body { margin: 0; border: 0 } iframe { position: absolute; top:0; left:0; visibility:hidden; border: 1; border-width: 1; border-style: solid; } </style> </head> <body scroll=no> <iframe height=100% width=100% src="anotherpage.htm"></iframe> </body> </html> In the source file, the body needs some style too: <style type=text/css> body { margin: 0; border: 1; border-style: solid; border-width: 1; } </style> Only problem I can see is that you need to be rreal careful designing your source file to makes sure all frames and div's are positioned correctly, or they might move to odd places in an iframe, AND If the source page is small so it won't need scrollbars, they won't appear, leaving some unusable whitespace (or whatever your background color is) at the right. As my site has some bars across the top, it looks a little weird, but the site you refered to looks ok. Now, I can see some potential here, coz you won't need to reload the main page all the time. Watch this space for a cool page preloader script based on this! Trev "Good artists copy, great artists steal." Pablo Picasso
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »