function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dsh210@lehigh.edudsh210@lehigh.edu 

CSS Rendering Issue

Hey all,

 

I am trying to render an series of input boxes another color, to make them stand out. However, one of the boxes is a lookup, and it seems to be applying the css that I put on the inputfield to the little lookup image next to the field. Is there any way that I can get rid of that background behind the image? It looks pretty terrible.

 

 

Thanks,

DSH

stephanstephan

Can you post your VF/CSS?

 

I suspect you might be able to handle this by using a styleClass with a selector constrained to input elements:

 

 

<style type="text/css">
.myStyle input {
   background-color: green;
}
</style>

<apex:inputField value="{!foo.bar}" styleClass="myStyle"/>

 

 

dsh210@lehigh.edudsh210@lehigh.edu

Hey thanks, great suggestions. However, it looks like 'input' is not the correct identifier for the input fields, I will try to figure out what the page wants to call them.