PDA

View Full Version : Border Iframe


hairynugs6382
09-07-2002, 05:13 AM
Is it possible to only have a border on one side of an iframe such as with tables this way

.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/

LunchBox
09-07-2002, 08:27 AM
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.

hairynugs6382
09-07-2002, 04:42 PM
i tried with table! but not span or div ill try thanks lunchbox!

hairynugs6382
09-07-2002, 04:47 PM
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??

Quiet Storm
09-07-2002, 07:52 PM
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;

joh6nn
09-07-2002, 10:19 PM
actually, "none" is one of the allowed options. it just defeats the purpose here.

hairynugs6382
09-07-2002, 10:23 PM
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!

Quiet Storm
09-07-2002, 10:25 PM
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.