Welcome to Onlinewebmarket



  post #1   travis_perine is offline
Old 09-08-2009, 04:58 AM
travis_perine
Newcomer
More info Spam Post
Join Date: Sep 2009
Posts:
 3
travis_perine is on a distinguished road
Default Frame height problem
Hey all,

I've got a frame on my site, which is a simple box, made for a poll. Once the user has voted, it loads a new page with the results in the frame. A lot of people told me I shouldn't use frames because they're bad, but atm I don't care, it's good like that, and I want to use it !

The only problem is the height. I can set the height so it's not too small or too big, but the problem is that the height is not relative. That means if I remove "height: xxxpx;" from the CSS stylesheet, it automatically sets the frame at 50 px or so but that's too small, so the scrollbars appear and you have to scroll in the frame. And that's weird. Any idea how I could change that ? Do you see what I mean ? Cause I will change the question of the poll quite often and then I would have to change the height in the stylesheet everytime, that's crap


Thanks in advance,

Reply With Quote
alence's Avatar
  post #2   alence is offline
One Million Forum Profiles Old 11-26-2009, 06:19 AM
alence
Newcomer
More info Spam Post
Join Date: Nov 2009
Posts:
 5
alence is on a distinguished road
Default hai
well i can see the problem. is a standart type error.

if you look here you have a > in the first line, before </iframe> you have >.
<iframe id="booking" runat="server" scrolling="no" frameborder="0" width="100%">
height="500"
allowTransparency="true" src="www dot booking dot com" ></iframe>

to make make it work the code work it should look like this
<iframe id="booking" runat="server" scrolling="no" frameborder="0" width="100%"
height="500"
allowTransparency="true" src="www dot booking dot com" ></iframe>


hope it will help.

Reply With Quote
subash's Avatar
  post #3   subash is offline
One Million Forum Profiles Old 03-08-2010, 05:42 AM
subash
Newcomer
More info Spam Post
Join Date: Mar 2010
Posts:
 3
subash is on a distinguished road
Default hai
if you are using php or asp then you can set the height dynamically acording to your need in html source.

or may be try using the style "min-height:100px"

Reply With Quote
Reply
Forum Jump Top
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
 
 
All times are GMT. The time now is 05:57 PM.
original style @ vBulletin.com (version 4)