Lan Hui 2022-06-17 22:13:20 +08:00
commit dd87db0c3c
3 changed files with 5 additions and 4 deletions

View File

@ -24,7 +24,7 @@ if (mysqli_connect_errno()) {
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<!-- *this css file can be used across all the websites <!-- *this css file can be used across all the websites
and any new css class can be added there. and any new css class can be added there.
* the reason is was made was to make the code reusable. * The reason is to make the css code reusable.
* the css file is used by submissions.php * the css file is used by submissions.php
--> -->
<link href = "./css/main.css" rel = "stylesheet" type = "text/css" /> <link href = "./css/main.css" rel = "stylesheet" type = "text/css" />

View File

@ -262,8 +262,8 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Marked' Order by lab
if ($att4 != "") { if ($att4 != "") {
$full_link = $full_link . "| <a href='~\..\Lab_Report_Submisions\\$att4'>$att4</a>"; $full_link = $full_link . "| <a href='~\..\Lab_Report_Submisions\\$att4'>$att4</a>";
} }
// you will notic why i used span here to wrap the submitted by name // you will notice why i used span here to wrap the $submitted_by variable
// because if we wrap with span , the css class text-selectable can be used only the submittedBy name // because if we wrap with span , the css class text-selectable can be used only by the submittedBy variable
// if you want to use text-selectable class on whole div, just call the css class // if you want to use text-selectable class on whole div, just call the css class

View File

@ -1,10 +1,11 @@
/* this css class is used to enable copying in texts with the mouse. */ /* this css class is used to enable copying in text with the mouse. */
.text-selectable { .text-selectable {
-webkit-user-select: text; -webkit-user-select: text;
-moz-user-select: text; -moz-user-select: text;
-ms-user-select: text; -ms-user-select: text;
user-select: text; user-select: text;
cursor:auto
} }