25

Previous front end dev apparently was not aware of padding and margin.

The html is riddled with &nbsp; and <br>

Shoot me now

Comments
  • 1
    The door ! Come back with minimal knowledge
  • 2
    Regular expression search and replace.

    DOM parser library in PHP / Python for search and replace.

    Might look shitty, but you find all occurrences reliably.
  • 7
    Designer: I want more space on that
    Dev: " "
    Designer: no that's not enough
    Dev:

    <ul>
    <li>&nbsp;&nbsp;labelName</li>
    <li>&nbsp;&nbsp;labelName</li>
    </ul>

    Designer: looks good 👍
  • 4
    I mean I don't mind them inside / with actual text for "text reasons" ... but not for LAYOUT ...
  • 8
    Calling him/her a frontend developer is insulting actual frontend developers.
  • 0
    Click , bang!
  • 0
    I like <br> :(
    I like <table> too :(
  • 0
    but hey that brings in a question :P
    what if i need a newline between two lines of text and want the next line of text to start at the same horizontal position as the old line of text ?
  • 1
    @MadMadMadMrMim @BobbyTables is of the opinion that you should import a css framework with bulky overhead and increased complexity so that you may generate css using margins, paddings and other lofty ideals such as grids... Woe unto you if you dare use a basic <br/> provided by the html language syntax ...

    Is this what our need for code complexity is bringing us to, looking for solutions to non existent problems.
  • 1
    @EpicofGilgamesh I love you gilgamesh :) may I have your baby ? I'll take the hormones necessary first :P
  • 1
    @EpicofGilgamesh I mean I do suppose there are easy and clean ways of using css for spacing and the like that are being used all the time but yeah this is an exception to that in my opinion, unless you want a new <div> or <p> instead :P
  • 0
    @MadMadMadMrMim Ooookay, this is not weird at all
  • 0
    @EpicofGilgamesh just go with it baby
Add Comment