Content wider than page allows…?
-
Hi
I have an iframe that I have to use here
http://juicytravels.com/discount-first-business-class/
But it wants to be 1000px wide to not have horiz scrollbars. It’s set to 940px wide right now but…then the user has to scroll horiz which I think is bad.
Is there anyway to allow it to be 1000 wide without messing up the page?
Mod
But it wants to be 1000px wide to not have horiz scrollbars. It’s set to 940px wide right now but…then the user has to scroll horiz which I think is bad.
Yeah, it is bad, because a user shouldn’t have to do a horizontal scroll. But even worse, even 940px is too wide. There’s just a bunch of white space to the right of the form.
Do you have any control over the iframe? If so, then you need to change
scrolling="auto"to
scrolling="no"or you could change
width="940"to
width="600"since the relevant portion of the iframe is only 570 pixels wide.
If you don’t have control over these aspects of the iframe, there’s not a lot you can do. But I suspect if you go back to wherever you got the iframe, you should be able to make these changes.
Ken
What I mean by I have no control is that I can’t recreate the layout of it.
Here is what I have access to:
<p align=”center”><iframe name=”Flight Search” src=”http://www.farebuzz.com/Affiliates/Default.aspx?tabid=2087&caID=52181&FpAffiliate=JuicyTravelsB2C&FpSub=&” frameborder=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”yes” width=”940″ height=”575″></iframe></p>
But the problem is not in when you land on the page. It’s after you do a search, then the frame wants to be wider than the allowed space in the body of the page, so it pushes it out ugly if I don’t use the scroll bars. So what I’m really asking is, is there a way to make just that page have a wider body area? I get it that it creates visual layout problems for the upper area. What if I make just that flight search be a pop out window, without all the navigation and design stuff…I forget what that’s called…where just the content of the frame pops out on it’s like a new window with just the contents of the frame?
Mod
I think you mean “pop-up” window.
You could accomplish it by providing a link to the iframe, like this:
<a href="http://www.farebuzz.com/Affiliates/Default.aspx?tabid=2087&caID=52181&FpAffiliate=JuicyTravelsB2C&FpSub=&" target="blank">Book a flight</a>You would have to do this in the HTML editor. The
target="_blank"is what makes it open in a new window. Not a very elegant solution, I’m afraid, but a solution.Ken
I just looked at that term in google and it looks like it was old technology that didn’t last. I don’t like the open in a new window as it turns out, you’re right, it’s not every elegant, but I see what I mean, is a solution.
Is there no way just for that page to let it be wider than the header of the site or increase the overall width of the main container to allow it?
I just can’t stand that sideways scroll problem.
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
