I wanted to add a new column to my table after the first column, like you can in MySQL. Turns out you can’t do that…
Add Column BEFORE/AFTER another column in PostgreSQL
1
I wanted to add a new column to my table after the first column, like you can in MySQL. Turns out you can’t do that…
I used the CSS :last-child and :after selectors to hack the content: property on my menu lists. Basically items in the menu have a pipe ‘|’ between them, except no pipe before or after the list. I did that in CSS with:
#menu li:after { content: ' | '; } #menu li:last-child:after { content: ''; }