The CSS is a separate issue. Just get the functionality right first then you can worry about how it looks later.