Log in

View Full Version : Resolved Inheritance Problem



marain
07-12-2018, 01:32 PM
External CSS file has this code:



th.waitingTimes {
border-style: solid;
border-width: 2px;
border-color: blue;
margin: auto;
}

td.waitingTimes {
border-style: solid;
border-width: 2px;
border-color: blue;
margin: auto;
}


Related html code is:



<a id="how-long"></a><p>Q17. How long must I wait before I can expunge my conviction?</p>

<p>
A. All convictions require a waiting time before the court will let you expunge your record. Dismissals also will require a waiting time if the dismissal resulted from successful completion of a diversion. These times are as follows:</p>
<br />
<table class="waitingTimes">
<caption>Waiting Times in New Jersey Before Convictions and Some Dismissals Can Be Expunged<br /><br /></caption>
<tr>
<th>
Nature of Conviction<br /><br />
</th>
<th>
Waiting Time<br /><br />
</th>
</tr>
<tr>
<td>
Crime (Felony)
</td>
<td>
The full waiting period is ten years. However, the court will consider an application to expunge a felony conviction after five years. (The court refers to this as “early pathway.”) For early pathway, the court will require you to <a href="complexExpungements.php">show that granting the expungement is in the public interest</a>.
</td>
</tr>
<tr>
<td>
Disorderly Persons Offense (Misdemeanor)
</td>
<td>
The full waiting period is five years. However, the court will consider an application to expunge a disorderly persons conviction after three years. (The court refers to this as “early pathway.”) For early pathway, the court will require you to <a href="complexExpungements.php">show that granting the expungement is in the public interest</a>
</td>
</tr>
<tr>
<td>
Petty Disorderly Persons Offense (Misdemeanor)
</td>
<td>
The full waiting period is five years. However, the court will consider an application to expunge a petty disorderly persons conviction after three years. (The court refers to this as “early pathway.”) For early pathway, the court will require you to <a href="complexExpungements.php">show that granting the expungement is in the public interest</a>.
</td>
</tr>
<tr>
<td>
Juvenile Adjudication
</td>
<td>
Five years, or period for equivalent offense if committed by an adult, whichever is less.
<br />
<br />
Note that <a href="sealing.php">a separate process exists</a> whereby records of juvenile adjudications that cannot be expunged may be “sealed.” Sealing provides many of the same benefits that are obtained with expungement. The waiting period to seal juvenile delinquency adjudications is two years. For persons seeking entry into the United States Armed Forces, the two-year waiting period is waived.
</td>
</tr>
<tr>
<td>
Municipal Ordinance
</td>
<td>
Two years
</td>
</tr>
<tr>
<td>
Young Drug Offender
<br />(21 years of age or younger when offense was committed)&nbsp;&nbsp;&nbsp;
</td>
<td>
One year
</td>
</tr>
<tr>
<td>
Driving While Intoxicated (DWI/DUI)
</td>
<td>
DWI/DUI arrests and convictions cannot be expunged under New Jersey law. Please see Question 19, below, for more detailed information.
</td>
</tr>
<tr>
<td>
Dismissal following successful completion of diversion (PTI, Conditional Discharge, or Conditional Dismissal)
</td>
<td>
Six months
</td>
</tr>
<tr>
<td>
Not guilty by reason of insanity, or not guilty for lack of mental capacity
</td>
<td>
These dispositions cannot be expunged. However, if there was a commitment to a mental health facility, it may be possible to <a href="mentalhealthrecords.php">expunge that commitment</a>.
</td>
</tr>
<tr>
<td>
Final Restraining Order arising from domestic violence situation (“DVRO”)
</td>
<td>
Records relating to restraining orders cannot be expunged because restraining orders are civil in nature, not criminal. <a href="http://www.marainlaw.com/page.php?here=dom_viol" target="_blank">Information about restraining orders</a> is available elsewhere.
</td>
</tr>
<tr>
<td>
Dismissal, Other
</td>
<td>
No waiting time at all. Call us!
</td>
</tr>
</table>


The <th> and <td> elements are not presenting the borders that I seek. Other changes that I've made to the CSS file are duly reflected in the page presentation, so relating the external file to the page appears not to be the culprit. I suspect my error is "obvious," but I don't see it! Help anyone?

(The malfunctioning display is at Question 17 on https://www.njexpungements.com/faq.php)

A.

styxlawyer
07-12-2018, 02:26 PM
The class "waitingTimes" is applied to the parent 'table' element and not to the 'th' and 'tr' elements. Try this:



table.waitingTimes th {
border-style: solid;
border-width: 2px;
border-color: blue;
margin: auto;
}

table.waitingTimes td {
border-style: solid;
border-width: 2px;
border-color: blue;
margin: auto;
}

marain
07-12-2018, 02:42 PM
No luck :-(

styxlawyer
07-12-2018, 09:57 PM
It works OK for me. You probably need to collapse the borders on the table.

6303

deepvyas
07-13-2018, 10:39 AM
@marain I agree with code shared by @styxlawyer it works
Check once more on your end

marain
07-13-2018, 02:30 PM
Styxlawyer's text works on my end, too. When applied to the page in question, it does not work. So those who are saying that the problem lies elsewhere are correct, and I thank you.

My original question was whether this was an inheritance problem. Y'all have demonstrated that it is not; the problem lies elsewhere. I have more work to do.

Although the problem is not yet solved, your responses have been helpful: They are telling me where not to look ;-)

A.

marain
07-13-2018, 04:32 PM
I pasted Styxlawyer's text into my <head> section. The page now displays as desired!

That solves the immediate problem. Figuring out why this works and my original code does not; and figuring out why Styxlawyer's text did not work when I pasted it into my css external file, well, I'll play with that as time permits (which may be not too soon).

Thanks all. I'll mark my original question "resolved".

A.