+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member kareem's Avatar
    Join Date
    Jun 1999
    Location
    California, Les Etats Uni
    Posts
    420

    Dreamweaver: add borders with CSS

    I'm using Dreamweaver 4 and I can't seem to add borders to a cell that will show in Netscape. Does anyone know how to do this?

  2. #2
    Member
    Join Date
    Jul 2001
    Location
    Sydney, Australia
    Posts
    125
    As I recall using css you have to do something like this to add borders

    for say navigation using a border this is what I am doing

    // --- This goes into a MyStyle.css file ---//

    .MyTD
    {
    background-color: #999999;
    border-right: #FFFFFF 1px solid;
    border-top: #FFFFFF 1px solid;
    border-bottom: #FFFFFF 1px solid
    }

    .MyLink
    {
    font-family: Verdana;
    color: #FFFFFF;
    font-size: 8pt;
    text-decoration: underline
    }

    // ------------------------------------ //

    // --- Add this line to the <head> of your .html file
    <link rel="StyleSheet" type="text/css" href="MyStyle.css">

    // --- This should be your code --- //

    <td onmouseover="this.style.backgroundColor='#990000'" onmouseout="this.style.backgroundColor='#999999'"& gt;
    <a style="MyLink" href="home.htm">home</a>
    </td>

    // --------------------------------------- //

    hope that helps
    cya

  3. #3
    Senior Member rh71's Avatar
    Join Date
    Oct 1999
    Location
    LI | NY
    Posts
    782
    Did TopStyle help you out?

  4. #4
    Member
    Join Date
    Jan 2001
    Location
    Bellevue, WA
    Posts
    78
    Uhhh... You do realize that Netscrap has a horrible history of not being able to support CSS? (getting better with NN6 though!)
    -Digital D.

Bookmarks

Posting Permissions

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







New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke