Hi all
Yesterday, I've downloaded last version of iui (0.30); it's
fantastic!!!
Today, I've tested It building a simple web site.
In this site, I've inserted a simple image where "height" attribute il
is set (for example) to 150px.
How I can change this "height" attribute when I rotate the iPhone, for
example to 250px? This is used to fit the image...
I've added this lines to iui.css file:
body > .event > img.maps {
border: 1px solid #666666;
height:150px;
}
body[orient="landscape"] > .event > img.maps {
height:250px;
}
And this is the html code:
<div id="event" title"Event" class="event">
<img src="./image.jpg" alt="Image" class="maps">
</div
The problem is that this pice of CSS works If I use "iPhone
Simulator", but It doesn't work on my iPhone.
Could some one help me?
thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---