Probably a better solution would be to put spans around each bit of text, and for iPhones, set the spans to display: block so that they each have their own line. On other devices, they will do nothing.
So for smart phones, it would be
Code:
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
span {display: block;}
}
But if you want to stick with the breaks (not recommended, as they will affect all devices) you could just do this for devices where you don't want them to appear:
Code:
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
br {display: none;}
}
But using HTML for visual styling is a bad idea, except perhaps for things like addresses and poems.
Bookmarks