- Details
- Written by: Stanko Milosev
- Category: Android
- Hits: 5175
Yesterday I was playing with Link2SD and I tried to move one system file to SD card, after that I was stucked at hboot.
PG76IMG_Marvel_HTC_Europe_1.66.401.1_Radio_47.10g.35.3032H_7.49.36.01M_release_209754_signed.zip, from here.
I have unzipped the file, and manually updated ROM, using commands from command prompt:
fastboot flash boot boot.img
fastboot flash dzdata dzdata.img
fastboot flash partition partition.img
fastboot flash radio radio.img
fastboot flash recovery recovery.img
fastboot flash system system.img
As it is described here.
You will need files:
fastboot.exe
AdbWinApi.dll
adb.exe
- Details
- Written by: Stanko Milosev
- Category: CSS
- Hits: 3112
@media only screen and (max-width: 480px),
(min-device-width: 768px) and (max-device-width: 1024px) {
#map-canvas {
position: relative;
width: 100%;
height: 50%;
float: left;
}
#thumbnails {
width: 100%;
height: 50%;
float: left;
overflow: auto;
}
}
@media only screen and
(min-device-width: 768px) {
#map-canvas {
position: relative;
width: 50%;
height: 100%;
float: left;
}
#thumbnails {
width: 50%;
height: 100%;
float: left;
overflow: auto;
}
}
- Details
- Written by: Stanko Milosev
- Category: CSS
- Hits: 5159
Just a short reminder to myself, copy / paste from here:
The element is never the target of mouse events; however, mouse events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, mouse events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases.
- Details
- Written by: Stanko Milosev
- Category: CSS
- Hits: 5195
Title (and content) of the article I stole from this web site.
From that same web site copy / paste of the key sentence:
HTML layout traditionally was not designed to specify vertical behavior
To have properly working vertical alignment, in my case, I had to introduce a table, this is my HTML:
<div style="height: 800px" class="detail-control"> <table style="height:100%"> <tbody> <tr> <td> <img style="vertical-align: middle" border="0" alt="Please press the play button." onerror="this.src='path to image to be displayed if original one is not found'" src="/URL of an image"> </td> </tr> </tbody> </table> </div>
Notice height of div (800px for the sake of testing), and height of table (100% to cover whole div), then in img tag note style.