1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Amendment proposal: Generic font-family in style sheets

Discussion in 'Web Presence Builder' started by dave-ha, Aug 31, 2012.

Thread Status:
Not open for further replies.
  1. dave-ha

    dave-ha Regular Pleskian

    17
    85%
    Joined:
    Feb 21, 2012
    Messages:
    201
    Likes Received:
    0
    Location:
    Switzerland
    In WPB 10 the font-family in a style sheet looks like that:

    Example:
    There is no generic font defined at the end of the statement. If the defined font-family is not available on the user's device the browser just defaults to its standard font. This could lead to unwanted typographic results. However, if a generic font family is defined in the style sheet the browser falls back to one of those, i.e. for a (sans-serif) font like Comic Sans MS it shows a sans-serif font instead.

    Proposed amendment (examples):
    For specifications see http://www.w3.org/TR/CSS21/fonts.html#generic-font-families.

    I propose to enhance WPB in this direction.
     
  2. custer

    custer Administrator Staff Member

    33
     
    Joined:
    Apr 24, 2007
    Messages:
    593
    Likes Received:
    101
    Hi Dave,


    Thank you for your suggestion -- this looks to be a relatively cheap improvement, so we'll try to do it in 11.1.
     
  3. dave-ha

    dave-ha Regular Pleskian

    17
    85%
    Joined:
    Feb 21, 2012
    Messages:
    201
    Likes Received:
    0
    Location:
    Switzerland
    Hi Custer,

    I wonder what the status/plans for this improvement is. Could you please give me an update?
     
  4. custer

    custer Administrator Staff Member

    33
     
    Joined:
    Apr 24, 2007
    Messages:
    593
    Likes Received:
    101
    Hi Dave,

    I'm happy to tell you that your request has been implemented in WPB v12. As per RNs:

    "Generic fonts are now defined in CSS generated by Presence Builder for newly created sites. Note that this does not affect already existing sites."
     
  5. dave-ha

    dave-ha Regular Pleskian

    17
    85%
    Joined:
    Feb 21, 2012
    Messages:
    201
    Likes Received:
    0
    Location:
    Switzerland
    Hey Custer,
    Good to hear from you. Thanks for your update on this enhancement.
     
Thread Status:
Not open for further replies.
Loading...