Michael Netherton wrote:
> I'm an old school coder. I've been writing sites for more than ten 
> years and I'm trying to get my head around CSS. As an old dog and I'm
>  trying to learn some new tricks, but this is turning out to be 
> incredibly frustrating.
...
> http://www.mocap (dot) com/default2.asp

You should go back to the basics first, and produce clean source-code.
These articles are a good starting-point...
<http://www.sitepoint.com/article/html-37-steps-perfect-markup>
<http://www.sitepoint.com/forums/showthread.php?t=393445>
...and even the following might be useful...
<http://www.gunlaug.no/contents/wd_1_06_03.html>

The rest shouldn't be all that problematic then, and may end up looking
something like this...
<http://www.gunlaug.no/tos/alien/test_8660.html>

A few issues - that I have corrected:
- the 'W3C box-model'[1] must be taken into account.
- 'collapsing margins'[2] play a role and must be controlled.
- XHTML is case-sensitive.
- XHTML *must* be well-formed.

Also: All browsers can override font-sizes defined in pixels, so your
navigation may break into more than one line. Get used to it.

Note: I used HTML Tidy to clean up your code...
<http://www.gunlaug.no/contents/wd_1_07.html>
...so the whole operation only took .2 second.

regards
        Georg

[1]http://www.w3.org/TR/CSS21/box.html#box-dimensions
[2]http://www.w3.org/TR/CSS21/box.html#collapsing-margins
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to