Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Overwriting <img> "src" attribute with css "content" does not work

  • பதில்கள் இல்லை
  • 1 இந்த பிரச்சனை உள்ளது
  • 8 views

Hello,

Seems there is some difference between Firefox and other browsers.

If you want to overwritethe src of an image, you can use "content" from css. In my case this is used for customerspecific styling, being done via CSS only, while the default image is provided directly over src attribute inside html.

https://jsfiddle.net/atXoR/qn4he25v/

This Problem appears in Firefox for Windows and Firefox for Android This Problem doesnt appear for Chromium', Firefox on IOs, Safari on IOs


Greetings, Stephan

Hello, Seems there is some difference between Firefox and other browsers. If you want to overwritethe src of an image, you can use "content" from css. In my case this is used for customerspecific styling, being done via CSS only, while the default image is provided directly over src attribute inside html. https://jsfiddle.net/atXoR/qn4he25v/ This Problem appears in '''Firefox for Windows''' and '''Firefox for Android''' This Problem doesnt appear for Chromium', Firefox on IOs, Safari on IOs Greetings, Stephan