Click to See Complete Forum and Search --> : I need some help with a problem
waltharie
04-17-2004, 05:51 AM
I'm working on a website and I get some problems with it.
take a look at it:
www.rogierkoning.com/rdrinnovations
The problem with this setup is that I have limitid space to display text. When there is to much text in it it will ripp the setup apart.
My question is if it is possible to make something (meaby like a layer) that I can position over the text field that will get a scrollbar when the text is to big for the field.
The only idea I have to solve it is to make a more detailen frame setting but that will not help me becouse of the java script that I use for the menu.
I hope somebody can give me some help with this.
buntine
04-17-2004, 07:02 AM
You will need to use a <div> (division) element. An alternative would be the <iframe> (inline frame) element.
Check out these references:
http://webdesign.about.com/library/tags/bltags-div.htm
http://webdesign.about.com/library/tags/bltags-iframe.htm
EDIT: By the way, you should try to avoid naming threads this way. Some members will simply ignore threads like 'Help Me!' or 'I need help'. ;)
Regards,
Andrew Buntine.
waltharie
04-17-2004, 11:35 AM
Thanxs, Buntine, I will ook in to it and follow the rest of your advice.
Thanks anyway for your time to write me back,
Greetings,
Rigier Koning
PeOfEo
04-17-2004, 01:13 PM
To make a div scroll do this
<div style="height:500px; width:500px; overflow:auto;">content would go here and create a vertical scroll bar when the content is too big</div>
You can change the heights and widths and put that in an external style sheet or in your head too if you want and give the div an id or name. I would not use an iframe myself for accessability reasons. But I would also do pageing for blogs / long data grids or anything in combination with the scrolling.
waltharie
04-17-2004, 02:39 PM
I have it working right now, using I frames but I will take a look at the last suggestion also.
A little question only, what can be the problem with Iframes, are the not supported by every browser or so?
Thanks anyway
Rogier Koning
waltharie
04-17-2004, 03:00 PM
I've changed one of my pages and its working, good solution.
PeOfEo
04-18-2004, 02:21 AM
Originally posted by waltharie
I have it working right now, using I frames but I will take a look at the last suggestion also.
A little question only, what can be the problem with Iframes, are the not supported by every browser or so?
Thanks anyway
Rogier Koning iframes are inaccessable and will create [incline content] in a text based browser, and will not show up at all in audio braille. Infact they are only supported in the newer browsers, ie4 + ns5+ I believe, but do not quote me on those numbers.
DaveSW
04-19-2004, 08:22 AM
but you can make them more accessible by coding in a hyperlink to the content between the iframe tags.