467,213 Members | 1,042 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,213 developers. It's quick & easy.

how to work with fixed div tags in firefox and other similar browsers

Hello,

I have a fixed div tag on my site where my links are and it works great on Safari when scrolling, yet in firefox the sidebar won't scroll at first.

is there a way I can make it perform the same as it would on safari?

my site: http://www.dnworkinprogress.com

Thanks,

Dan
Feb 18 '08 #1
  • viewed: 1202
Share:
5 Replies
drhowarddrfine
Expert 4TB
Well, your site has 336 html errors and a whole pile of CSS errors that need fixing first.
Feb 18 '08 #2
with all due respect, I'm guessing the problem can be addressed despite those.

I don't have safari, so I don't exactly know what you're trying to get it to look like. If you simply don't want the bottom div to show up behind the top div, add a background-color:white to your css appropriately.

If you want the top portion to move as well, remove the absolute positioning.
Feb 19 '08 #3
drhowarddrfine
Expert 4TB
with all due respect, I'm guessing the problem can be addressed despite those.
You think so? In all browsers? Including any additional changes that will be made later it will all still hold up? I call that chasing your tail.
Feb 19 '08 #4
You think so? In all browsers? Including any additional changes that will be made later it will all still hold up? I call that chasing your tail.
Expand|Select|Wrap|Line Numbers
  1. <table hite="200" with="600" id="toptable">
  2.           ---table contents---
  3. </table>
  4.  
  5.  
  6. <table style="text-color:FF0000" id="bottom-table">
  7.           ---table contents---
  8. </table>
"Problem: my bottom table won't display in red!".

Yes, you can *address* one problem without fixing the others. Now I will of course admit that quite a few errors can directly lead or bring about a problem. But, I would bet you that all 336 HTML errors do not bring about the problem he's seeing. In fact, I just checked your link, some of them literally *are* as simple as an error that brings about unintended coloring.

Now you can completely turn him away, offering little help to the problem he came here for, or you can start to address the stated problem at hand while encouraging him to make the rest of his code compliant.

I just always saw this as a place to learn from others. He already knows his code doesn't work - no one need remind him, but we can make the attempt to directly help in a manner that best works for *him*. =)

That's all I was trying to say.

Cheers.
Feb 21 '08 #5
drhowarddrfine
Expert 4TB
You need to read the link in the sticky at the top of this board but you do see my issue with this:
Now I will of course admit that quite a few errors can directly lead or bring about a problem.
Feb 21 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by niconedz | last post: by
9 posts views Thread by =?Utf-8?B?Sm9obiBCYWlsZXk=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.