Hi all,
Have uploaded my first stab at a website. You can find it at
I use Explorer 6, and the layout is as planned with bordered top title bar including 'inlayed' pictures, plain grey background throughout except title bar and menu bar on left.
Great (I thought! - please feel free to comment on / criticise site design) but when I went to do a quick check in Netscape 7.0 it does not look so good! Top border is too small, and background colours do not work as in IE. Also the paragraph seperation is different and all the text clumps up.
Could anyone shed any light on why? Have tried to fiddle with the obvious settings but no joy. All pages, inlcuding CSS, validate at W3c.
Have inlcuded the CSS file at the end of this thread so you can try and spot my errors.
All help / comments greatly appreciated.
The relevant CSS code:
body {margin:0px;padding:0px;font-family:verdana, arial, helvetica,
sans-serif;color:#ffffff;background-color:#eee;}
h1 {margin:0px 0px 0px 0px;padding-bottom:0px;font-size:36px;line-height:36px;
font-weight:600;color:#000000;background-color:#eee;font-family:Verdana,arial,sans-serif;letter-spacing:1pt;position:relative;left:5px;}
h2 {margin:0px 0px 10px 0px;padding:0px;font-size:22px;line-height:22px;
font-weight:600;color:#000000;background-color:#eee;text-align:center;}
h2.plain {margin:0px 0px 10px 0px;padding:0px;font-size:22px;line-height:22px;
font-weight:600;color:#000000;background-color:#eee;text-align:left;}
h2.left {margin:0px 0px 10px 0px;padding:0px;font-size:22px;line-height:22px;
font-weight:900;color:#d2691e;background-color:#eee;text-align:left;}
h2.brown {margin:0px 0px 10px 0px;padding:0px;font-size:22px;font-family:cursive,verdana,arial,sans-serif;line-height:22px;
font-weight:900;color:#d2691e;background-color:#eee;text-align:center;}
h3 {margin:0px 0px 10px 0px;padding:0px;font-size:12px;line-height:12px;
font-weight:900;color:#000000;background-color:#eee;}
h3.brown {margin:0px 0px 10px 0px;padding:0px;font-size:12px;line-height:12px;
font-weight:900;color:#d2691e;background-color:#eee;}
p.small{font:10px Verdana,Sans-serif;}
b.brown{color:#d2691e;background-color:#eee;}
#Content>p {margin:0px;}
#Content>p+p {text-indent:30px;}
a.mail {color:#000000;background-color:#eee;font-size:18px;text-decoration:underline;font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;}
a.mail:link {color:#000000;background-color:#eee;}
a.mail:visited {color:#000000;background-color:#eee;}
a.mail:hover {color:#000000;background-color:#eee;}
a.large {color:#000000;background-color:#ffffff;font-size:32px;text-decoration:none;font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;}
a.large:link {color:#000000;background-color:#ffffff;}
a.large:visited {color:#000000;background-color:#ffffff;}
a.large:hover {color:#000000;background-color:#ffffff;}
a.small {color:#000000;background-color:#eee;text-decoration:none;font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;}
a.small:link {color:#000000;background-color:#eee;}
a.small:visited {color:#000000;background-color:#ee;}
a.small:hover {color:#000000;background-color:#ffffff;}
a.plain {color:#d2691e;background-color:#eee;font-size:22px;text-decoration:none;font-weight:900;
font-family:cursive, arial, helvetica, sans-serif;}
a.plain:link {color:#d2691e;background-color:#eee;}
a.plain:visited {color:#d2691e;background-color:#eee;}
a.plain:hover {color:#d2691e;background-color:#ffffff;}
#Header {
margin:20px 20px 10px 20px;
padding:0px 0px 0px 10px;
/* For IE5/Win's benefit height = [correct height] + [top padding] + [top and bottom border widths] */
height:38px; /* 32px + 0px + 6px = 38px */
border-style:double;
border-color:#c0c0c0;
border-width:3px 0px; /* top and bottom borders: 1px; left and right borders: 0px */
line-height:11px;
background-color:#ffffff;color:#000000;
voice-family: "\"}\"";
voice-family:inherit;
height:22px; /* the correct height */
}
body>#Header {height:14px;}
#Content {position: absolute; top: 110Px; left: 255px; width:60%; height:80%;overflow:visible;
color: #000000;
background-color:#eee;
font: 12px Verdana, sans-serif;padding-left:10px;padding-bottom:5px;
font-weight:900;}
#Menu {position:absolute;top:110px;left:20px;width:172px;padding:15px;
background-color:#ffffff;color:#000000;line-height:27px;
text-align:center;font-weight:900;
voice-family: "\"}\"";
voice-family:inherit;
width:172px;
font:10px Verdana,sans-serif;
font-weight:900;
}
body>#Menu {width:172px;}
#Menu a {color:#d2691e;background-color:#ffffff;font-size:14px;text-decoration:none;font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;}
#Menu a:link {color:#d2691e;background-color:#ffffff;}
#Menu a:visited {color:#d2691e;background-color:#ffffff;}
#Menu a:hover {color:#d2691e;background-color:#eee;}
#Menu a span {display: none;}
#Menu a:hover span {display: block;
position: absolute; top: 480px; left: 8px; width: 172px;
padding-left:5px;padding-right:5px;; margin: 0px; z-index: 100;
color: #000000; background-color:#ffffff;
font: 10px Verdana, sans-serif; text-align: center;}
img.left {position:relative; left:0px; border:0px}
img.right3 {position:relative;left:66%;top:3px;}
img.right2 {position:relative;left:54%;top:3px;}
img.right1 {position:relative;left:42%;top:3px;}
(END of CSS)
PS I know the above is not laid out as 'recommended' but I find it much easier to manage that way than
{
stuff
}
Have uploaded my first stab at a website. You can find it at
I use Explorer 6, and the layout is as planned with bordered top title bar including 'inlayed' pictures, plain grey background throughout except title bar and menu bar on left.
Great (I thought! - please feel free to comment on / criticise site design) but when I went to do a quick check in Netscape 7.0 it does not look so good! Top border is too small, and background colours do not work as in IE. Also the paragraph seperation is different and all the text clumps up.
Could anyone shed any light on why? Have tried to fiddle with the obvious settings but no joy. All pages, inlcuding CSS, validate at W3c.
Have inlcuded the CSS file at the end of this thread so you can try and spot my errors.
All help / comments greatly appreciated.
The relevant CSS code:
body {margin:0px;padding:0px;font-family:verdana, arial, helvetica,
sans-serif;color:#ffffff;background-color:#eee;}
h1 {margin:0px 0px 0px 0px;padding-bottom:0px;font-size:36px;line-height:36px;
font-weight:600;color:#000000;background-color:#eee;font-family:Verdana,arial,sans-serif;letter-spacing:1pt;position:relative;left:5px;}
h2 {margin:0px 0px 10px 0px;padding:0px;font-size:22px;line-height:22px;
font-weight:600;color:#000000;background-color:#eee;text-align:center;}
h2.plain {margin:0px 0px 10px 0px;padding:0px;font-size:22px;line-height:22px;
font-weight:600;color:#000000;background-color:#eee;text-align:left;}
h2.left {margin:0px 0px 10px 0px;padding:0px;font-size:22px;line-height:22px;
font-weight:900;color:#d2691e;background-color:#eee;text-align:left;}
h2.brown {margin:0px 0px 10px 0px;padding:0px;font-size:22px;font-family:cursive,verdana,arial,sans-serif;line-height:22px;
font-weight:900;color:#d2691e;background-color:#eee;text-align:center;}
h3 {margin:0px 0px 10px 0px;padding:0px;font-size:12px;line-height:12px;
font-weight:900;color:#000000;background-color:#eee;}
h3.brown {margin:0px 0px 10px 0px;padding:0px;font-size:12px;line-height:12px;
font-weight:900;color:#d2691e;background-color:#eee;}
p.small{font:10px Verdana,Sans-serif;}
b.brown{color:#d2691e;background-color:#eee;}
#Content>p {margin:0px;}
#Content>p+p {text-indent:30px;}
a.mail {color:#000000;background-color:#eee;font-size:18px;text-decoration:underline;font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;}
a.mail:link {color:#000000;background-color:#eee;}
a.mail:visited {color:#000000;background-color:#eee;}
a.mail:hover {color:#000000;background-color:#eee;}
a.large {color:#000000;background-color:#ffffff;font-size:32px;text-decoration:none;font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;}
a.large:link {color:#000000;background-color:#ffffff;}
a.large:visited {color:#000000;background-color:#ffffff;}
a.large:hover {color:#000000;background-color:#ffffff;}
a.small {color:#000000;background-color:#eee;text-decoration:none;font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;}
a.small:link {color:#000000;background-color:#eee;}
a.small:visited {color:#000000;background-color:#ee;}
a.small:hover {color:#000000;background-color:#ffffff;}
a.plain {color:#d2691e;background-color:#eee;font-size:22px;text-decoration:none;font-weight:900;
font-family:cursive, arial, helvetica, sans-serif;}
a.plain:link {color:#d2691e;background-color:#eee;}
a.plain:visited {color:#d2691e;background-color:#eee;}
a.plain:hover {color:#d2691e;background-color:#ffffff;}
#Header {
margin:20px 20px 10px 20px;
padding:0px 0px 0px 10px;
/* For IE5/Win's benefit height = [correct height] + [top padding] + [top and bottom border widths] */
height:38px; /* 32px + 0px + 6px = 38px */
border-style:double;
border-color:#c0c0c0;
border-width:3px 0px; /* top and bottom borders: 1px; left and right borders: 0px */
line-height:11px;
background-color:#ffffff;color:#000000;
voice-family: "\"}\"";
voice-family:inherit;
height:22px; /* the correct height */
}
body>#Header {height:14px;}
#Content {position: absolute; top: 110Px; left: 255px; width:60%; height:80%;overflow:visible;
color: #000000;
background-color:#eee;
font: 12px Verdana, sans-serif;padding-left:10px;padding-bottom:5px;
font-weight:900;}
#Menu {position:absolute;top:110px;left:20px;width:172px;padding:15px;
background-color:#ffffff;color:#000000;line-height:27px;
text-align:center;font-weight:900;
voice-family: "\"}\"";
voice-family:inherit;
width:172px;
font:10px Verdana,sans-serif;
font-weight:900;
}
body>#Menu {width:172px;}
#Menu a {color:#d2691e;background-color:#ffffff;font-size:14px;text-decoration:none;font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;}
#Menu a:link {color:#d2691e;background-color:#ffffff;}
#Menu a:visited {color:#d2691e;background-color:#ffffff;}
#Menu a:hover {color:#d2691e;background-color:#eee;}
#Menu a span {display: none;}
#Menu a:hover span {display: block;
position: absolute; top: 480px; left: 8px; width: 172px;
padding-left:5px;padding-right:5px;; margin: 0px; z-index: 100;
color: #000000; background-color:#ffffff;
font: 10px Verdana, sans-serif; text-align: center;}
img.left {position:relative; left:0px; border:0px}
img.right3 {position:relative;left:66%;top:3px;}
img.right2 {position:relative;left:54%;top:3px;}
img.right1 {position:relative;left:42%;top:3px;}
(END of CSS)
PS I know the above is not laid out as 'recommended' but I find it much easier to manage that way than
{
stuff
}