BUG: font shorthand

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

BUG: font shorthand

Postby netspy » Thu Aug 03, 2006 2:56 pm

WeBuilder create a font shorthand like this:

Code: Select all
font: normal bold 0.8em 1.4em sans-serif;


But correct is this rule:

Code: Select all
font: normal bold 0.8em/1.4em sans-serif;


The font-size and line-height value are separated with a slash.

http://www.w3.org/TR/CSS21/fonts.html#propdef-font

A other bug concerning the CSS inspector. I create this shorthand rule with the inspector:

Code: Select all
font: bold small normal Verdana, Arial, Helvetica, sans-serif;


This means font-weight:bold, font-size:small, line-height:normal and font-family:Verdana, Arial, Helvetica, sans-serif.

If I move the cursor to a other rule and go back to the font rule, the CSS inspector shows font-size:Verdana, line-height:Arial, and other false values.
netspy
 
Posts: 11
Joined: Wed Jul 05, 2006 11:17 pm
Location: Germany

Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 46 guests

cron