• Hi

    There are times we need a “gap”, to date we have used padding, but it might be the top of bottom only, using a SPACER is easier to see on screen than padding. However which is better on the resulting code?

    I know IE has issues with height so is the Spacer widget more reliable (and its easier to see in the GUI) or should padding / margins be used?

    Comments welcome…

Viewing 1 replies (of 1 total)
  • This depends on your coding skills. For store bought themes and device responsiveness and ease of use I use spacers because they can be quickly hidden in the UI on the themes break points. Some advanced users will want finer control and choose to use padding via REM which is another beast altogether this is a very good guide but unfortantly is pop up and ad heavy so sorry
    https://www.sitepoint.com/understanding-and-using-rem-units-in-css/ It is not a link because I was told to never link again:)

Viewing 1 replies (of 1 total)

The topic ‘Best practice = [Widget “Spacer” OR Margin / Padding?]’ is closed to new replies.