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 8 of 8

Thread: Border Iframe

  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    Sacramento, California
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Border Iframe

    Is it possible to only have a border on one side of an iframe such as with tables this way
    Code:
    .borderright{border:1px; border-color:#46626A; border-left-style:none; border-bottom-style:none; border-top-style:none;}
    but it won't work its driving me crazy.
    in this cause i want the border to only be on right side of the frame am i doing it wrong here is the site:
    http://www.evilfreak.web1000.com/
    Hairynugs


    Simple is best.

  • #2
    New to the CF scene
    Join Date
    Sep 2002
    Location
    SB, California
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i dont exactly know the iframe attributes, but you can try putting the iframe inside a div with {border-right: 1px solid black}. im not sure if this will work though.

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Location
    Sacramento, California
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i tried with table! but not span or div ill try thanks lunchbox!
    Hairynugs


    Simple is best.

  • #4
    Regular Coder
    Join Date
    Aug 2002
    Location
    Sacramento, California
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It still doesn't work i can not figure it out the has to be a way i have seen it done before? Unless it was not done on an iframe but if you can state the hole border you should be able to state one side of the border and the color??
    Hairynugs


    Simple is best.

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    First, you didn't actually set the 'border-style' options:
    • dotted
    • dashed
    • solid
    • double
    • groove
    • ridge
    • inset
    • outset


    "none" is not an option.

    Second, use this instead:
    border-width: 0px; border-right: 1px solid #46626A;
    Last edited by Quiet Storm; 09-07-2002 at 11:37 PM.
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #6
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    actually, "none" is one of the allowed options. it just defeats the purpose here.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #7
    Regular Coder
    Join Date
    Aug 2002
    Location
    Sacramento, California
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I know that it is an option because i have used it on other pages to diable all the borders but one! Or just the vertical borders!
    Hairynugs


    Simple is best.

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello?! Did you even try the code?



    border-width: 0px; border-right: 1px solid #46626A;


    It's a lot easier to tell the browser what you want, not what you don't want.
    Last edited by Quiet Storm; 09-07-2002 at 11:40 PM.
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·


  •  

    Posting Permissions

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