"Derek Harmon" wrote ...
Try adding a CSS style sheet. The DTD validates the structure of the
document and directs a browser's interpretation of the markup. The
CSS governs the styling and appearance of that markup.
In your <head> element, add something like:
<style type='text/css'>
a, p, span { font: 24pt sans-serif; }
</style>
The intent of this CSS makes text appearing in <a>, <p>, and <span>
tags a 24pt font. You'd adjust this font face/size to your requirements,
probably add other tags you wish to style, and/or qualify them to key
them to particular regions of your document (e.g., give those regions,
such as where the copyright text is placed, their own class attribute).
Hi Derek,
Thank you for your reply.
I already have a style sheet included in my HEAD tag via <link
rel="stylesheet"... etc etc... it was pretty much the original one that VS
drops in each web app for you, but with a couple of changes - its contents
are below...as you can see (at the very bottom) I already have some classes
for the specific regions in question....not sure what browsers you may have
available but if you want to see exactly whats happening, the pages in
question is here:
http://82.45.33.175/BodyShop/Default.aspx http://82.45.33.175/BodyShop/ImageRepository.aspx
(as I said, fine in IE though)..
Head section:
<HEAD>
<title>BodyShop</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<LINK href="Styles.css" type="text/css" rel="stylesheet">
</HEAD>
CSS content:
/* Default CSS Stylesheet for a new Web Application project */
BODY
{
BACKGROUND-COLOR: white;
FONT-FAMILY: Arial, Verdana, Helvetica, sans-serif;
FONT-SIZE: .6886em;
FONT-WEIGHT: normal;
LETTER-SPACING: normal;
TEXT-TRANSFORM: none;
WORD-SPACING: normal
}
H1, H2, H3, H4, H5, TH, THEAD, TFOOT
{
COLOR: #000000;
}
H1 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 2em;
font-weight: 700;
font-style: normal;
text-decoration: none;
word-spacing: normal;
letter-spacing: normal;
text-transform: none;
}
H2 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 1.75em;
font-weight: 700;
font-style: normal;
text-decoration: none;
word-spacing: normal;
letter-spacing: normal;
text-transform: none;
}
H3 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 1.58em;
font-weight: 500;
font-style: normal;
text-decoration: none;
word-spacing: normal;
letter-spacing: normal;
text-transform: none;
}
H4 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 1.33em;
font-weight: 700;
text-decoration: none;
word-spacing: normal;
letter-spacing: normal;
text-transform: none;
}
H5, DT {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 1em;
font-weight: 700;
font-style: normal;
text-decoration: none;
word-spacing: normal;
letter-spacing: normal;
text-transform: none;
}
H6 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: .8em;
font-weight: 700;
font-style: normal;
text-decoration: none;
word-spacing: normal;
letter-spacing: normal;
text-transform: none;
}
TFOOT, THEAD {
font-size: 1em;
word-spacing: normal;
letter-spacing: normal;
text-transform: none;
font-family: Arial, Helvetica, sans-serif;
}
TH {
vertical-align: baseline;
font-size: 1em;
font-weight: bold;
word-spacing: normal;
letter-spacing: normal;
text-transform: none;
font-family: Arial, Helvetica, sans-serif;
}
TD {
FONT-FAMILY: Arial, Verdana, Helvetica, sans-serif;
FONT-SIZE: .6886em;
FONT-WEIGHT: normal;
LETTER-SPACING: normal;
TEXT-TRANSFORM: none;
WORD-SPACING: normal
}
A:link {
text-decoration: underline;
color: #0000FF;
}
A:visited {
text-decoration: underline;
color: #333399;
}
/*
A:active {
text-decoration: none;
color: #FF0000;
}
*/
A:hover {
text-decoration: none;
color: #FF0000;
}
SMALL {
font-size: .7em;
}
BIG {
font-size: 1.17em;
}
BLOCKQUOTE, PRE {
font-family: Courier New, monospace;
}
UL LI {
list-style-type: square ;
}
UL LI LI {
list-style-type: disc;
}
UL LI LI LI {
list-style-type: circle;
}
OL LI {
list-style-type: decimal;
}
OL OL LI {
list-style-type: lower-alpha;
}
OL OL OL LI {
list-style-type: lower-roman;
}
/*
IMG {
margin-top: 5px;
margin-left: 10px;
margin-right: 10px;
}
*/
..copyrightText
{
FONT-FAMILY: Arial, Verdana, Helvetica, sans-serif;
FONT-SIZE: .626em;
FONT-WEIGHT: normal;
LETTER-SPACING: normal;
TEXT-TRANSFORM: none;
WORD-SPACING: normal;
COLOR: #666666;
}
..headingText
{
FONT-FAMILY: Arial, Verdana, Helvetica, sans-serif;
FONT-SIZE: 1.0em;
FONT-WEIGHT: 700;
LETTER-SPACING: normal;
TEXT-TRANSFORM: none;
WORD-SPACING: normal;
COLOR: #000000;
}
Regards
Rob