redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

image with the option tag



 
Post new topic   Reply to topic    Web Design Forums -> HTML forum
View previous topic :: View next topic  
Author Message
Ikopar



Joined: 26 May 2006
Posts: 168
How can I use an image with the option tag
  Reply with quote


Lusis Backwood JR



Joined: 26 May 2006
Posts: 87
Location: United States
what are you trying to do?
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
When using the option tag i want to place an image beside the text value used for the option tag
<option value="">MY_IMAGE_HERE Text</option>
does that make no sense
  Reply with quote
Lusis Backwood JR



Joined: 26 May 2006
Posts: 87
Location: United States
Easiest way to do it is to put a background-image and left-padding on the option element
Because the image probably isn't the defining part of the option
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
how would I do that is there a link with an example
  Reply with quote
Lusis Backwood JR



Joined: 26 May 2006
Posts: 87
Location: United States
how much do you know about CSS?
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
I can figure it out if I see an example or source
So lil to some
What is the proper format for the following background-image: url(D:\Images\YOUR IMAGE HERE)
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
Ikopar, use relative paths: /images/image.img
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
What would be the relative path for the $path above
On what
The location of the root for what
Say my root is for the firefox application located at c:\program files\ firefox
How would I go about setting the location
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
It depends: if your web is /home/webs/myweb and there is an images directory called images, then you should use: images/image.img to call any image in this directory
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
Still confused a bit
  Reply with quote


Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group