CSS help. May sound odd.

Discussion in 'Software' started by Lapsed, Nov 11, 2005.

  1. Lapsed

    Lapsed Corporal

    I dont have very good knowledge with XCSS , and I was wondering if anyone on the Major Geeks forums , ergo .
    Well here is what I want to do and I want to know if it is possible with CSS.

    I want to cover the whole screen with a black background , but it had to cover everything on the page , ( www.myspace.com ) If you are familiar with the website , I want to cover everything from the freinds menu to the comments menu. Then what I want to do is apply a flash file to the top middle of the page , this not being covered. How exactly would I accheive this with CSS?

    If it is impossible I am sorry for asking , but then again no question is stupid.

    Thanks in advance for all the help with everything ,

    ---Lapsed.

    I will try and upload an image of what I want it to look like , but help if you can. I think I've waffled on a bit to much , I'll be going now, and sorry about the typo's. If there is any.
     
  2. Le4rner

    Le4rner Private E-2

    No it is not totaly impossible per say...

    You could float an iFrame and use zindex, ot make a div

    Code:
    ################
    #      the CSS           #
    ################
    .black_table     {
                     z-index: 10;
                     background-color: #000000;
                     position: absolute;
                     top: 1;
                     left:1;
                     height: 100%
                     width: 100%
    }
    
    ###
    <Div class="black_table">
    ..::Flash code here::..
    </div>
    
    The problem with this is form elements in IE have a infinite z-index value. THe z-Index is a kind of layering tool.

    Think of it like a stack of pancakes. z-Index: 1 is the bottom most pancake, layer 2 is the next one up and so forth. You can also used negative numbers.

    Thing is in Internet destroyer form element such as text boxes are set to infinite, meaning they will show through anything you put over them. Now I know there are ways around this with some very complex Javascript/DHTML as I have seen cascading menues get around it.
     
    Last edited: Nov 17, 2005

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds