Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Make textarea and div look exactly the same

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26496
    shirokoff
    Member

    Hello. I need to make div look exactly the same as textarea in IE, FF and Opera.

    I’ve set all known (and unknown) CSS items the same. But still, in FF text somehow much shorter =( IE is the most accurate browser in this case (amazing!).

    Can anyone help me with that?

    #65699
    shirokoff
    Member

    This is where I’m testing it

    http://www.technocat.ru/div2textarea/fake.html

    And here’s what i’ve got =(((

    [img]http://img-fotki.yandex.ru/get/3711/shirokoff.f/0_36000_401837e7_orig[/img]

    #65701
    dcp3450
    Participant

    For me, in IE, the text difference is even worse. The font weight is rendered differently in the text box. The fake-textarea has a slightly heavier weight. I know you have them both to set to 700 but they weights are still different. You may want to play with the weights on each area till they match. A pixel or two can add up to make a huge difference.

    #65730
    shirokoff
    Member

    Yep. I’ve ruined something in CSS that kept IE rendering smooth and nicely. But still – theres a way to make IE render everything the way I want.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.