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

Thread: Frame Question

  1. #1
    New Coder
    Join Date
    Jul 2003
    Location
    england
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Frame Question

    Hi all, how can i make the frame border on iframes one pixel wide and black?


    <iframe src="http://yoursite.com" name="portfolio" width="697" height="447" frameborder="1" scrolling="yes"></iframe>

    Thanks 4 your help:
    wappo

  • #2
    me'
    me' is offline
    Senior Coder
    Join Date
    Nov 2002
    Location
    Warwickshire, England
    Posts
    1,229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <style>
    iframe { border: 1px solid #000 }
    </style>

    Put that in your <head></head> section.
    David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
    W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!

  • #3
    New Coder
    Join Date
    Jul 2003
    Location
    england
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Great! Thanks


  •  

    Posting Permissions

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