Primitive css layout writer implemented