On 27/06/2009, at 9:27 AM, nancy wrote:
> Is it possible to specify conditional comments for FF and Safari on
> Mac v.
> FF and IE on PC?
> I'm on a committee that has access to the code for this online
> catalog:
> https://i-share.carli.illinois.edu/uc/vwebv/searchBasic?sk=en_US
> We are trying to move the search button over, see:
> https://i-share-test.carli.illinois.edu/uc/vwebv/searchBasic?sk=en_US
> by removing the text-align:right
> but it doesn't line up with the left margin.
> In fact, the div that contains the button is acting as if it is either
> floated right or displayed inline, but we can't find anything in any
> of the
> style sheets that is doing that.
> We even tried declaring float:none and display:block, and we tried
> adding a
> break.
> So I suggested using negative left margin declarations,
> but they line up differently on Mac browsers than PC.
> We'd like it to line up under the R in Records.
Conditional comments are an IE only thing. If you do your CSS
correctly then the vast majority of the time it is not necessary to
hack for other browsers anyway, so I'd suggest that you rethink your
question!
One answer would be:
#searchLinks input {
clear:both;
display:block;
margin:0 0 0 10px;
}
Or something similar. Was that what you were looking for?
Cheers, Tim
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/