![]() |
|
#1
|
||||
|
||||
|
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,
__________________
san diego insurance |
|
#2
|
|||
|
|||
|
dont use px use height:100%;
|
|
#3
|
|||
|
|||
|
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.booking.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.booking.com" ></iframe> hope it will help.
__________________
soccer games |
|
#4
|
|||
|
|||
|
thanks for your help this seem to be helpful.
|
|
#5
|
|||
|
|||
|
u r using a frame box thats good, but give some good height to the box, and it will automatically adjusts to ur poll results ie give ur frame box height to 100%. or else u can try it making in ajax also. hope this helps u out.
|
|
#6
|
|||
|
|||
|
Instead of using pixel change it to percentage and see if its work.
__________________
Interior Designer New York |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Plesk 9.0 Problem | belgaila6 | Hosting and Servers | 2 | 12-19-2009 11:03 AM |
| SEO problem, please help | Freeweb | SEO and Search Engines | 11 | 11-11-2009 02:19 AM |