Forum Moderators: open

Message Too Old, No Replies

Frameborder command problems

         

Enigmatic

4:50 am on Oct 29, 2003 (gmt 0)

10+ Year Member



Does anyone know why I can't get my frame to change color or increase in thickness? Here is the code I'm using. Note that I added some code (frameborder="yes" border="2" bordercolor="000000") to try and make my border 2 pixels wide and black instead of that default beveled look. Any help would be greatly appreciated.

var iframecode='<iframe id="external" style="width:100%;height:300px" frameborder="yes" border="2" bordercolor="000000" src="http://www.example.com/page.htm"></iframe>'

Thanks,

Enigmatic

[edited by: tedster at 5:03 am (utc) on Oct. 29, 2003]

DrDoc

6:43 am on Oct 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can use CSS if you want:

iframe {
border: 2px solid black;
}

Enigmatic

8:34 am on Oct 29, 2003 (gmt 0)

10+ Year Member



Thanks DrDoc,

Your advice worked like a charm. I appreciate the help and only wish I had thought of that. Thanks again,

Enigmatic