Home >Web Front-end >HTML Tutorial >How to put the displayed time on the left? _html/css_WEB-ITnose

How to put the displayed time on the left? _html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:59:242065browse

Why put this time on the left! ! !


Reply to discussion (solution)

Let the word time be displayed on the left, not on the right. My code is as follows:








Time


body>

Put the td corresponding to the time in front

function show() {		var tr=document.getElementById("id");		for(time=23;time>=0;time--){		var cell=document.createElement("td"); 		cell.innerHTML=time+":00";		tr.appendChild(cell);		}	}

Just float it left

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn