Website Coding Question
Home > Home Recording Forum > Talkin' Smack > Website Coding Question
Posted on Sep 21, 2004 09:38 am
vdalehubbard
Lost for words with all to say.
Contributor Since: Sep 12, 2003
I have a stumper here for me. I'm doing a website, mainly messing around and I want to have a scroll bar inside a cell of a table. I know someone here knows how to do it an easy way, I probably could through iframes or something. But the problem there is I need it to have a clear background so my texture in the background still comes through, can't if you refer to a seperate cell and it takes whatever background it has. Make sense? Got any suggestions?
[ Back to Top ]
Sep 21, 2004 09:50 am No dice, the table cell alone won't do it, you will need and iframe, or an incredibly rediculas framing structure of some sort. Or, just put a textarea form field in that cell and put your content in it...but then you would loose any transparency options.
Personally, I would rethink the whole idea...there is ALWAYS a better way to do anything than using frames.
vdalehubbardLost for words with all to say.Contributor
Since: Sep 12, 2003
Sep 21, 2004 10:01 am I don't like using frames either for some reason.
What would you use? I'm out of ideas besides just making the page bigger by making it longer for it to not need a scroll bar.
Sep 21, 2004 10:05 am Well, I dunno exactly what you are trying to do, but whatever it is frames is not the answer, make the page longer...thats what browser scrollbars are for.
Sep 21, 2004 10:19 am Vdale...
You could use a pop up window and select scrolls = yes. This would give you a window the exact size you want with scrolls.
As dB says, it all depends what youre trying to do.
Good luck
Coco.
Sep 21, 2004 10:28 am Quote:
You could use a pop up window and select scrolls = yes. This would give you a window the exact size you want with scrolls.
Unless the user is using a tabbed browser...then you have a slew of lame usability issues...
Sep 21, 2004 10:34 am True....it does all depend on what Vdale is wanting to do and why the scrolls are needed to?
Incidentally Vdale - can you tell us what you are trying to do out of curiosity??
Maybes we can figure oot a better way...
Just a wee thought.
Good luck anyways.
Coco.
vdalehubbardLost for words with all to say.Contributor
Since: Sep 12, 2003
Sep 21, 2004 12:41 pm I got it to work. Used this tag:
<DIV STYLE="overflow: auto; width: 480px; height: 275; padding:0px; margin: 0px">
Did exactly what I wanted it too. Once I get some of this done, I'm going to post it and put a link here for you all to see what you think.
Thanks for the help!
Sep 21, 2004 01:52 pm Cool, nice work, I didn't even think of overflow. Be careful tho, that was a buggy declaration at one time, hopefully browser bugs have been worked out since.