+ Reply to Thread
Results 1 to 3 of 3

Thread: CSS in MediaWiki

Share/Bookmark
  1. #1
    Junior Member ovcrash is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    11
    Rep Power
    2

    Default CSS in MediaWiki

    Hi,

    I would like to add CSS in my mediawiki, i have added the extension. But now my problem is to get the images. Here is a little part of my code :

    Code:
    .ro { 
    background:url(**Image here**) top right no-repeat; 
    margin:0; 
    padding:0; 
    }
    How can i add a image from the wiki, where it's written **image here**.
    I tryed adding [[image:file1.jpg]] and it does not work.

    Any input would be appreciated.

    Thanks!

  2. #2
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,418
    Rep Power
    10

    Default

    [[image:file1.jpg]] is wikitext, which is only understood by the wiki. CSS does not understand wikitext. You have to put in the URL of the image.

    If you go to Special pages and then File path, you can enter the name of the image (e.g. file1.jpg). The page will tell you the URL.
    Private message are for private information. Please post public questions. Thanks

  3. #3
    Junior Member ovcrash is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    11
    Rep Power
    2

    Default

    I'm trying to create a round corner box in a wiki page, but nothing works.
    Everything is parsed weird.

    anyone has a solution ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts