Can this be achieved with CSS rather than inline styles.