canmove, Confirmed users
737
edits
| Line 50: | Line 50: | ||
===Dealing with images=== | ===Dealing with images=== | ||
For images: | For images: | ||
# Find them in your SDK installation at doc/static-files/media/. | |||
# Upload them to MDN by clicking "Attach Files" down at the bottom. | |||
# Then you can embed them in the article by clicking the button in the WYSIWYG editor just above the "B", and finding them in the dialog that appears. | |||
If the image is big, make sure the "Width" and "Height" fields are empty, or the image will be distorted. | If the image is big, make sure the "Width" and "Height" fields are empty, or the image will be distorted. | ||
Generally I think centred images look nice. I do this by selecting the "Advanced" tab in the image-insertion dialog and pasting this" "display: block; margin-left: auto; margin-right: auto;" into the "Style" box. | Generally I think centred images look nice. I do this by selecting the "Advanced" tab in the image-insertion dialog and pasting this" "display: block; margin-left: auto; margin-right: auto;" into the "Style" box. | ||