Warren Post wrote:
Thanks, I´ll give that a try.
Please quote the relevant part(s) of the post you're replying to, we
don't all memorize all the posts we read and write all day in numerous
groups :-)
Why so complicated?
Good question. This is one of those projects that has sprawled as it has
grown, and my code isn´t exactly clean anymore. All observations welcome,
including ¨your code sucks¨.
[<http://www.cafecopan.com/dev/20050523/>]
I'd just use a strict doctype, including the declaration url, and
decide between HTML and XHTML. If your doctype says HTML, don't use
/> at the end of the image tags.
And change Café Copán in the alt text also to Café
Copán, like you did everywhere else.
Other than that, your code seems fine to me :-)
If the CSS code isn't clean anymore like you said, I usually start
over. I'll have in my head (my own head, not the page's) the most
important rules, which I'll write again first, and then I build it up
fresh, so I don't get the blocks of CSS where I have forgotten why
exactly I gave something a certain height, width, margin or padding.
I do this using Firefox, and when all looks well, I check the other
browsers. Besides ending up with cleaner code, and having a second
chance to not forget to comment a couple of rules that are there for a
less obvious reason but still really are needed, I also learn from
discovering some things for the second time.
--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -