Jump to content

Centurion_13

WFG Retired
  • Posts

    1.326
  • Joined

  • Last visited

Posts posted by Centurion_13

  1. not really. you must have the actual tables in each html document with a class or id which the css then uses to position for example look at this div layout. if you change the css part, it will change all the sites with those divs

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html>
    <head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="</span>" />
    <<span style='color:blue'>/head>
    <body>

    <div class="c6">
    <div class="c1">
    <div class="c2">B-1-1</div>
    <div class="c3">B-1-2</div>
    <div class="c3">B-1-3</div>
    <div class="c4">B-1-4</div>
    </div>
    <div class="c5">
    <div class="c2">B-1-1</div>
    <div class="c3">B-1-2</div>
    <div class="c3">B-1-3</div>
    <div class="c4">B-1-4</div>
    </div>
    <div class="c1"><!-- --></div>
    </div>

    </body>
    </html>


    MAIN.CSS

    .c1 {
     clear:both;
    }

    .c2 {
     float:left;width:25%;
    }

    .c3 {
     float:left;width:25%;border-left:1px solid #000000;
    }

    .c4 {
     float:left;width:24%;border-left:1px solid #000000;
    }

    .c5 {
     border-top:1px solid #000000;clear:both;
    }

    .c6 {
     border:1px solid #000000;
    }

    You may have to resort to php or another server side script if you want to do that.

  2. look above

    or you can do it like this as well

    <style type="text/css" media="all">
    @import url(style_images/css_3.css);
    </style>

    thats what the WFG forums uses.

    In Firefox, go view>page style>no style, and you will see what it would look like without the link

    The links make it similar to a client side preprocessed script. because it acts the same as if the file contents are in the page.

  3. CSS is your friend for this

    You make an external CSS file. Its exactly the same as making normal CSS except without the style tags. Save it to a .css file and link to it with the link tag

    One of the many reasons I love CSS.

    just put that one line in all the required pages and you only need to change the one file to change them all.

    For example

    <head>
    <title>Untitled</title>
    <link rel="stylesheet" type="text/css" href="script/layout.css" />
    </head>

  4. good question. AoM just used a transparent blueish layer on the water surface. when the camerea went under neath it, all the underwater area looked as if it was on land and if you have the camera so the water is only half way up the screen you got this bluish line at the top of the water.

×
×
  • Create New...