You’ve got your LINK for the CSS AFTER and before – in STRICT that would be invalid markup… generally LINK has NO business being used outside of This is why MOST developers add a DIV around everything to set the width AND centering. It’s generally bad practice to set a width on BODY since it’s not well supported cross-browser. You aren’t grasping how nesting works, or the difference between block-level and inline-level (and the default display states therein).Ī media type on that CSS link wouldn’t hurt, since it’s doubtful you want to send this styling to print or other media types. You’re building a new site, there’s no reason for the loose tranny – transitional is for supporting old/outdated/half-assed coding techniques circa 1998, not building new sites. Having the first heading on a page being a h2 – first heading should be a h1, all other level headings being by definition SUBSECTIONS of that h1. You’re also doing a number of things that from a compatibility standpoint and/or accessibility standpoint are bad practice. I think you’re just missing a few basic concepts of making HTML and CSS… of course that you have a picture in mind BEFORE you have the content on the page usually means (to me at least) your development process is BACKWARDS. How is it that it’s is so difficult to understand?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |