page: Improve compatibility with dillo
Use the CSS width attribute instead of the HTML one for images.
This commit is contained in:
parent
01a6042468
commit
b1a356fcf5
2
page.php
2
page.php
@ -5,7 +5,7 @@
|
|||||||
}
|
}
|
||||||
function addEntry($title, $preview, $link, $description) {
|
function addEntry($title, $preview, $link, $description) {
|
||||||
//echo '<tr><td colspan="2"><h3>' . $title . '</h3></td></tr>';
|
//echo '<tr><td colspan="2"><h3>' . $title . '</h3></td></tr>';
|
||||||
echo '<tr><td style="border-left:2px solid blue;"><a href="' . $link . '"><h3>' . $title . '</h3><img class="previewImage" width=320px src="' . $preview . '"></a></td><td style="border-right:2px solid blue;"><h3> </h3><br>' . $description . '</td></tr><tr><td> </td></tr>';
|
echo '<tr><td style="border-left:2px solid blue;"><a href="' . $link . '"><h3>' . $title . '</h3><img class="previewImage" style="width:320px" src="' . $preview . '"></a></td><td style="border-right:2px solid blue;"><h3> </h3><br>' . $description . '</td></tr><tr><td> </td></tr>';
|
||||||
}
|
}
|
||||||
function endEntry() {
|
function endEntry() {
|
||||||
echo '</table></details></div><hr class="postSeparator">';
|
echo '</table></details></div><hr class="postSeparator">';
|
||||||
|
Loading…
Reference in New Issue
Block a user