-
div positioning problems
I'm having the good old browser problem. I have a verticle bar that I want positioned at 162px left. In ie it works great, in firefox there is a shift of about 3 -4 px toward the right. is there a way to get around this. A friend suggested adding _LEFT:162px but that didn't change anything.
code in header
Code:
#rule-1 {
position:absolute;
LEFT:162px;
}
code in body
Code:
<div id="rule-1">
<IMG SRC="images/short_horizontal_rule.gif">
</div>
-
Funny how it works out. After hours and hours of searching and trying this and that, I finally post on fk. So I say let me do one more search on google and BAM! there it bloody is.
My friggin div needed to be set bigger width wise. Sorry to have bothered you guys again.
-
Cool
That was helpful anyway.
If you get a soultion to your own problem please post it--some of the rest of us might end up with the same question the next day!
-
All the things that they said helped out alot, but what helped out the most was going through my code and realizing that I had left one div open. That's why it took me so long to say what fixed it lol, cause I felt dumb. But, I guess it happens when you start nesting divs.