Javascript初学者ですが、お世話になります。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>無題 1</title> <style type="text/css"> .content { position: relative; width: 1640px; height: 1050px; border: 1px solid #000000; } .photo { background-image: url('DSC_0112.JPG'); width: 100%; height: 100%; background-repeat: no-repeat;}
.mozi{
position: absolute;
top: 50px;
left: 20px;
width: 210px;
height: 30px;
background-color: #c6001c;
color: #ffffff;
padding: 10px;
font-size: 30px;
text-align: center;
}
</style>
この<div class="mozi">のところに変数AXの内容を表示したいですが、上手くいきません。
方法を御教示ください。
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。