Change color of hyperlinks to black
Change color of hyperlinks to black
neelsf
Posts: 15Questions: 6Answers: 1
All my data in the table has a hyperlink href attached and the color is now light blue. How can i change it to black or bold to make it darker and easier to read?
<script type="text/javascript" language="javascript" >
$(document).ready(function() {
var dataTable = $('#employee-grid').DataTable( {
"processing": true,
"serverSide": true,
"columnDefs": [ {
"targets": 0,
"orderable": false,
"searchable": false,
"className": "dt-center", "targets": "_all",
"render": function ( data, type, row ) {
return '<a href="update2u.php?u=' + row[1] +'">' + data + '</a>';`
Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This discussion has been closed.
Answers
Define your own CSS style.
Or use CSS to change the default colour:
Allan
Thank you, thank you it worked Allan