BrainCMS Broken Image

Status
Not open for further replies.

Detox

Member
Jul 24, 2010
365
24
Hey,

I've been working on Habbo Theme for BrainCMS but this image is broken

Image:

2a6twdl.jpg


Full Image:

11twqz5.jpg


Code:

PHP:
<div id="promo-box">
<div id="promo-bullets"></div>
<?php
               $sql = $dbh->prepare("SELECT id,title,image,shortstory FROM cms_news ORDER BY id DESC LIMIT 5");
               $sql->execute();
               while ($news = $sql->fetch())
               {
echo'
<div class="promo-container" style="border-radius: 5px; background-image: url('.filter($news["image"]).');">
<div class="promo-content-container">
<div class="promo-content">
<div class="title">'.filter($news["title"]).'</div>
<div class="body">'.filter($news["shortstory"]).'</div>
</div>
</div>
<div class="promo-link-container">
<div class="enter-hotel-btn">
<div class="open enter-btn">
<a style="padding: 0 8px 0 19px;" href="/news/'.filter($news["id"]).'">Read More »</a>
</div>
</div>
</div>
</div>';
               }
               ?>
</div>
</div>
<script type="text/javascript">
                    document.observe("dom:loaded", function() { PromoSlideShow.init(); });
                </script>
 

Detox

Member
Jul 24, 2010
365
24
It's a CSS issue, yet you've posted no CSS lol

No need to give the server-side code with a client-side issue

But why is the button div class="open enter-btn" works no problem on the enter client tab

common.css

 

TesoMayn

Boredom, it vexes me.
Oct 30, 2011
1,482
1,482
Load the page locally, view the source



Put the HTML, and CSS in the respective spots, and upload the enter_button.png to imgur
 

Detox

Member
Jul 24, 2010
365
24
Load the page locally, view the source



Put the HTML, and CSS in the respective spots, and upload the enter_button.png to imgur

Here you go I don't know if your able to see it

 
Status
Not open for further replies.

Users who are viewing this thread

Top