A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: div positioning problems

Hybrid View

  1. #1
    HUH? pea3698's Avatar
    Join Date
    Mar 2001
    Location
    Greenville SC
    Posts
    1,771

    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>
    ------------------

    Sometimes we are the windshield. . . But, most of the time, we are just the bug. (c;
    My cycling themed designs Pats Design Portfolio

  2. #2
    HUH? pea3698's Avatar
    Join Date
    Mar 2001
    Location
    Greenville SC
    Posts
    1,771
    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.
    ------------------

    Sometimes we are the windshield. . . But, most of the time, we are just the bug. (c;
    My cycling themed designs Pats Design Portfolio

  3. #3
    Junior Member
    Join Date
    Apr 2001
    Posts
    5

    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!

  4. #4
    HUH? pea3698's Avatar
    Join Date
    Mar 2001
    Location
    Greenville SC
    Posts
    1,771
    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.
    ------------------

    Sometimes we are the windshield. . . But, most of the time, we are just the bug. (c;
    My cycling themed designs Pats Design Portfolio

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center