html - Images not appearing on local host -
images not appearing on local host. here html code. i've tried several variations display te images. twitter bootstrap used. appreciated.
<div class="media"> <a class="pull-left" href=""> <img class="media-object" src="/img/grads.jpg/64x64"> </a> <div class="media-body"> <h4 class="media-heading">collaborate students @ other universities</h4> <p>join classes , work other students on studying without having meet up.</p> </div> </div> <div class="media"> <a class="pull-left" href=""> <img class="media-object" src="grads.jpeg/64x64"> </a> <div class="media-body"> <h4 class="media-heading">meet new friends you're in class with</h4> <p>pick want stranger in own classes. school social , moreo. : )</p> </div> </div>
here css code. not sure i'm doing wrong.
<link href="../assets/css/bootstrap.css" rel="stylesheet"> <style type="text/css"> body { padding-top: 10px; padding-bottom: 20px; } /* custom container */ .container-narrow { margin: 0 auto; max-width: 700px; } .container-narrow > hr { margin: 30px 0; } /* main marketing message , sign button */ .jumbotron { margin: 30px 0; text-align: center; } .jumbotron h1 { font-size: 72px; line-height: 1; } .jumbotron .btn { font-size: 15px; padding: 10px 20px; } /* supporting marketing content */ .marketing { margin: 5px 0; } .marketing p + h4 { margin-top: 14px; } </style> <link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
try view source , check paths of images. since have used relative paths, check whether correct path image taken or not on local
Comments
Post a Comment