Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: CSS help, please?  (Read 3441 times)

0 Members and 1 Guest are viewing this topic.

GlitchPC

  • Guest
CSS help, please?
« on: June 15, 2011, 08:51:42 AM »
Bet you didn't expect to hear from me, did ya?   ;)

Anyhow, I have an SMF board...latest version 2.0 Final.  I have a mod installed that appears to have a CSS issue.  I have contacted the author of the mod...and the author of the theme I am using...and they've proved to be no help regarding this issue...so, I'm hoping someone, here, will be able to take a look at the issue I'm having and offer up a solution.

Okay, now that that's out of the way...my issue:  (see attached image)

As you can see...there's a white area below "Not Spammer:  This data wasn't..."  The white area should be two additional lines with similar text next to the images....and a blue background, just like the above mentioned line.

I've attached the image, the HTML, as well as the CSS for the particular theme I'm using.  So, if anyone can offer up a solution it would be greatly appreciated.

[recovering disk space - old attachment deleted by admin]

kpac

  • Web moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: CSS help, please?
« Reply #1 on: June 15, 2011, 12:05:54 PM »
Hey Steve. Is there another CSS for the mod itself? Can't find the "leyend_stopspammer" class in the index CSS...

GlitchPC

  • Guest
Re: CSS help, please?
« Reply #2 on: June 15, 2011, 01:07:34 PM »
Hello, kpac...and thanks for replying.  No, I cannot find one after extracting the .zip file for this mod.  There are some PHP and XML files, but nothing css related...unless it's hardcoded into the package install.

GlitchPC

  • Guest
Re: CSS help, please?
« Reply #3 on: June 15, 2011, 08:38:48 PM »
kpac,

Attached is updated CSS file...

[recovering disk space - old attachment deleted by admin]

kpac

  • Web moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: CSS help, please?
« Reply #4 on: June 16, 2011, 03:25:46 AM »
I can't figure out what's the fix, but here's something you can use.

Code: [Select]
<div class="floatright">

    <div class="additional_row titlebg">
        <div style="text-align: center">73 Spammers blocked up until today</div>
    </div>
   
    <div class="additional_row titlebg">
        <div style="margin: auto" class="leyend_stopspammer">
            <img src="http://glitchpc.net/Themes/default/images/icons/moreinfo.gif" alt="Icon MoreInfo" style="vertical-align: middle" /> Not Spammer: This data wasn't in a DB. But you can check
        </div>
    </div>
           
    <div class="additional_row titlebg">
        <div style="margin: auto" class="leyend_stopspammer">
            <img src="http://glitchpc.net/Themes/default/images/icons/suspect.gif" alt="Icon Suspect" style="vertical-align: middle" /> Suspect: This member couldn't be checked. Check now
        </div>
    </div>
   
    <div class="additional_row titlebg">
        <div style="margin: auto" class="leyend_stopspammer">
            <img src="http://glitchpc.net/Themes/default/images/icons/spammer.gif" alt="Icon Spammer" style="vertical-align: middle" /> Spammer: See more info of activity of this spammer
        </div>
    </div>
           
    <div class="additional_row titlebg" style="text-align: right;">
        <label>In Stop Forum Spam Web:</label>
        <input type="submit" name="spammers_checks" value="Check these Members" onclick="return confirm('Are you sure you want to check the selected members?');" />
        <input type="submit" name="spammers_report" value="Report these Members" onclick="return confirm('Are you sure you want to report the selected members?\n\nThink that when you report a member to SFS they are marked as spammer all over the world\nand they won\'t be able to use any of the forums connected to SFS around the world.\n\nDo it only if you are completely sure they are spammers and if by any chance you make a mistake\ntell as soon as possible the mod\'s creator to correct the mistake inside the SFS database.');" />
    </div>
   
    <div class="additional_row" style="text-align: right;">
        <input type="submit" name="delete_members" value="Delete Selected Members" onclick="return confirm('Are you sure you want to delete the selected members?');" class="button_submit" />
    </div>
               
</div>

...basically just adding another "additional_row titlebg" class to every line which isn't appearing properly. Hopefully that'll work.

GlitchPC

  • Guest
Re: CSS help, please?
« Reply #5 on: June 16, 2011, 03:53:00 AM »
Thanks, kpac, but...I found a simpler solution.

Added this to the end of the CSS file:

Code: [Select]
.leyend_stopspammer {
background-color: #00639C;
}

Worked like a champ and I ended up with this image...see attached.

Thanks for taking the time to look at it, though.  Sorry, if I wasted your time.

[recovering disk space - old attachment deleted by admin]

kpac

  • Web moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: CSS help, please?
« Reply #6 on: June 16, 2011, 03:55:45 AM »
No problem, never even thought of something that simple.