Monday, January 17, 2011

horrible css again

<div class="clear"></div>
<div class="text_center pad10">- or -</div>
<div class="clear"></div>
...
.pad10 {
padding:10px;
}

.text_center {
text-align:center;
}

.text_right {
text-align:right;
}

.bg_white {
background-color:white;
}

.show {
display:block;
}

.hide {
display:none;
}
...

sigh

CSS is not a macro programming language.


Look, I know CSS is hard. That's why you get paid well; cause you are doing difficult things. Now for the love of god, do it right. Because all you are doing here is creating a mess.

No comments:

Post a Comment

Followers