Jump to content

Frame height problem


irusha

Recommended Posts

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,

 

Link to comment
Share on other sites

The problem is, like tables, people are going to keep telling you not to use them for a reason. They don't function very well for styling as you're now finding out. At least with tables you have it somewhat easier.

 

Did you try using an iframe to show your content? That might solve the issue ...

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.