Site fixed:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CSS Positioning Example</title>
<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
</head>
<body>
<div id="masthead">
<h1>Masthead</h1>
</div>
<div id="navigation">
<span class="navItem">Navigation item 1</span> | <span
class="navItem">Navigation item 2</span> | <span class="navItem">Navigation
item 3</span> | <span class="navItem">Navigation item 4</span> | <span
class="navItem">Navigation item 5</span> |
</div>
<div id="content">
<h1>Headline</h1><p>Article goes here</p>
</div>
</body>
</html>
The stylesheet was fine, although I did change the div tag to an id of
content which you'll want to reflect in your stylesheet. The issue was the
formatted tags which are special characters that browsers don't recognize,
which Dreamweaver 8 doesn't do, btw, but Word is a culprit.
Cheers,
Kenny
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Design Groups
Sent: Monday, April 17, 2006 6:44 AM
To: Mark Fellowes; [email protected]
Subject: Re: [css-d] Stumped
I know this seems stupid, and I'm probably going to sound like an idiot for
saying this...but did the previous author (or whomever coded this stuff) use
soemthing like Dreamweaver (or God forbid, Microsoft Word) to code out this
stuff?
The reason I ask is because I'm seeing some funky characters in spots they
shouldn't be in, and I'm thinking it's possible that the browsers are
reading those funky characters and dismissing them as invalid input - this
rendering these weird issues.
For example:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
See there? your quotation marks are formatted - they aren't "text-only".
And in your body of the HTML, ALL of your quotation marks are formatted
text - not text only.
I know it seems silly, but maybe that's the problem?
As for div#body - I think that's just the name he gave for the content area.
It's not because he wants to redo the body of the entire page - he just
chose a poor name for it. Normally, it'd be called "#content" or something
along those lines.
HTH!
~Shelly
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/