My challenge is the proper use of @media selectors for just the iPhone, such as:
Code:
@media screen and (max-device-width:480px) and (orientation:portrait) {
#poemWrapper {
text-align: left;
}
#poem {
width: auto;
color: #00f; /* just for testing */
}
}
This inline approach is not working for me.
I get a weak sister going with:
Code:
@media screen and (orientation:portrait)
but that will activate the iPad as well which is not what I want. I want to single out iPhone in the portrait orientation.
BTW, using only screen, versus just screen doesn't fix the problem.
HAALP!
John Love