Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
cms help.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="chrisissick" data-source="post: 293848" data-attributes="member: 47156"><p>i was wondering if anyone could tell me how i can shrink the news story image so it is fully viewable?</p><p></p><p></p><p>here is my code.</p><p></div></p><p> <div id="promo-box"></p><p> <div id="promo-bullets"></div></p><p></p><p> <?php</p><p> $to5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 5") or die(mysql_error());</p><p> ?></p><p></p><p> <?php $i = 0; while($newsobject = mysql_fetch_assoc($to5)){ $i++; ?></p><p></p><p> <div class="promo-container" style="background-image: url({url}/app/tpl/skins/Habbo/images/web_promo/<?php echo $newsobject['image']; ?>)<?php if($i != '1'){ ?>; display: none<?php } ?>"></p><p> <div class="promo-content-container"></p><p> <div class="promo-content"></p><p> <div class="title"><?php echo $newsobject['title']; ?></div></p><p> <div class="body"><?php echo $newsobject['shortstory']; ?></div></p><p> </div></p><p> </div></p><p> <div class="promo-link-container"></p><p> <div class="enter-hotel-btn" // I found this release on another forum, I just fixed it up abit.></p><p> <div class="open enter-btn"></p><p> <a href="{url}/index.php?url=news&id=<?php echo $newsobject['id']; ?>">Read the full article &raquo;</a></p><p> <b></b></p><p> </div></p><p> </div></p><p> <div style="color:#FFF;margin-top:25px;margin-left:10px;">Posted on: <b><?php echo date('F d, Y', $newsobject['published']); ?></b></div></p><p> </div></p><p> </div></p><p><img src="http://i60.tinypic.com/2djzdwi.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="chrisissick, post: 293848, member: 47156"] i was wondering if anyone could tell me how i can shrink the news story image so it is fully viewable? here is my code. </div> <div id="promo-box"> <div id="promo-bullets"></div> <?php $to5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 5") or die(mysql_error()); ?> <?php $i = 0; while($newsobject = mysql_fetch_assoc($to5)){ $i++; ?> <div class="promo-container" style="background-image: url({url}/app/tpl/skins/Habbo/images/web_promo/<?php echo $newsobject['image']; ?>)<?php if($i != '1'){ ?>; display: none<?php } ?>"> <div class="promo-content-container"> <div class="promo-content"> <div class="title"><?php echo $newsobject['title']; ?></div> <div class="body"><?php echo $newsobject['shortstory']; ?></div> </div> </div> <div class="promo-link-container"> <div class="enter-hotel-btn" // I found this release on another forum, I just fixed it up abit.> <div class="open enter-btn"> <a href="{url}/index.php?url=news&id=<?php echo $newsobject['id']; ?>">Read the full article »</a> <b></b> </div> </div> <div style="color:#FFF;margin-top:25px;margin-left:10px;">Posted on: <b><?php echo date('F d, Y', $newsobject['published']); ?></b></div> </div> </div> [IMG]http://i60.tinypic.com/2djzdwi.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
cms help.
Top