Style preview code