Rants and raves

Nesting multi-line comments in CSS

Multi-line comments in CSS follow the C style of commenting. The beginning of the block is indicated by a /* and the end of the block is indicated by */. For example, in the following block:

#header {
  /* margin-top: 10px;
  margin-bottom: 10px;*/
  float: left;
  clear: both;
}

Is Drupal slow and bloated?

I came across a couple of interesting articles today:

Why Drupal is so slow
Why Drupal is so slow (part 2)

Form data lost when clicking on a link and going back

I just experienced one of my least favorite occurrences while writing content on a web form. In a nutshell, I was writing a blog entry and then decided that I wanted to embed some URL links in it. It immediately brought to mind that Drupal uses filtered HTML by default, which then made me consider which tags are supported by default. Thinking a good review was in order, I clicked the 'More information...' link on the Create Content page. Okay, that review was nice. Now I click 'Back' in my browser to continue where I left off in my blog entry. Doh! My previously written text is gone!



Syndicate content