Help - Search - Members - Calendar
Full Version: overflow in IE6
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
Lex
Hi, everybody.

I'm having a hell of a time getting overflow: auto to work in IE6. It's working in Firefox and Safari, but I can't figure out why it won't scroll in IE6, and all the documentation I've found seems to say that overflow is supposed to be supported by IE6.

Here's the link: http://it-is.diaryland.com

Can anyone help me figure this out? Please?
Darin McGrew
IMHO, the best alternative is to stop hiding your content in little boxes that scroll independently of the main page.
Lex
QUOTE(Darin McGrew @ Dec 27 2007, 05:33 PM) *

IMHO, the best alternative is to stop hiding your content in little boxes that scroll independently of the main page.


That was the original idea... but I've gone so far with it this way. I'd basically have to re-think/re-do everything.
Maybe that's just me being lazy.
pandy
You expect a lot of a poor old browser. wink.gif You have absolutely positioned TDs that should use overflow... Let me ask, why the tables? Why the AP?

If you must, this is a dirty fix. Wrap the text in the TD in a DIV and move the class from the TD to the DIV.
CODE
<td>
<div  class="text">
<p>
<p>Sometimes I just need to get [...]

(And don't use loose Ps to create space - that's what 'margin' is for.)

Change the selector
CODE
td.text

to just this.
CODE
.text



It would be much better if you lost the tables. You could cut down on both the HTML and the CSS and also the complexity considerably.
Lex
QUOTE(pandy @ Dec 27 2007, 05:47 PM) *

It would be much better if you lost the tables. You could cut down on both the HTML and the CSS and also the complexity considerably.


At the risk of sounding stupid, what would I use instead of tables?
pandy
CSS. You already do. To me, tables and positioning at the same time is too much of the good. So did the fix work? smile.gif
Lex
QUOTE(pandy @ Dec 27 2007, 05:53 PM) *

So did the fix work? smile.gif


Er... now I have a new set of problems...
Using strictly CSS instead of alongside tables is sort of new to me. If I were to remove the table tags, what would I embed the CSS classes in?
Darin McGrew
QUOTE
If I were to remove the table tags, what would I embed the CSS classes in?
What kind of structure makes sense for the content? Paragraphs? Headings? Lists?

If nothing else makes sense, then a div element with an appropriate class/id works.
pandy
QUOTE(Lex @ Dec 28 2007, 12:18 AM) *

QUOTE(pandy @ Dec 27 2007, 05:53 PM) *

So did the fix work? smile.gif


Er... now I have a new set of problems...


Not? sad.gif
Lex
QUOTE(pandy @ Dec 27 2007, 06:30 PM) *

QUOTE(Lex @ Dec 28 2007, 12:18 AM) *

QUOTE(pandy @ Dec 27 2007, 05:53 PM) *

So did the fix work? smile.gif


Er... now I have a new set of problems...


Not? sad.gif


It's hard to explain. It sort of.. became a table within a table? There were two "background" images. And the text was offset in a very bizarre manner.
I think I might just scrap the whole layout and do something simpler.
pandy
Hey, I simply wondered if the fix worked! tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.