Eliminating scrollbar with - Post ID...

User 2413597 Photo


Registered User
2 posts

I am trying to embed a website into another html page. It works using <object> but some users are getting vertical scrollbars on the website (which plays a video) that is embedded in the html page.

Here's the code I am currently using (with the client data removed):
<center><object overflow="hide"; scroll="no"; data=http://.html page overflow="hide"; scroll="no"; width="90%" height="950"> <embed src=http://.html page width="80%" height="900"> </embed> Manasgement Simulation: Diversity </object>

Any suggestions?
User 187934 Photo


Senior Advisor
20,266 posts
Online Now

Why not use an iframe?;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 122279 Photo


Senior Advisor
14,621 posts
Online Now

Difficult to say without being able to see the page in question. Which is getting the scrollbar, the page with the object window, or just the object window?

You say that SOME users get a vertical scrollbar.Could that be because the dimensions of the video are wider or higher than the object window, when viewed on a small screen?

Or, you have given the object window a flexible width (why 2 different ones?), but the height is fixed, and 900 - 950px is too much for some wide screen computers.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 184085 Photo


Ambassador
1,707 posts

I've noticed that different browsers handle object sizing a little differently, basically I adjust the object size until I get it displaying properly in all the major browsers.

That being said I've never used object and embed together they kind of do very similar things, I have used object to directly call an html page into another page.

check out http://www.coffeecup.com/forums/website-design-and-development/problems-with-object/
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 2413597 Photo


Registered User
2 posts

It's just the website window that is embedded that is getting the scroll bars, or at least that's the only one we are concerned about. I have taken out the embed line and just left the object line and sent it over for them to test on their PCs. When I tried setting the height at 100%, it doesn't show much of it at all, which is why I set a fixed height. I have increased it a bit to adjust for different screens/browsers and now it has just one since I deleted the embed piece. Since I don't see the scroll bars on my PCs, I'll have to wait to see what they see on their end.

Thanks for the suggestions and feedback.
User 122279 Photo


Senior Advisor
14,621 posts
Online Now

If you are using Firefox, you can install an addon called web developer toolbar. With it you can simulate different screen resolutions (You have to enter them manually first), so if you ask those who get the scroll bar about their screen sizes, you can enter them and see for yourself.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.