Still a bug with margins and padding in css editor

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;

Still a bug with margins and padding in css editor

Postby purpleedge2004 » Thu Oct 06, 2005 7:26 am

WeBuilder 6.3.0.58

It is very common practise in css to leave the units off when the value is 0 - since 0 is 0, regardless of the units, so...

padding: 25px 0 25px 0;

means padding top 25px, right 0, bottom 25px, left 0

in WeBuilder inspector this shows as
Top 25px
Right 25px
bottom 0
left 0

The inspector is not much use if it can't be relied upon.
Regards,
Purple
purpleedge2004
 
Posts: 11
Joined: Fri Jun 24, 2005 1:41 am
Location: Sydney, Oz

Postby daveporter » Thu Oct 06, 2005 10:53 am

Hi Purple,

Common perhaps, but me think not good practice....

2cents...
Dave Porter
daveporter
 
Posts: 51
Joined: Sun Jun 12, 2005 9:04 am

it's still a bug

Postby purpleedge2004 » Thu Oct 06, 2005 11:06 am

Hmmm, if it saves keystrokes, is more readable, is perfectly legal, and common, but doesn't work in WeBuilder - it's still a bug.
Regards,
Purple
purpleedge2004
 
Posts: 11
Joined: Fri Jun 24, 2005 1:41 am
Location: Sydney, Oz

Postby Karlis » Thu Oct 06, 2005 5:35 pm

Now that I looked deeper into this I could not identify any serious problems.

I do not think that adding px to 0 is a bug, because 0px is perfectly legal as well :)

I agree the multi-value property parsing can be improved, though.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
 
Posts: 3601
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe


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

Who is online

Users browsing this forum: No registered users and 42 guests