Forum Moderators: open
Also, is there a way to make the border a solid line vs. a thick line and very thin line?
TIA
table {
border: 1px solid #0000cc;
} The first determines the border width. It can either be a unit, such as px or em; or a keyword, such as thin or medium.
The second tells us which type. It can be solid, double, dotted, dashed, inset, outset, ridge, etc.
The third, finally, is the color. While you can use keywords here (such as red, blue, gree, etc) it is generally advised to use an RGB hex code, such as the one above.
If you need to, you can play with various settings here [w3schools.com].
Now, I have another question. Why do the fonts Impact and Georgia look so much better on a Mac and in Safari for Windows?
Here are the styles that Dreamweaver created as I was creating the page:
v.style1 {
font-family: Impact, sans-serif;
font-style: italic;
font-size: 18px;
}
.style2 {
font-family: Impact, sans-serif;
font-size: 24px;
}
.style3 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-style: italic;
font-size: 16px;
}
.style5 {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
}
.style7 {
font-family: Impact, sans-serif;
font-size: 20px;
}
.style8 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 17px;
}
.style13 {font-family: Impact, sans-serif; font-size: 21px; }
.style14 {
font-size: 24px;
font-weight: bold;
}
.style15 {font-size: 21px}
.style16 {font-size: 25px}
.style17 {font-family: Impact, sans-serif; font-size: 25px; }
.style18 {
font-size: 16px;
font-weight: bold;
}
.style19 {font-family: Georgia, "Times New Roman", Times, serif}
.style20 {font-size: 17px}
.style22 {font-family: "Times New Roman", Times, serif; font-size: 17px; }
.style24 {font-family: "Times New Roman", Times, serif; font-size: 18px; }
It looks great on a Mac or in Safari, but very jagged on a PC.
Any ideas?
It also depends what resolution, what DPI, and what kind of monitor you have. Macs have special Monitors, and they have a different DPI setting.
[edited by: Xapti at 8:21 am (utc) on June 22, 2007]
I'm guessing it's because gmail does not have some of the font that is in the email, and it also can't handle CSS. I tried using "bordercolor" instead of CSS, and it showed up as gray. I used both "blue" and "#0000FF".
Advice?
maybe it's worth trying this syntax:
border-top:20px solid #FF0000;
border-right:20px dotted #00FF00;
border-bottom:20px dashed #0000FF;
border-left:20px groove #336699;
then you can play with the colours, the px settings and the edge-types:
solid, dotted, dashed, double, groove, ridge, inset and outset