A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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
It is sorta covered in the
JavaRanch Style Guide
subject: need to place a img element right after a select element, how?
vertical alignment does not work
request.getAttribute returning null
How to specify a variable width column in an HTML page?
Forwarding the current page to previous page
DIV Tag Loading Behavior is Erratic
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014