[Koha-bugs] [Bug 8453] need spaces after radio buttons on inventory

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 17 04:21:39 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8453

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
(In reply to comment #3)
> I'm pretty sure that all other places this is just a space. I agree that CSS
> makes the most sense if you want to add in consistent spacing, I'm just
> making a space after the radio button and before the text ... very standard
> kind of thing that I think CSS would be overkill for.

If all the other places are using a space, that space should probably be
removed and then CSS used to apply that style across the board, since we are
trying to provide consistent spacing between the radio button and the text.
After all, what happens when we decide that we want no space or a wider space?
The downfall of using the hard-coded space is the width of your space is
hard-coded too. No matter how many spaces are added to the HTML, only that one
space will appear on the page. I think CSS provides the most flexibility and is
a better practice in general.

While I'm having trouble finding an authoritative source to link to that says
not to use spaces for display purposes in HTML, I've been told this in classes
and by other programmers as well. Admittedly, it's a fairly trivial localized
display issue, but I think that's how widespread inconsistencies start.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list