iframe auto:scroll
- Started
- Last post
- 9 Responses
- unfittoprint
People:
i have this iframe with scroll property set to auto. it links to a page where i have a table with a width of 100%.
When i test the iframe, the table inside doesn't strecht to the iframe width. In fact it leaves the space necessary for the iframe vertical scroll (wich should only appear when requested!).
Is there anyway to avoid this?
- Bitlounge0
Olá, também já tive esse problema e a única solução de que me lembrei (um bocado manhosa mas que resulta) foi colocar a barra do scroll e alguns dos seus elementos da cor do fundo de modo a que não seja perceptível. Espero que seja uma ajuda.
- unfittoprint0
obrigado :-)
espera. eu já tenho essa situação. com layer o auto: scroll funciona. mas irrita-me no iframe o mesmo não acontecer. Porque é que esta m#$da não esticaaaa! aaaargh
for the rest of the non-portuguese people. i'm still waiting for a solution...
:'-(
- BonSeff0
url?
let me shekit por favor
- unfittoprint0
http://www.anarchitecture.net/if…
the table above makes the iframe scroll appear, since the tables height is bigger than the iframe's.
the iframe below although having a bigger height than the its source page still doesn't allow the table to stretch completely, leaving a space to its right.
f#$ckin' irritating.... aaargh!
- Bitlounge0
Pois, acho que com o Scrolling="auto" numa iframe não há volta a dar. Aquele espaço, em princípio, fica lá sempre.
- unfittoprint0
OK. I got it!
In the source page create a layer with the exact size of the iframe. Put the layer's overflow to auto. Copy paste your table in there. Switch the iframe scroll to "no". And voilá!
thx Bonseff. Obrigado, Bitlounge (afinal dá, miúda.... ufa!)
- Bitlounge0
Sim, com o scrolling="no" o espaço desaparece mas depois se o conteúdo for maior que a iframe não se pode fazer scroll. Bom, mas isso já depende do que se pretende lá colocar.
De qualquer forma, há quase sempre uma solução para tudo :)