tag:blogger.com,1999:blog-4098620.post6386750047068015538..comments2024-03-15T04:02:42.341-04:00Comments on CrimLaw: Yes, I'm CuSS'ingUnknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-4098620.post-79166372569614259632008-05-13T23:02:00.000-04:002008-05-13T23:02:00.000-04:00Ken, I don't care one hoot what you do to your sit...Ken, I don't care one hoot what you do to your site and how you do it. Just as long as it is there when I want to read it and something new and interesting is on it. What am I saying, it is <B>always</B> interesting.<BR/><BR/>Now after this, do I get that special plea, if I ever should need it? :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4098620.post-31894358532191964592008-05-11T21:30:00.000-04:002008-05-11T21:30:00.000-04:00Sorry, man, I went all geek on you...Sorry, man, I went all geek on you...Windypundithttps://www.blogger.com/profile/01788171819370012437noreply@blogger.comtag:blogger.com,1999:blog-4098620.post-57880425949576005512008-05-11T12:39:00.000-04:002008-05-11T12:39:00.000-04:00Probably one of the most useful CSS bits for me ha...Probably one of the most useful CSS bits for me has been defining and using classes. It allows me to flag different types of content and control their appearance from one central location. (I see you have already defined classes ".commenthidden" and ".commentshown")<BR/><BR/>You could also use classes with elements, such as defining CSS for "blockquote.blog", "blockquote.court", and "blockquote.statute". Then you could add 'class="statute"' to a blockquote element when quoting from a statute and use the CSS to style each different quote source slightly differently. Or not.<BR/><BR/>Also check out all the margin, border, padding, and background CSS. They offer a lot of careful control of appearance.<BR/><BR/>I'm not convinced of the evils of table layouts, but I've switched to CSS layouts just because everyone else is doing it. CSS helps separate content from layout, but to do it in the real world you have to use a templating engine, like Blogger or MovableType or Wordpress.<BR/><BR/>You mentioned Basic and Pascal: The original Basic programming language was fine for small programs, but it became harder and harder to use on larger programs. Pascal solves some of that. All modern computer languages include Pascal-like features (including Javascript, PHP, and Visual Basic). I've worked on 200,000-line programs maintained by teams, and you really begin to appreciate modern language design under those circumstances.<BR/><BR/>A lot of these kinds of computer wonky things make a lot more sense when used on large-scale projects. If us bloggers were instead maintaining 50,000-page e-commerce sites, we might appreciate CSS a lot more.<BR/><BR/>Finally, if you're going to switch to more formal web development, you might find it helpful to try to get your site to generate 100% valid HTML. The combination of valid HTML and CSS is supposed to make your page display much more consistently across different browsers, and advocates claim it helps with search engines.<BR/><BR/>According to the site validator.w3.org, your page has 2156 errors. That's not as bad as it sounds because your page has about 80 posts on it and each HTML problem can produce 3-5 validation error messages, meaning that fixing a single template problem can remove 300 validation errors.<BR/><BR/>Then again, validation maybe oversold: Google isn't valid (64 errors) and neither is MySpace (148 errors) or Amazon (1397 errors), yet they seem to be enjoying some success.Windypundithttps://www.blogger.com/profile/01788171819370012437noreply@blogger.comtag:blogger.com,1999:blog-4098620.post-12965853970109761762008-05-11T09:19:00.000-04:002008-05-11T09:19:00.000-04:00GideonSorry, I meant to link to the logo. I'll fix...Gideon<BR/><BR/>Sorry, I meant to link to the logo. I'll fix it.Ken Lammershttps://www.blogger.com/profile/15646250142814585354noreply@blogger.comtag:blogger.com,1999:blog-4098620.post-65851559296783777422008-05-11T09:17:00.000-04:002008-05-11T09:17:00.000-04:00kg2v,Yes, I see that and if the layout were going ...kg2v,<BR/><BR/>Yes, I see that and if the layout were going to be multiple use, across a variety of pages, it would make more sense. And you've confirmed my suspicion that there more advanced functions which can be tapped into because of the separation.<BR/><BR/>However, for first time user me this translated into a lot of checking the preview, seeing an error, and then returning to the layout page and scrolling back and forth between the top and bottom of the layout trying to figure out what I screwed up. Still, as I said in the post, I've been using tables since 2003 and am extremely comfortable with them. 5 years from now I'll probably feel the same about CSS.<BR/><BR/>Next step: javascript.Ken Lammershttps://www.blogger.com/profile/15646250142814585354noreply@blogger.comtag:blogger.com,1999:blog-4098620.post-65540672357108567712008-05-11T07:34:00.000-04:002008-05-11T07:34:00.000-04:00You're missing a "home" button. Maybe make the log...You're missing a "home" button. Maybe make the logo clickable?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4098620.post-74606685275218985572008-05-11T03:20:00.000-04:002008-05-11T03:20:00.000-04:00The HUGE difference is that done RIGHT, you totall...The HUGE difference is that done RIGHT, you totally seperate the "content" of your web page from the "Layout" of the web page<BR/><BR/>Then you can start getting fancy (I don't) - for instance - detect which browser the person is on, and feed them different CSS based on Browser or personal prederence (if they have a login)<BR/><BR/>Like I said, the main idea is to seperate content and layout. It gets even more interesting is you get to the point of moving your content over into xhtml, and you can start using "descriptive" tags for your data. For instance, tags that say, "this is a Federal Cite" vs "This is State" etc - and you can then tell the CSS "format those differently"<BR/><BR/>Excuse any poor typing tonight - it's 3:15am - been up in pain since 2:45, waiting for my pain meds to kick in enough to go to sleepKG2Vhttps://www.blogger.com/profile/13350584786062942799noreply@blogger.com