Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Media Wiki CSS (minor, but annoying issue)

    Hi Folks! Wonderful google directed me here!

    I'm curious if you genius's can help me out, currently setting up a wiki based on wow content (yes... another!) and using the wowwiki CSS based on monobook (i think)

    The site is www.brewwiki.co.uk and displays differently in firefox and IE6/7
    The trouble is the top bar where it says article/edit etc has a box seems to overlap on IE7 but not firefox where it stays behind.
    Essentially I would prefer to remove this box completely, but I can't find what is causing it?

    heres the CSS im using, any help would be hugely appreciated!
    http://www.vodor.net/files/main.css

    Also it doesnt do this on the original css - which if needed I will upload

    Many Thanks

    -Vod
    Last edited by Vodor; 10-03-2007 at 12:55 AM.

  • #2
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Found some new info, when I used a firefox developers toolbar I selected this box and it came back with this bit of CSS code

    Code:
    .pBody {
        font-size: 95%;
        background-color: #333;
        border-collapse: collapse;
        border: 1px solid #aaa;
        padding: 0 .8em .3em .5em;
    }
    So I looked up the original and it shows this (one extra line) but both do the same thing

    Code:
    .pBody {
    	font-size: 95%;
    	background-color: white;
    	color: black;
    	border-collapse: collapse;
    	border: 1px solid #aaa;
    	padding: 0 .8em .3em .5em;
    }
    Any Ideas?


    Many Thanks

    Vod

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    pBody {
    font-size: 95%;
    background-color: white;
    color: black;
    border-collapse: collapse;
    border: 1px solid #aaa;
    padding: 0 .8em .3em .5em;

    It's possible that the missing line is inheriting it anyway from a parent.
    My knowledge of css is far from complete, so I may be wrong, but properties do get inherited.

    http://www.w3.org/TR/REC-CSS2/cascade.html#inheritance

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #4
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for that.

    I've been looking at it a bit more, I even copied and pasting over from the original CSS but all it did was change the colour.

    If I removed that section completely then the whole left side navigation vanishes, boxes and all (including the top bar I don't want) It just ended up confusing me.

    I'll try what you mentioned and see what happens.

    Cheers
    Vod

  • #5
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ah no luck,

    I've got a program that will show the original and the modified one side by side and shows all the changes/new text etc.

    Would you know what sort of keywords im looking for to see if I can weed out where this issue is?

    Cheers
    Vod
    (half suspecting the css is for an older wiki version and I'm chasing a ghost)


  •  

    Posting Permissions

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