-
Member
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?
-
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
-
Senior Member
Did TopStyle help you out?
-
Uhhh... You do realize that Netscrap has a horrible history of not being able to support CSS? (getting better with NN6 though!)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks