« first day (2312 days earlier)      last day (1476 days later) » 

3:35 AM
posted on August 28, 2019

New Cyanide and Happiness Comic

 
 
16 hours later…
7:50 PM
anybody here now?:)
@TylerH here?:)
you know. i copied your css code with this kitten and after running it still there is only this white background. Gosh, what the heck!
 
8:05 PM
@Ramona Hmm
sounds like maybe your CSS file isn't being referenced properly in your <head> then?
 
8:35 PM
<!DOCTYPE html>
<html>
<title>Side</title>
<body>
  <div class="container">
    <img src="images/x.png" class="text text-first" alt="first"/>
    <img src="images/y.png" class="text text-second" alt="second"/>
</div>

</body>
@TylerH html
that's all i have there.
 
where are you linking your CSS file?
you have to link the CSS file in a <head> element for any of the CSS to apply
 
hmm... dont know how to do it. looking at ur example it works with the same html inside.
i mean in ur example it works. in mine doesn't.
how come your code works there without linking CSS?
@TylerH
 
JSFiddle is designed that way so that you don't have to use <html>, <head>, <body> etc
but in a normal HTML file served on a server somewhere (or on your own computer), you have to use <head><link rel="stylesheet" type="text/css" href="path to your CSS file here" /></head>
 

« first day (2312 days earlier)      last day (1476 days later) »