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;
Post Reply
purpleedge2004
Posts: 11
Joined: Fri Jun 24, 2005 1:41 am
Location: Sydney, Oz

Still a bug with margins and padding in css editor

Post by purpleedge2004 »

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
daveporter
Posts: 51
Joined: Sun Jun 12, 2005 9:04 am

Post by daveporter »

Hi Purple,

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

2cents...
Dave Porter
purpleedge2004
Posts: 11
Joined: Fri Jun 24, 2005 1:41 am
Location: Sydney, Oz

it's still a bug

Post by purpleedge2004 »

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
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

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
Post Reply