I\'m a beginner at rails programming, attempting to show many images on a page. Some images are to lay on top of others. To make it simple, say I want a blue square, with
@buti-oxa: Not to be pedantic, but your code is invalid. The HTML width
and height
attributes do not allow for units; you're likely thinking of the CSS width:
and height:
properties. You should also provide a content-type (text/css
; see Espo's code) with the tag.
Leaving px;
in the width
and height
attributes might cause a rendering engine to balk.