By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,203 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

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

P: 1
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
Share this Question
Share on Google+
5 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Well, your site has 336 html errors and a whole pile of CSS errors that need fixing first.
Feb 18 '08 #2

P: 48
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 5K+
P: 7,435
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

P: 48
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 5K+
P: 7,435
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.