Firex Problem ONLY !

Discussion in 'CSS' started by mailtoankit09, Sep 27, 2010.

  1. #1
    hello please help me !! i have a problem in CSS please see this picture >

    Firefox not work :( >
    [​IMG]

    And Other browser work like a charm >

    [​IMG]

    This is its CSS

    .blockside { float: right; width: 238px; margin: 0 -350px 0 0; }
    PHP:
    When i used this code then only work with Firefox not for other browser>

    .blockside { float: right; width: 238px; margin: 0 -245px 0 0;  }
    PHP:
     
    mailtoankit09, Sep 27, 2010 IP
  2. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Page url would have been better, however i'm assuming .blockside is used for a right side bar. I'll prefer having the div .blockside positioning relative to the div at left side and set the left poistioning as required.

    something like this,
    
    .blockside {position: relative; float left; top:0; left:10px; width: 238px}
    
    Code (markup):
    btw, the above is CSS not PHP code
     
    radiant_luv, Sep 28, 2010 IP
  3. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #3
    As radiant_luv said, without the complete markup or a link, you're asking us to take a wild guess. Or would you prefer us to show you a picture of the fix?
     
    drhowarddrfine, Sep 28, 2010 IP
  4. mailtoankit09

    mailtoankit09 Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry for that , but now i'v fixed that problem :) thx for you help n time !
     
    mailtoankit09, Sep 28, 2010 IP
  5. david.rew1164

    david.rew1164 Peon

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    float and margin on the same side doesnt work with few browsers. Try increasing the div of right pane and adding padding-left: ____px; in the style tag.

    I use things like this for 100% caompatilbilty.

    thanks
     
    david.rew1164, Sep 30, 2010 IP
  6. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #6
    @david.rew1164 - you must have a really slow internet connection.
     
    drhowarddrfine, Sep 30, 2010 IP