質問編集履歴
5
CSSをcodeで追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -211,3 +211,779 @@
|
|
211
211
|
</html>
|
212
212
|
|
213
213
|
```
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
CSSを載せます。
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
```CSS
|
224
|
+
|
225
|
+
@charset "utf-8";
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
/* all reset */
|
230
|
+
|
231
|
+
html {
|
232
|
+
|
233
|
+
height: 100%;
|
234
|
+
|
235
|
+
}
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
body {
|
240
|
+
|
241
|
+
width: 100%;
|
242
|
+
|
243
|
+
height: 100%;
|
244
|
+
|
245
|
+
margin: 0;
|
246
|
+
|
247
|
+
padding: 0;
|
248
|
+
|
249
|
+
font-family: "MS ゴシック",sans-serif,"Hiragino Kaku Gothic Pro",Meiryo, Osaka,"MS PGothic", sans-serif;
|
250
|
+
|
251
|
+
clear: both;
|
252
|
+
|
253
|
+
}
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
img {
|
258
|
+
|
259
|
+
margin: 0;
|
260
|
+
|
261
|
+
padding: 0;
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
/* wrapper */
|
268
|
+
|
269
|
+
/* 1366(横) * 768(縦) */
|
270
|
+
|
271
|
+
#wrapper {
|
272
|
+
|
273
|
+
background-color: skyblue;
|
274
|
+
|
275
|
+
width: 100%;
|
276
|
+
|
277
|
+
margin: auto;
|
278
|
+
|
279
|
+
margin-top: 30px;
|
280
|
+
|
281
|
+
padding: auto;
|
282
|
+
|
283
|
+
border-top: solid 1px black;
|
284
|
+
|
285
|
+
border-left: solid 1px black;
|
286
|
+
|
287
|
+
border-bottom: solid 1px black;
|
288
|
+
|
289
|
+
}
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
/* section */
|
294
|
+
|
295
|
+
section {
|
296
|
+
|
297
|
+
float: right;
|
298
|
+
|
299
|
+
clear: both;
|
300
|
+
|
301
|
+
width: 75%;
|
302
|
+
|
303
|
+
height: 100%;
|
304
|
+
|
305
|
+
margin-bottom: 20px;
|
306
|
+
|
307
|
+
line-height: 2em;
|
308
|
+
|
309
|
+
border-right: solid 1px black;
|
310
|
+
|
311
|
+
}
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
section .chatroom_section {
|
316
|
+
|
317
|
+
margin: auto;
|
318
|
+
|
319
|
+
padding: auto;
|
320
|
+
|
321
|
+
text-align: center;
|
322
|
+
|
323
|
+
line-height: 1.5em;
|
324
|
+
|
325
|
+
width: 95%;
|
326
|
+
|
327
|
+
height: 515px;
|
328
|
+
|
329
|
+
overflow-y: scroll;
|
330
|
+
|
331
|
+
border: solid 1px black;
|
332
|
+
|
333
|
+
background-color: #fafafa;
|
334
|
+
|
335
|
+
clear: both;
|
336
|
+
|
337
|
+
}
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
section .chatroom_section .chatroom_say_left {
|
344
|
+
|
345
|
+
float: left;
|
346
|
+
|
347
|
+
margin: 0;
|
348
|
+
|
349
|
+
padding: 0;
|
350
|
+
|
351
|
+
width: 20%;
|
352
|
+
|
353
|
+
height: 15%;
|
354
|
+
|
355
|
+
clear: both;
|
356
|
+
|
357
|
+
}
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
section .chatroom_section .chatroom_say_left p {
|
362
|
+
|
363
|
+
color: #5a5a5a;
|
364
|
+
|
365
|
+
margin: 0;
|
366
|
+
|
367
|
+
padding: 0;
|
368
|
+
|
369
|
+
padding-top: 40px;
|
370
|
+
|
371
|
+
font-size: 10px;
|
372
|
+
|
373
|
+
clear: both;
|
374
|
+
|
375
|
+
}
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
section .chatroom_section .chatroom_say_left #chatroom_left_img {
|
380
|
+
|
381
|
+
margin: 0;
|
382
|
+
|
383
|
+
padding: 0;
|
384
|
+
|
385
|
+
padding-top: 5px;
|
386
|
+
|
387
|
+
width: 35%;
|
388
|
+
|
389
|
+
height: 50%;
|
390
|
+
|
391
|
+
clear: both;
|
392
|
+
|
393
|
+
}
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
section .chatroom_section .chatroom_say_front {
|
398
|
+
|
399
|
+
float: left;
|
400
|
+
|
401
|
+
width: 80%;
|
402
|
+
|
403
|
+
padding-top: 40px;
|
404
|
+
|
405
|
+
}
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
section .chatroom_section .chatroom_say_front_right {
|
410
|
+
|
411
|
+
float: left;
|
412
|
+
|
413
|
+
width: 80%;
|
414
|
+
|
415
|
+
}
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
.chatroom_say_right {
|
420
|
+
|
421
|
+
float: right;
|
422
|
+
|
423
|
+
margin: 0;
|
424
|
+
|
425
|
+
width: 20%;
|
426
|
+
|
427
|
+
height: 15%;
|
428
|
+
|
429
|
+
}
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
.chatroom_say_right p {
|
434
|
+
|
435
|
+
color: #5a5a5a;
|
436
|
+
|
437
|
+
margin: 0;
|
438
|
+
|
439
|
+
padding: 0;
|
440
|
+
|
441
|
+
padding-top: 10px;
|
442
|
+
|
443
|
+
font-size: 10px;
|
444
|
+
|
445
|
+
}
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
.chatroom_right_img {
|
450
|
+
|
451
|
+
margin: 0;
|
452
|
+
|
453
|
+
padding: 0;
|
454
|
+
|
455
|
+
padding-top: 5px;
|
456
|
+
|
457
|
+
width: 35%;
|
458
|
+
|
459
|
+
clear: both;
|
460
|
+
|
461
|
+
}
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
.day {
|
466
|
+
|
467
|
+
clear: both;
|
468
|
+
|
469
|
+
}
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
.day p {
|
474
|
+
|
475
|
+
color: #808080;
|
476
|
+
|
477
|
+
font-size: 12px;
|
478
|
+
|
479
|
+
}
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
.day hr {
|
484
|
+
|
485
|
+
width: 95%;
|
486
|
+
|
487
|
+
}
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
section h2#h2_section {
|
492
|
+
|
493
|
+
margin-top: 40px;
|
494
|
+
|
495
|
+
margin-left: 25px;
|
496
|
+
|
497
|
+
}
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
section #chatroom_config {
|
502
|
+
|
503
|
+
margin: auto;
|
504
|
+
|
505
|
+
margin-top: 10px;
|
506
|
+
|
507
|
+
padding: auto;
|
508
|
+
|
509
|
+
width: 95%;
|
510
|
+
|
511
|
+
clear: both;
|
512
|
+
|
513
|
+
}
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
section #chatroom_config #chatroom_top {
|
518
|
+
|
519
|
+
margin: auto;
|
520
|
+
|
521
|
+
padding: auto;
|
522
|
+
|
523
|
+
width: 100%;
|
524
|
+
|
525
|
+
height: 45%;
|
526
|
+
|
527
|
+
border: solid 1px black;
|
528
|
+
|
529
|
+
text-align: center;
|
530
|
+
|
531
|
+
}
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
/* section chatroom_bottom */
|
536
|
+
|
537
|
+
section #chatroom_config #chatroom_bottom {
|
538
|
+
|
539
|
+
margin: auto;
|
540
|
+
|
541
|
+
margin-top: 10px;
|
542
|
+
|
543
|
+
padding: auto;
|
544
|
+
|
545
|
+
width: 100%;
|
546
|
+
|
547
|
+
height: 85px;
|
548
|
+
|
549
|
+
text-align: center;
|
550
|
+
|
551
|
+
border: solid 1px black;
|
552
|
+
|
553
|
+
clear: both;
|
554
|
+
|
555
|
+
}
|
556
|
+
|
557
|
+
|
558
|
+
|
559
|
+
section #chatroom_config #chatroom_bottom #chatroom_bottom_left {
|
560
|
+
|
561
|
+
float: left;
|
562
|
+
|
563
|
+
width: 30%;
|
564
|
+
|
565
|
+
height: 100%;
|
566
|
+
|
567
|
+
margin: auto;
|
568
|
+
|
569
|
+
padding: auto;
|
570
|
+
|
571
|
+
clear: both;
|
572
|
+
|
573
|
+
}
|
574
|
+
|
575
|
+
|
576
|
+
|
577
|
+
section #chatroom_config #chatroom_bottom #chatroom_bottom_left #chatroom_img {
|
578
|
+
|
579
|
+
margin-left: 20px;
|
580
|
+
|
581
|
+
width: 22%;
|
582
|
+
|
583
|
+
float: left;
|
584
|
+
|
585
|
+
}
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
#square_color {
|
590
|
+
|
591
|
+
color: cyan;
|
592
|
+
|
593
|
+
}
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
section #chatroom_config #chatroom_bottom #chatroom_bottom_right {
|
598
|
+
|
599
|
+
float: right;
|
600
|
+
|
601
|
+
width: 70%;
|
602
|
+
|
603
|
+
height: 76px;
|
604
|
+
|
605
|
+
margin: auto;
|
606
|
+
|
607
|
+
margin-top: 5px;
|
608
|
+
|
609
|
+
padding: auto;
|
610
|
+
|
611
|
+
}
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
section #chatroom_config #chatroom_bottom #chatroom_bottom_right textarea {
|
616
|
+
|
617
|
+
width: 80%;
|
618
|
+
|
619
|
+
height: 70px;
|
620
|
+
|
621
|
+
margin: auto;
|
622
|
+
|
623
|
+
padding: auto;
|
624
|
+
|
625
|
+
}
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
/* section submit */
|
630
|
+
|
631
|
+
section button#section_submit {
|
632
|
+
|
633
|
+
float: right;
|
634
|
+
|
635
|
+
margin-top: 20px;
|
636
|
+
|
637
|
+
margin-right: 20px;
|
638
|
+
|
639
|
+
padding: 5px;
|
640
|
+
|
641
|
+
background-color: #ffff7f;
|
642
|
+
|
643
|
+
clear: both;
|
644
|
+
|
645
|
+
}
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
/* form */
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
textarea#chatroom_info {
|
654
|
+
|
655
|
+
float: left;
|
656
|
+
|
657
|
+
font-size: 15px;
|
658
|
+
|
659
|
+
}
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
textarea#chatroom_info:focus {
|
664
|
+
|
665
|
+
background-color: pink;
|
666
|
+
|
667
|
+
}
|
668
|
+
|
669
|
+
|
670
|
+
|
671
|
+
button#sendsubmit {
|
672
|
+
|
673
|
+
width: 15%;
|
674
|
+
|
675
|
+
height: 70px;
|
676
|
+
|
677
|
+
margin-top: 3px;
|
678
|
+
|
679
|
+
background-color: #84c1ff ;
|
680
|
+
|
681
|
+
font-size: 20px;
|
682
|
+
|
683
|
+
}
|
684
|
+
|
685
|
+
|
686
|
+
|
687
|
+
button#sendsubmit:hover {
|
688
|
+
|
689
|
+
color: white;
|
690
|
+
|
691
|
+
font-size: 25px;
|
692
|
+
|
693
|
+
font-style: italic;
|
694
|
+
|
695
|
+
text-shadow: 3px 3px 5px deeppink;
|
696
|
+
|
697
|
+
background-color: firebrick;
|
698
|
+
|
699
|
+
}
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
/* aside */
|
704
|
+
|
705
|
+
aside {
|
706
|
+
|
707
|
+
float: left;
|
708
|
+
|
709
|
+
width: 23%;
|
710
|
+
|
711
|
+
height: 758px;
|
712
|
+
|
713
|
+
padding-top: 1px;
|
714
|
+
|
715
|
+
line-height: 1.5em;
|
716
|
+
|
717
|
+
text-align: center;
|
718
|
+
|
719
|
+
border-right: solid 1px black;
|
720
|
+
|
721
|
+
border-bottom: solid 1px black;
|
722
|
+
|
723
|
+
}
|
724
|
+
|
725
|
+
|
726
|
+
|
727
|
+
aside #over {
|
728
|
+
|
729
|
+
background-color: green;
|
730
|
+
|
731
|
+
height: 700px;
|
732
|
+
|
733
|
+
overflow-y: scroll;
|
734
|
+
|
735
|
+
width: 98%;
|
736
|
+
|
737
|
+
margin-left: 1%;
|
738
|
+
|
739
|
+
}
|
740
|
+
|
741
|
+
|
742
|
+
|
743
|
+
aside .front_aside {
|
744
|
+
|
745
|
+
width: 90%;
|
746
|
+
|
747
|
+
margin: auto;
|
748
|
+
|
749
|
+
padding: auto;
|
750
|
+
|
751
|
+
padding-top: 1px;
|
752
|
+
|
753
|
+
clear: both;
|
754
|
+
|
755
|
+
border-bottom: solid 1px black;
|
756
|
+
|
757
|
+
background-color: yellow;
|
758
|
+
|
759
|
+
}
|
760
|
+
|
761
|
+
|
762
|
+
|
763
|
+
aside .front_aside .left_aside {
|
764
|
+
|
765
|
+
float: left;
|
766
|
+
|
767
|
+
margin: auto;
|
768
|
+
|
769
|
+
margin-top: 4px;
|
770
|
+
|
771
|
+
padding: auto;
|
772
|
+
|
773
|
+
width: 40%;
|
774
|
+
|
775
|
+
clear: both;
|
776
|
+
|
777
|
+
}
|
778
|
+
|
779
|
+
|
780
|
+
|
781
|
+
aside .front_aside .left_aside .img_aside {
|
782
|
+
|
783
|
+
margin: 0;
|
784
|
+
|
785
|
+
padding: 0;
|
786
|
+
|
787
|
+
width: 60%;
|
788
|
+
|
789
|
+
height: 100%;
|
790
|
+
|
791
|
+
}
|
792
|
+
|
793
|
+
|
794
|
+
|
795
|
+
aside .front_aside .right_aside {
|
796
|
+
|
797
|
+
float: right;
|
798
|
+
|
799
|
+
margin: auto;
|
800
|
+
|
801
|
+
margin-top: 20px;
|
802
|
+
|
803
|
+
padding: auto;
|
804
|
+
|
805
|
+
width: 60%;
|
806
|
+
|
807
|
+
}
|
808
|
+
|
809
|
+
|
810
|
+
|
811
|
+
aside .front_aside .right_aside .rightaside_states {
|
812
|
+
|
813
|
+
color: cyan;
|
814
|
+
|
815
|
+
}
|
816
|
+
|
817
|
+
|
818
|
+
|
819
|
+
/* footer */
|
820
|
+
|
821
|
+
footer {
|
822
|
+
|
823
|
+
width: 90%;
|
824
|
+
|
825
|
+
height: 90%;
|
826
|
+
|
827
|
+
margin: auto;
|
828
|
+
|
829
|
+
margin-bottom: 35px;
|
830
|
+
|
831
|
+
padding: auto;
|
832
|
+
|
833
|
+
padding-top: 20px;
|
834
|
+
|
835
|
+
clear: both;
|
836
|
+
|
837
|
+
}
|
838
|
+
|
839
|
+
|
840
|
+
|
841
|
+
footer hr {
|
842
|
+
|
843
|
+
margin-top: 20px;
|
844
|
+
|
845
|
+
margin-bottom: 35px;
|
846
|
+
|
847
|
+
clear: both;
|
848
|
+
|
849
|
+
}
|
850
|
+
|
851
|
+
|
852
|
+
|
853
|
+
/* link */
|
854
|
+
|
855
|
+
a:link {
|
856
|
+
|
857
|
+
|
858
|
+
|
859
|
+
}
|
860
|
+
|
861
|
+
|
862
|
+
|
863
|
+
a:visited {
|
864
|
+
|
865
|
+
|
866
|
+
|
867
|
+
}
|
868
|
+
|
869
|
+
|
870
|
+
|
871
|
+
a:focus {
|
872
|
+
|
873
|
+
|
874
|
+
|
875
|
+
}
|
876
|
+
|
877
|
+
|
878
|
+
|
879
|
+
a:hover {
|
880
|
+
|
881
|
+
|
882
|
+
|
883
|
+
}
|
884
|
+
|
885
|
+
|
886
|
+
|
887
|
+
a:active {
|
888
|
+
|
889
|
+
|
890
|
+
|
891
|
+
}
|
892
|
+
|
893
|
+
|
894
|
+
|
895
|
+
/* 吹き出し 左 */
|
896
|
+
|
897
|
+
section .chatroom_section .chatroom_say_front .balloon-1-left {
|
898
|
+
|
899
|
+
display: inline-block; /* コメントの文字数に合わせて可変 */
|
900
|
+
|
901
|
+
padding: 15px 20px;
|
902
|
+
|
903
|
+
margin-top: 8px;
|
904
|
+
|
905
|
+
margin-right: 80px;
|
906
|
+
|
907
|
+
border-radius: 30px;
|
908
|
+
|
909
|
+
position: relative;
|
910
|
+
|
911
|
+
background-color: #D9F0FF;
|
912
|
+
|
913
|
+
text-align: left;
|
914
|
+
|
915
|
+
width: 80%;
|
916
|
+
|
917
|
+
}
|
918
|
+
|
919
|
+
|
920
|
+
|
921
|
+
section .chatroom_section .chatroom_say_front .balloon-1-left:after {
|
922
|
+
|
923
|
+
content: "";
|
924
|
+
|
925
|
+
position: absolute;
|
926
|
+
|
927
|
+
top: 20px; left: -30px;
|
928
|
+
|
929
|
+
margin-top: -10px;
|
930
|
+
|
931
|
+
display: block;
|
932
|
+
|
933
|
+
width: 0px;
|
934
|
+
|
935
|
+
height: 0px;
|
936
|
+
|
937
|
+
border-style: solid;
|
938
|
+
|
939
|
+
border-width: 40px 40px 40px 0px;
|
940
|
+
|
941
|
+
border-color: transparent #D9F0FF transparent transparent;
|
942
|
+
|
943
|
+
}
|
944
|
+
|
945
|
+
|
946
|
+
|
947
|
+
/* 吹き出し 右 */
|
948
|
+
|
949
|
+
section .chatroom_section .chatroom_say_front_right .balloon-2-right {
|
950
|
+
|
951
|
+
display: inline-block; /* コメントの文字数に合わせて可変する処理 */
|
952
|
+
|
953
|
+
padding: 15px 0px 15px 15px ;
|
954
|
+
|
955
|
+
margin-left: 50px;
|
956
|
+
|
957
|
+
border-radius: 30px;
|
958
|
+
|
959
|
+
position: relative;
|
960
|
+
|
961
|
+
text-align: left;
|
962
|
+
|
963
|
+
background: #ffa3d1;
|
964
|
+
|
965
|
+
width: 80%;
|
966
|
+
|
967
|
+
}
|
968
|
+
|
969
|
+
|
970
|
+
|
971
|
+
.balloon-2-right:before {
|
972
|
+
|
973
|
+
content: "";
|
974
|
+
|
975
|
+
position: absolute;
|
976
|
+
|
977
|
+
top: 10%; right: -70px; /* 三角の吹き出し部分の位置を決める */
|
978
|
+
|
979
|
+
display: block;
|
980
|
+
|
981
|
+
border-style: solid;
|
982
|
+
|
983
|
+
border-width: 40px 40px 40px 40px;
|
984
|
+
|
985
|
+
border-color: transparent transparent transparent #ffa3d1;
|
986
|
+
|
987
|
+
}
|
988
|
+
|
989
|
+
```
|
4
勘違いしてました。<code>ボタンを押下して、codeに直しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,7 +34,9 @@
|
|
34
34
|
|
35
35
|
|
36
36
|
|
37
|
+
|
38
|
+
|
37
|
-
|
39
|
+
```HTML5
|
38
40
|
|
39
41
|
<!DOCTYPE html>
|
40
42
|
|
@@ -208,4 +210,4 @@
|
|
208
210
|
|
209
211
|
</html>
|
210
212
|
|
211
|
-
|
213
|
+
```
|
3
<code>で囲みました!
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,6 +32,10 @@
|
|
32
32
|
|
33
33
|
HTMLを載せます。
|
34
34
|
|
35
|
+
|
36
|
+
|
37
|
+
<code>
|
38
|
+
|
35
39
|
<!DOCTYPE html>
|
36
40
|
|
37
41
|
<html lang="ja">
|
@@ -203,3 +207,5 @@
|
|
203
207
|
</body>
|
204
208
|
|
205
209
|
</html>
|
210
|
+
|
211
|
+
</code>
|
2
HTMLを載せました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,40 +24,182 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
-
.example {
|
28
|
-
|
29
|
-
width: 100%;
|
30
|
-
|
31
|
-
height: 100%;
|
32
|
-
|
33
|
-
}
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
html {
|
38
|
-
|
39
|
-
height: 100%;
|
40
|
-
|
41
|
-
}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
body {
|
46
|
-
|
47
|
-
height: 100%;
|
48
|
-
|
49
|
-
}
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
こちらの上記のような記述の仕方をしていますが、
|
54
|
-
|
55
|
-
こちらでは上手くいかないのでしょうか?
|
56
|
-
|
57
|
-
どこかピクセル指定しているとダメなんでしょうか??
|
58
|
-
|
59
|
-
|
60
|
-
|
61
27
|
どうかご教示いただけましたら幸いです。
|
62
28
|
|
63
29
|
宜しくお願いいたします。。
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
HTMLを載せます。
|
34
|
+
|
35
|
+
<!DOCTYPE html>
|
36
|
+
|
37
|
+
<html lang="ja">
|
38
|
+
|
39
|
+
<head>
|
40
|
+
|
41
|
+
<meta charset="utf-8">
|
42
|
+
|
43
|
+
<link rel="stylesheet" href="css/style.css">
|
44
|
+
|
45
|
+
</head>
|
46
|
+
|
47
|
+
<body>
|
48
|
+
|
49
|
+
<div id="wrapper">
|
50
|
+
|
51
|
+
<section>
|
52
|
+
|
53
|
+
<form action="#" method="post">
|
54
|
+
|
55
|
+
<button type="submit" id="section_submit">ログアウト</button>
|
56
|
+
|
57
|
+
</form>
|
58
|
+
|
59
|
+
<h2 id="h2_section">eee</h2>
|
60
|
+
|
61
|
+
<div class="chatroom_section">
|
62
|
+
|
63
|
+
<div class="chatroom_say_left">
|
64
|
+
|
65
|
+
<p>
|
66
|
+
|
67
|
+
TO<br>
|
68
|
+
|
69
|
+
<img src="images/flower2.jpeg" alt="花" id="chatroom_left_img"><br>
|
70
|
+
|
71
|
+
</p>
|
72
|
+
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<div class="chatroom_say_front">
|
76
|
+
|
77
|
+
<p class="balloon-1-left">
|
78
|
+
|
79
|
+
行間は「1.5em(20pxくらい)」<br>
|
80
|
+
|
81
|
+
</p>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div class="chatroom_say_front_right">
|
86
|
+
|
87
|
+
<p class="balloon-2-right">
|
88
|
+
|
89
|
+
左と同じ
|
90
|
+
|
91
|
+
</p>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<div class="chatroom_say_right">
|
96
|
+
|
97
|
+
<p>
|
98
|
+
|
99
|
+
TO:<br>
|
100
|
+
|
101
|
+
<img src="images/flower.png" alt="花" class="chatroom_right_img"><br>
|
102
|
+
|
103
|
+
</p>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div class="day">
|
108
|
+
|
109
|
+
<p>2016/11/21(月)<br><hr></p>
|
110
|
+
|
111
|
+
</div>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div id="chatroom_config">
|
116
|
+
|
117
|
+
<div id="chatroom_top">
|
118
|
+
|
119
|
+
仮ボックス
|
120
|
+
|
121
|
+
</div>
|
122
|
+
|
123
|
+
<div id="chatroom_bottom">
|
124
|
+
|
125
|
+
<div id="chatroom_bottom_left">
|
126
|
+
|
127
|
+
<p><img src="images/flower4.png" alt="花" id="chatroom_img"></p>
|
128
|
+
|
129
|
+
<p>
|
130
|
+
|
131
|
+
佐藤、鈴木<br>
|
132
|
+
|
133
|
+
<span id="square_color">■</span> なんか入れる
|
134
|
+
|
135
|
+
</p>
|
136
|
+
|
137
|
+
</div>
|
138
|
+
|
139
|
+
<div id="chatroom_bottom_right">
|
140
|
+
|
141
|
+
<form action="#" method="post" id="chatroom_sendform">
|
142
|
+
|
143
|
+
<label>
|
144
|
+
|
145
|
+
<textarea name="chatroom_send_info" placeholder=""
|
146
|
+
|
147
|
+
id="chatroom_info" form="chatroom_sendform" maxlength="1001" required></textarea>
|
148
|
+
|
149
|
+
</label>
|
150
|
+
|
151
|
+
<button type="submit" id="sendsubmit">example</button>
|
152
|
+
|
153
|
+
</form>
|
154
|
+
|
155
|
+
</div>
|
156
|
+
|
157
|
+
</div>
|
158
|
+
|
159
|
+
</div>
|
160
|
+
|
161
|
+
</section>
|
162
|
+
|
163
|
+
<aside>
|
164
|
+
|
165
|
+
<h2 id="aside_h2">イメージ一覧</h2>
|
166
|
+
|
167
|
+
<div id="over">
|
168
|
+
|
169
|
+
<div class="front_aside">
|
170
|
+
|
171
|
+
<div class="left_aside">
|
172
|
+
|
173
|
+
<p><img src="images/flower.png" alt="花" class="img_aside"></p>
|
174
|
+
|
175
|
+
</div>
|
176
|
+
|
177
|
+
<div class="right_aside">
|
178
|
+
|
179
|
+
<p>
|
180
|
+
|
181
|
+
花子
|
182
|
+
|
183
|
+
</p>
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
</aside>
|
192
|
+
|
193
|
+
</div>
|
194
|
+
|
195
|
+
<footer>
|
196
|
+
|
197
|
+
<hr>
|
198
|
+
|
199
|
+
Copyright ©
|
200
|
+
|
201
|
+
</footer>
|
202
|
+
|
203
|
+
</body>
|
204
|
+
|
205
|
+
</html>
|
1
文章を修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,6 +5,16 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
HTML5で現在、レスポンシブ対応のサイトを作っています。
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
ウインドウを縦、横に動かしてもサイトがその幅に合わせて伸縮するといいますか、
|
12
|
+
|
13
|
+
あんまり文章が思いつかず申し訳ないですが、
|
14
|
+
|
15
|
+
そのようなことをしたいのです。
|
16
|
+
|
17
|
+
|
8
18
|
|
9
19
|
その際、CSSで幅と高さを%表示にて
|
10
20
|
|
@@ -24,9 +34,27 @@
|
|
24
34
|
|
25
35
|
|
26
36
|
|
37
|
+
html {
|
38
|
+
|
39
|
+
height: 100%;
|
40
|
+
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
body {
|
46
|
+
|
47
|
+
height: 100%;
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
|
27
53
|
こちらの上記のような記述の仕方をしていますが、
|
28
54
|
|
29
55
|
こちらでは上手くいかないのでしょうか?
|
56
|
+
|
57
|
+
どこかピクセル指定しているとダメなんでしょうか??
|
30
58
|
|
31
59
|
|
32
60
|
|