SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    photoshop conversion and em background

    hi,

    I have 2 two questions relating photoshop

    1. How to make a new layer/background measured in em

    2. how to converse px to em in photo shop and vice sersa?

  2. #2
    #titanic {float:none} silver trophy
    molona's Avatar
    Join Date
    Feb 2005
    Location
    from Madrid to Heaven
    Posts
    8,271
    Mentioned
    252 Post(s)
    Tagged
    1 Thread(s)
    1.- You can't. Em is a variable measure used in CSS based on the width of the letter m of the font that you are using, therefore its value will depend on which font you use, and the size of that font. Photoshop only uses fixed measure units.

    2.- Again, you can't, for the same reason explained above.

    On the other had, you don't need to. Create you picture in photoshop using px, give it the size that you think it will be used in most monitors...and then, when you create your web layout, do not use pixels in the img element, but em. It works very well.


Bookmarks

Posting Permissions

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