Results 1 to 6 of 6

Thread: css prob :(

  1. #1
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default css prob :(

    How do i get the border on the left an right not transparrent?
    the code is:
    HTML Code:
    <div style="width:270;color:black;background:white;border-left:1px solid #000000;border-right:1px solid #000000;filter:alpha
    (opacity=50)">Test</div> 
    +Rep For Help
    Lets set the stage on fire, and hollywood will be jealous.

  2. #2
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    You made the opactiy 50&#37;? - Probs not lol

  3. #3
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Blob View Post
    You made the opactiy 50%? - Probs not lol
    i know, i want the box to be 50% and the border to be 100%
    Lets set the stage on fire, and hollywood will be jealous.

  4. #4
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Code:
    <style type="text/css">
    <!--
    .Test {
        position:absolute;
        left:55px;
        top:31px;
        width:270px;
        z-index:1;
        color: #000000;
        background-color: #FFFFFF;
        border-left-width: 1px;
        border-left-style: solid;
        border-right-style: solid;
        border-right-width: 1px;
        filter: alpha;
    }
    -->
    </style>
    </head>
    
    <body>
    <div id="Test">Text</div>
    </body>
    That What you mean


  5. #5
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    HTML Code:
    <div style="width: 270px; border: 1px solid #000000; border-top: none; border-bottom: none;"><div style="width: 100&#37;; color: black; background-color: white; filter: alpha(opacity=50); opacity: 0.5;">Xyzzy</div></div>
    There's most likely an easier way, such as using a semi-transparent PNG image as a background (however, I'm unsure how legacy IE browsers would render such a page).
    kinda quit.

  6. #6
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    drompo and nets i +reped u. problem is fixed, ty
    Lets set the stage on fire, and hollywood will be jealous.

Posting Permissions

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