Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
need to place a img element right after a select element, how?
Joined: Nov 15, 2009
Oct 11, 2011 22:19:20
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div style="width:100px; overflow:hidden; border-right:1px">
attached is what the elements look like using above code,
What I want to achieve is:
the img element must be on the right side of the drop down list
I tried to modify the css in various different way, but it does not work,
can anyone suggest what i should do??
** SCJP 5.0 84% **
** SCWCD 1.5 76% **
Author and ninkuma
Joined: Jan 10, 2002
Oct 11, 2011 22:22:02
If you want them next to each other, why are they in separate <div> elements? By default, <div> elements are block elements that will each span their container.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: need to place a img element right after a select element, how?
DIV Tag Loading Behavior is Erratic
Forwarding the current page to previous page
vertical alignment does not work
request.getAttribute returning null
How to specify a variable width column in an HTML page?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014