Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jan 2013
    Posts
    10
    Thanks
    3
    Thanked 1 Time in 1 Post
    Points: 5,078, Level: 45
    Points: 5,078, Level: 45
    Overall activity: 0%
    Overall activity: 0%
    Achievements:
    Veteran5000 Experience Points

    Exclamation Problem while trying to create a custom style

    Hello,

    I am trying to create a gallery type style for the forum (basicly a big thumnail view) but i ran into a very annoying problem with forum html.
    When open any forum display (like http://www.anime-sharing.com/forum/hentai-games-38/) the preview image (img.preview)
    is located inside a <a> tag that looks like this:
    Code:
    <a class="threadstatus" rel="vB::AJAX" style="height:58px !important;width:60px !important;padding-right:8px;background: none !important;" title=""> 
      <img class="preview" src="https://i4.imagetwist.com/th/30357/aybm13c48h1n.jpg" style="width:50px;height:50px;border:1px solid #c8c8c8;background:#fff;padding:2px;display:block;" title="">
    </a>
    My problem is that the a-tag has its height and width attributes written into the element itself and with the !important keyword. That is bad design and makes it impossible for me to overwrite those attributes by including my own style.
    It's possible to change it using javascript but a custom style should just include css.

    Could you look into it and maybe remove the !important keyword or find another way make those attributes rewritable?

    thanks

  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Posts
    Many
     

  3. #2
    ピュア&イノセント Checkmate's Avatar
    Join Date
    Oct 2010
    Location
    Castle Groundgroup
    Posts
    6,627
    Thanks
    202
    Thanked 5,216 Times in 823 Posts
    Points: 151,034, Level: 100
    Points: 151,034, Level: 100
    Overall activity: 0%
    Overall activity: 0%
    Achievements:
    Three FriendsOverdriveRecommendation First ClassTagger Second ClassVeteran50000 Experience Points

    Re: Problem while trying to create a custom style

    Hey there.

    I understand your frustration. However, this codebase is roughly 10 years old. Calling it ancient is an understatement. A newer version is being developed which adhere to the latest standard.

    What you're trying to do - here I call it masonry listing style is also included in the new iteration. It means that I don't really want to touch this one until the deployment of our second major upgrade.

    I only post what I bought. My uploads are for those who share the same taste but could not easily import them. If you can buy the game, please do it to support the company.
    Bugs report belong to the Site Support, not my inbox.

  4. #3
    Junior Member
    Join Date
    Jan 2013
    Posts
    10
    Thanks
    3
    Thanked 1 Time in 1 Post
    Points: 5,078, Level: 45
    Points: 5,078, Level: 45
    Overall activity: 0%
    Overall activity: 0%
    Achievements:
    Veteran5000 Experience Points

    Re: Problem while trying to create a custom style

    Ok, thanks for the infos.

    Guess all i can do is wait and see.
    I think you know already know about this, but it makes people very happy when you make your redesign as style friendly as possible. Like avoiding the important keyword, a proper use of css classes and a clean/simple html structure.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trying to find a hentai from a while ago.
    By MasterD3bater in forum Hentai Corner
    Replies: 1
    Last Post: November 25th, 2017, 06:39 PM
  2. Problem when try to run Majikoi S
    By ArandomUser in forum Tech Support and Talk
    Replies: 27
    Last Post: May 3rd, 2016, 10:13 AM
  3. Help Me!!! Problem when try to run Majikoi S!!!
    By arcabuzcruz in forum Questions & Answers
    Replies: 9
    Last Post: November 29th, 2013, 08:22 AM
  4. Replies: 2
    Last Post: March 9th, 2013, 06:22 PM
  5. Error when trying to start a hentai game
    By Virality13 in forum Tech Support and Talk
    Replies: 0
    Last Post: January 26th, 2012, 09:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •