|
Posted by Spartanicus on 03/17/06 17:44
Martin Clark <martin@spl.at> wrote:
>>Now, perhaps someone is able to offer some suggestions for the other 3
>>problems I mentioned? They are still there even with the corrected CSS!
>
>I have now solved two of these problems by removing the ".container" div
>and setting margin and padding properties for "body".
>
>I am still trying to find a way to make the white text in the header
>area wrap in a 800 px window, rather than overflow across the photo.
>Newest version: http://www.tamevalley.freeserve.co.uk/hcs/index2.htm
>
>Any suggestions as to which properties I should be looking at would be
>appreciated.
You should fix these issues:
Use a Strict doctype, Transitional is for legacy documents who's code
can otherwise not be updated, and what you have now triggers quirks
mode.
Move the CSS to an external stylesheet.
Remove the presentational markup.
Two navbars are a nuisance, one suffices.
Nav links should be marked up as an unordered list, not as paragraphs.
Remove the spacer gifs, use CSS instead.
Fix your header structure, add one <h1> with "Huddersfield Canal
Society" as it's content.
Remove the <hr> and , use CSS instead.
Your body text size is uncomfortably small for me, there's little point
in specifying text-size:100% if you then reduce it to 90% for
..maincolumn
Fix your alt text, the logo is merely decorative, use alt="".
You've used far to many classes.
Don't use <br> to create spacings, use CSS.
Don't use characters ( ][ )to separate links, specify a border with CSS.
Don't use absolute positioning for the header, there is no need to do so
and it results in the problem you are seeing.
--
Spartanicus
Navigation:
[Reply to this message]
|