Hi,

FTP external link CSS looks like that:

#bodyContent a.external[href ^="ftp://";],
.link-ftp {
        background: url(file_icon.gif) center right no-repeat;
        padding: 0 18px;
}

The padding is 18px on the left AND on the right and 0px otherwise.
This is though I guess to reserve space for the small icon placed on the
right of the link.

I have two questions:
* Why we have defined a padding also on the left (and not set padding: 0
18px 0 0;)?
* Why on the online site we do not see the padding on the left?

I ask these questions, because after using the dumpHTML extension, I have
this issue:
I see the 18px big padding on the left with the static html files.

See this old bug report
https://bugzilla.wikimedia.org/show_bug.cgi?id=20828

Thanks for your help
Emmanuel


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to