Αυτός ο ιστότοπος θα έχει περιορισμένη λειτουργικότητα, όσο εκτελούμε εργασίες συντήρησης για να βελτιώσουμε την εμπειρία σας. Αν ένα άρθρο δεν επιλύει το ζήτημά σας και θέλετε να κάνετε μια ερώτηση, η κοινότητα υποστήριξής μας είναι έτοιμη να σας βοηθήσει στο Twitter (@FirefoxSupport) και στο Reddit (/r/firefox).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

Image resizing not working

  • 3 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από lilolabanana

more options

When I go to

http://tardis.wikia.com/wiki/Closing_Time_%28TV_story%29

The picture of the robot take half of the screen overlapping the text and causing the layout to go all haywire.

So is there a way to fix this?

P.S: That same site doesn't seem to have a problem with layout when i use Chrome but does have the same problem when i use IE.

When I go to http://tardis.wikia.com/wiki/Closing_Time_%28TV_story%29 The picture of the robot take half of the screen overlapping the text and causing the layout to go all haywire. So is there a way to fix this? P.S: That same site doesn't seem to have a problem with layout when i use Chrome but does have the same problem when i use IE.

Τροποποιήθηκε στις από το χρήστη lilolabanana

Επιλεγμένη λύση

That would be this code in userContent.css

@-moz-document domain(tardis.wikia.com){
 .info-pic { max-width:324px !important; }
}

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

Ανάγνωση απάντησης σε πλαίσιο 👍 1

Όλες οι απαντήσεις (3)

more options

I think this is one of those indeterminate measurement problems, where the image is sized to 100% of the element it is contained in, but that is a floated element sized to 40% of its container, and blah blah, anyway, I have a headache from this site.

Anyway, you can make it behave by injecting a definite size into the page. As a proof of concept, you can use the Web Console. Copy the folloowing line of script:

var r=".info-pic{max-width:324px !important}"; var s=document.createElement("style"); s.type="text/css"; s.appendChild(document.createTextNode(r)); document.body.appendChild(s);

Press Ctrl+Shift+k to open the Web Console, the paste the script on the bottom line next to the caret (») and press Enter to inject the new style rule into the page. The column should take its proper position.

To apply this full time, you could create (or edit) a userContent.css file, or use the Stylish extension. However, I'm out of time to elaborate at the moment.

more options

Επιλεγμένη λύση

That would be this code in userContent.css

@-moz-document domain(tardis.wikia.com){
 .info-pic { max-width:324px !important; }
}

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

more options

EDit, thx this work.

Τροποποιήθηκε στις από το χρήστη lilolabanana