Jump to content

Question

6 answers to this question

Recommended Posts

  • 0
Posted

Agreed.  A dark color on a white background may be nice for the Source, but after it is posted, it may be difficult to read on a dark background.  Would be better to change the background on the source if possible. 

  • 0
Posted

The hard part is finding where my CSS changes are valid.  Usually my fixes are overwritten somewhere else in the many css files.  I was only able to get it to turn grey by adding the !important attribute, which has potential to cause problems.  

 

I'll see if I can do the same for the width.

  • 0
Posted
10 minutes ago, Yamagata 1st MRB said:

The hard part is finding where my CSS changes are valid.  Usually my fixes are overwritten somewhere else in the many css files.  I was only able to get it to turn grey by adding the !important attribute, which has potential to cause problems.  

 

I'll see if I can do the same for the width.

I ended up removing my comment and moving it to another thread since this one already had a reply marked as the solution.

 

In any case, the relevant style was on the actual element, and not in any of the css files. Changing "width: 100%" to "max-width: 100%" was enough to change it since element style has higher specificity than class style.

 

Unless the style is being added to the element via javascript (a la jQuery), it should be editable in the relevant template or html file.

 

In regards to !important, I agree. It can lead to unintended side effects that are sometimes hard to trace down later.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Recent Posts

    • Name: CHOCOMOCO_SD   Steam I.D: STEAM_0:0:52447046   Duration of Ban: Permanent   Reasons for the Ban: Racist comments   Demo Provided?: N   Comments: Said the N word twice
    • Its Friday Night Fight Night in HLL and me and Muthas are in different squads. We meet up while attacking a point: Me: Muthas! Let's go get the poiple toineps! Muthas: Hah poi....   We are immediately cut down by a MG.   Steam messages:  Muthas: LMFAOO Me:OMFG! ROFLMAO!
    • Name: elon musk   Steam I.D: STEAM_0:0:918906720   Duration of Ban: Permanent   Reasons for the Ban: Racist comments and Mass Team Killing   Demo Provided?: N   Comments: Keebler reported in public chat, sent screen shot of typed comments  
    • Hey Reis! Great to see you again, man. The unit means a lot to all of us and I know you were here for quite some time. There’s always room for you to come back   *Salute*
    • I dont know how many of the people that know me or what i did in the unit are still here. But i just wanted to leave a huge thank you on the forums to this unit, that i was a part of for so many years, and all the good times and hardships i shared with a lot of different people from all over the world.    Maybe i'll still see you in DoD:s   *Salute*
×
×
  • Create New...