Chrome Alignment Issue

Discussion in 'CSS' started by Biobob, Jun 21, 2012.

  1. #1
    hey

    Im trying to figure out why on firefox the box appears higher than it does on chrome...I've tried all the positions and floats etc..nothing seems to fix it..I want the chrome version to match firefox version

    I also wonder why I cant just float the box left to the "form" div without using negative margins..

    Any help would be great!

    http://tech-nest.co.nz/ValentinMuller/

    1.jpg
     
    Biobob, Jun 21, 2012 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    Dunno, I can't get to the contact page in Opera or FF... Ah, I see, one of those stupid animooted scroll sideways to waste bandwidth out of that "pageloads are evil" paranoia.

    As to your alignment 'problem', given the endless pointless DIV for no reason, style inlined in the markup, non-semantic form... lining up that second bit is the least of your worries -- though I suspect the issue is you're trying to float that element instead of floating the form itself... NOT that positioning that type of information next to a textarea is a good idea anyhow since no matter what you set WIDTH to, you can't guarantee that the width OR the height of the form elements will be the same cross browser.

    That's what I like to call a "not viable for web deployment" concept. If I were to do it, I'd probably float the textarea and put that div inside the form next to it, as that's the only way to reliably position it lined up with the form cross browser because again, form elements do NOT accept width, height, padding or border the same way across browsers. You cannot rely on them EVER being the same size.
     
    deathshadow, Jun 24, 2012 IP
  3. Biobob

    Biobob Active Member

    Messages:
    119
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    lol thanks, il try that
     
    Biobob, Jun 24, 2012 IP