Remository remositoryfileblock Class

As we stated earlier, each file has its own wrapping div called div.remositoryfileblock. This class is defined in remository.html.php, fileListing function. The file heading is displayed in an H3 tag so we can style this element by using css contextual selectors as follows.

 

 

Styling the file heading

div.remositoryfileblock h3{
/* CSS Styles */
}

 

Remository remositoryfileblock Class

 

As you can see from the above image, we can format the file heading links and the images within the H3 tag.

 

Styling the heading link

div.remositoryfileblock h3 a{
/* CSS Styles */
}

 

Styling the heading images

div.remositoryfileblock h3 a img{
/* CSS Styles */
}

 

Defined in:

remository.html.php

 

Assigned to:

DIV Tag

 

remositoryfileblock class example

div.remositoryfileblock {
/* CSS Styles */
}