Home» Forum» Web & Tech» (HTML)why does FR automatically add "display: inline-block; max-width: 100%"

(HTML)why does FR automatically add "display: inline-block; max-width: 100%"

Back to Web & Tech

ive been stressing why my code works differently on this website from how it worked when i tested it, turns out it automatically adds "display: inline-block; max-width: 100%". why does it do that & HOW DO I GET RID OF IT (just removing it & saving doesnt work)


originalon FR


originalthis site

top imgs are the original, bottom imgs are this site

mkay i managed to fix it myself. doesnt seem like i can remove the properties themselves but i can modify them. the problem was the "max-width:" was "100%" instead of "(num)px". 

so i changed it to "100px". i also needed to add "!important" after, otherwise FR will just overwrite it. i modified the html n now it looks like this:

max-width: 100px !important;

i needed to do this w each individual line which was a pain lol 

result with !important added

result with no !important (got overwritten by FR) (squished :dizzy:)

ah yeah, you should be able to get around that by specifying it yourself, and you'll have to put on !important for most friendrewind css. inline+100% is tacked on to keep people from ignorantly posting elements that are like 50000x50000px at full size and making the site unusable :p

img_6aa7a887bc1339.33616960.webp
1 reply

@already 

ohh i see, i thought it was a bug or something lol ty for explaining :d:

You must be logged in to reply.