I've been trying for hours to make these images appear on top of each other. I've tried using position and z-index but I can't make it work.Please help. CSS/HTML.  HTML.  &lt;div class="test"&gt;     &lt;img class="bg" src="images/pattern-bg.svg" alt=""&gt;     &lt;img class="img" src="images\image-tanya.jpg" alt="tanya"&gt; &lt;/div&gt;  CSS ````````````````````````````````````````````````````````````````` .bg {   position: relative;   height: 450px;   width: 450px;   margin: 0; }  img {   position: relative;   float: right;   height: 350px;   width: 350px; } `````````````````````````````````````````````````````````````````` Thank You.
914
I want to overlay one image with another using CSS. An example of this is the first image (the background if you like) will be a thumbnail link of a product, with the link opening a lightbox / popup showing a larger version of the image.   On top of this linked image I would like an image of a magnifying glass, to show people that the image can be clicked to enlarge it (apparently this isn't obvious without the magnifying glass).
20230
I just got a short algorithm on my page, and it keeps getting aligned at the center of the page. But I want to have it aligned at the top, what do I have to do?
37151
I am making a presentation using beamer, and I want to be able to position a certain image the way I want in a frame. I am not sure how to do that. Is there some way you can specify coordinates in the frame and then set an image there?  Is there a better way to place images in various places with the beamer class?
4331
I am trying to place two images in top of two columns in a columns environment, in a beamer presentation.   The first column consists of one image on top and a enumeration list bellow the image.  The thing is that I want the column to start at the top of the frame, which isn't happening in my case. My code is  \documentclass[slidestop,compress,mathserif,11pt,xcolor=dvipsnames]{beamer} \usepackage{beamerthemebars} \usepackage[bars]{beamerthemetree} \usepackage{multicol} \setbeamercovered{higly dynamic} \usetheme{Ilmenau} % Beamer theme v 3.0 \useoutertheme[subsection=true]{smoothbars}%Beamer Outer Theme-circles on top \usefonttheme{serif} \useinnertheme{circles}  \begin{document}         \section{Εισαγωγή} \begin{frame}         \frametitle{Nuclear Propulsion}         \begin{columns}                 \begin{column}{0.48\textwidth}                         \begin{figure}[t]                         \includegraphics[width=\textwidth]{AtomicSubmarine}%\vspace{0.5cm}                         \end{figure}                         \tiny{\begin{enumerate}                                 \item Item1$\rightarrow$ Conclusdion                                 \item Item2$\rightarrow$ Conclusdion                                 \item Item3$\rightarrow$ Conclusdion                                 \item Item4$\rightarrow$ Conclusdion                                 \item Item5$\rightarrow$ Conclusdion                                 \item Item6$\rightarrow$ Conclusdion                         \end{enumerate}}                         %\begin{minipage}[t]{0.99\textwidth}                                 %\includegraphics[width=\textwidth]{AtomicSubmarine}                         %\end{minipage}                 \end{column}\hfill                 \begin{column}{0.48\textwidth}                         %\begin{minipage}[b]{0.99\textwidth}                         \begin{figure}[t]                                 \includegraphics[width=0.9\textwidth]{SubmarineSnorkel}                         \end{figure}                         %\end{minipage}                 \end{column}         \end{columns}         %\begin{minipage}[b]{0.5\textwidth}                 %\includegraphics[width=\textwidth]{SubmarineSnorkel}         %\end{minipage} \end{frame} \end{document}   The output of this code is    It is clear that a few lines upper would be ideal, as the real presentation frame, states!    I've tried to remove the figure environment, to use minipage but  the right image is aligned with the list, resulting in a very bad format. One solution is to remove the frametitle but I'm afraid I need it...  Another idea is to use \vspace{-1cm} but I am not sure if this is the optimum solution...  Any ideas on that?
45706
I'm wondering how they actually achieved this kind of effect?    image from   Could you give me some suggestions: are there any techniques to get the same effect? I tried many ways in Photoshop. I have more than 5 years of experience in Photoshop, but my results are not the same?  What should I do?
65410
I use:  \documentclss{mwrep} ... \begin{figure}   \includegraphics{a.jpg} \caption[Long caption]{Caption} \label{pic-a} \end{figure}   How can I make images to be always visible on the center of page? (To be more specific: the center of the image should be between the left and right margin - I use different left and right margins). I don't want to put anything after every \begin{figure} in my document.  Important: I don't want to waste an entire page on a single image at the very center of the page. I want only horizontal alignment. (left &lt;-> right)
28262
Right now as far as I can tell all images have to appear as inline paragraphs, left-aligned with other paragraphs.  For sites like Stack Overflow, it makes sense... images are only used when you want to illustrate something, so the image is sort of like something that they have to stop and "read".    On some of our newer sites, like , images can serve a more decorative function, making questions and answers look awesome and interesting. For example, when somebody asks about trains in Mongolia, an answerer might write an extensive answer and then attach a picture showing them standing in front of a train in Ulan Bator.  For these "decorative" pictures, it makes a lot more sense if they are floated to the right and text wraps around them. Otherwise they interrupt the text and, frankly, look kinda ugly.  I suggest something simple like $[...] instead of ![...].
64494
I'm trying to put two jpegs side by side using the subcaption package, but the images are consistently stacking on top of each other rather than side by side. All the solutions I've found simply state that the pictures have to be small enough to actually be side by side but I've tried making them smaller, too small even and they stay stacked. My code looks like this:  \begin{figure}[H] \centering \begin{subfigure}{0.5\textwidth} \centering     \includegraphics[width=0.3\linewidth]{inclusion.jpg}     \caption{inclusions}     \label{fig:inclu} \end{subfigure}  \begin{subfigure}{0.5\textwidth} \centering     \includegraphics[width=0.3\linewidth]{deform}     \caption{grain deformation}     \label{fig:deform} \end{subfigure} \caption{filler text} \label{fig:manmade} \end{figure}   Help would be greatly appreciated.
70014
I have some jpg images and I need for each of them to have a transparent background.  I have GIMP as a graphic tool.   I need to put them in a web page and I need to see just the main element and have a transparent background.
7694
I'm trying to setup a image decal in cycles, and I can't figure how to setup the nodes to work fine. Does anyone know the solution?
1868
I want to place 2 images side by side in LaTeX. I have 2 .png files and I don't understand how to do it in LaTeX. I have tried many ways but could not get a good result.
88752
I am working on a Windows Forms application in VS 2008, and I want to display one image over the top of another, with the top image being a gif or something with transparent parts.  Basically I have a big image and I want to put a little image on top if it, so that they kinda appear as one image to the user.  I've been trying to use a picturebox, but this doesn't seem to have worked, any suggestions?
8738
I have a layout that is working, but it has one very annoying problem.. when the content is taller than the screen, the background stops.  This is the desired layout in bad-ASCII-art format:  _____________________  _ |    | long    |logo|   | |    | content |    |   | |    |         |    |   | |    |         |    |   | |grad|         |grad|   | Viewport |    |         |    |   | |    |         |    |   | |    |         |    |  _| |    |         |    | |    |         |    | _____________________  |2em| &lt;-20em-&gt;| 2em|   ..or with short content..  _____________________  _ |    | short   |logo|   | |    | content |    |   | |    |         |    |   | |    |         |    |   | |grad|         |grad|   | Viewport |    |         |    |   | |    |         |    |   | |    |         |    |   | |    |         |    |   | _____________________  _|   Basically it looks like a single column, with a glow as a column either side. Over the left-glow is a logo. When the content is short, it is still the full-height.  I have tried using the , which fixes the middle column, but then the gradients only extend as far as the content (in the left column, a single &amp;nbsp;, in the right column the logo)    Here is what the layout looks like:    And the problem (when the browser window is shrunk vertically):    Finally, the problem HTML/CSS,
26505
I think I'm not going to solve my problem with the Floats and positioning of figures. I have 4 diagramms and I need to place them on two pages and at the end of the second page the caption for all 4 figures. So two figures on each page. For the the diagramms on the second page I need to place the upper image near to the top because I need some place for the caption. On the page before I need both figures to be centered in the middle with some spacing between them. So this is my code:   \begin{figure}[c] \centering \includegraphics[width=\linewidth]{45.pdf} \end{figure} \begin{figure}[c] \centering \includegraphics[width=\linewidth]{46.pdf} \end{figure} \makeatletter \setlength{\@fptop}{0pt} \makeatother \begin{figure}[t!] \centering \includegraphics[width=\linewidth]{47.pdf} \captionsetup[figure]{font=small,skip=0pt} \includegraphics[width=\linewidth]{48.pdf} \caption{Konzentrationsprofile von Al, Re, Ta und W entlang der &lt;110&gt;-Richtung in der UC. } \end{figure}   The problem for the secong page was solved, but the figures on the first page were also forced to the top which I don't want!
75301
I have a scene where I have a few different render layers that I need to put on top of each other for the final render. Everything works fine when I have transparent background checked for the render but I need to also have the environment background image behind everything. Also, the camera moves and displays different parts of the background, so I can't just alpha over everything on top of an image texture. Is this possible? Thanks in advance!
68321
I have a CSS rule like this:  a:hover { background-color: #fff; }   But this results in a bad-looking gap at the bottom on image links, and what's even worse, if I have transparent images, the link's background color can be seen through the image.  I have stumbled upon this problem many times before, but I always solved it using the quick-and-dirty approach of assigning a class to image links:  a.imagelink:hover { background-color: transparent; }   Today I was looking for a more elegant solution to this problem when I stumbled upon .  Basically what it suggests is using display: block, and this really solves the problem for non-transparent images. However, it results in another problem: now the link is as wide as the paragraph, although the image is not.  Is there a nice way to solve this problem, or do I have to use the dirty approach again?  Thanks,
26762
The new fad is to place background images behind text. Best practice guidelines say it's important for the image to be relevant to the content. From a usability point of view, the content is less readable. You see this happening a lot on apple.com.  I'm curious what the big guys like the NN/Group would have to say about this. Bad for usability, marketing guys want it... worth it? I'd like to hear your thoughts.  And thank you to the mods who want to call this question a duplicate, but I'm talking about text on top of background images. The other question on this talked about color consistency affecting contrast. Thanks for your consideration.