Menu

#23 CSS element names

open
nobody
General (3)
5
2004-12-09
2004-12-09
LT-P
No

It could be useful to haave non-generic names for
classes and ids in phpix, as the gallery can me merged
into a webpage.

I am thinkiing of using things like

div.phpix_content {
background-color: white;
/* align: center; */
margin-left: auto;
margin-right: auto;
}

instead of

div.content {
background-color: white;
/* align: center; */
margin-left: auto;
margin-right: auto;
}

because I could have been using a class "content" into
my own CSS files.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.