www.webdeveloper.com
Results 1 to 6 of 6

Thread: i frame border control

  1. #1
    Join Date
    Feb 2004
    Posts
    15

    i frame border control

    i want to change the color of an i frame border. i was told to go to that w3school, but they do not tell you the code they just give examples on the basic things. no instruction for changing an i frames border color just borders in general. i am working on www.bbrmusic.com/Main.html i need to have 2 i frames next to each other but with no borders. please give detailed code info. the last person to reply to my post gave vague instructions on what to do.

  2. #2
    Join Date
    Sep 2003
    Location
    Portsmouth, UK Occupation: Web Developer
    Posts
    2,602
    try

    <style type="text/css">
    iframe {
    border: 2px solid #cccccc;
    }
    </style>
    Richard Turner - A Virtual Insight

  3. #3
    add this to the iFrame:

    <iFrame frameborder="0">

    or use CSS like the example above but with your custom parameters.


    iframe { border:0; }
    <p)))><

  4. #4
    Join Date
    Sep 2003
    Location
    Portsmouth, UK Occupation: Web Developer
    Posts
    2,602
    that code is not supposrted by all browsers and i dontt think it is vald HTML, also he wants to change the colour of the border not get rid of it :P
    Richard Turner - A Virtual Insight

  5. #5
    Join Date
    Feb 2004
    Posts
    15
    thanks for all the help guys. much appreciated

  6. #6
    Join Date
    Sep 2003
    Location
    Portsmouth, UK Occupation: Web Developer
    Posts
    2,602
    no problem
    Richard Turner - A Virtual Insight

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles