SearchSearch   

Button like Link :: Negative margin in IE

 
   Webmaster Forums (Home) -> CSS RSS
Next:  Outer div not honoring inner div margin unless bo..  
Author Message
Yahel

External


Since: Aug 06, 2007
Posts: 4



(Msg. 1) Posted: Mon Aug 06, 2007 7:23 pm
Post subject: Button like Link :: Negative margin in IE
Archived from groups: comp>infosystems>www>authoring>stylesheets (more info?)

Hi guys,

I'm having a big problem doing something so simple it's not even funny.
i'd like to have a kind of button layout for my links.
What i want to achieve is exactly what you can see with FIREFOX on that
page : http://www.weloveindustry.fr/test.html

I'm struggling for hours now has i tried everything from divs, conainer,
simple a tags.

The two buttons are identical in shape and function but the css' i used
to create them are quite different.

Anyway, in both cases, under IE nothing is working : When I use padding
to have the right height on the first aptempt, ie pads around the arrow
where Firefox doesn't

And on the second attempt, IE does not seem to understand negative padding.

For one of the other is there a way to have consistency?

Thanks.
Back to top
Yahel

External


Since: Aug 06, 2007
Posts: 4



(Msg. 2) Posted: Tue Aug 07, 2007 7:17 pm
Post subject: Re: Button like Link :: Negative margin in IE
Archived from groups: per prev. post (more info?)

Can someone tell me what i did or say wrong, that nobody would take a
look at my problem ?

I fell a little left alone here Sad

Regards.

Yahel
Back to top
Bergamot

External


Since: Sep 27, 2006
Posts: 727



(Msg. 3) Posted: Tue Aug 07, 2007 10:45 pm
Post subject: Re: Button like Link :: Negative margin in IE
Archived from groups: per prev. post (more info?)

Yahel wrote:
>
> page : http://www.weloveindustry.fr/test.html
>
> Anyway, in both cases, under IE nothing is working

..Bouton {
zoom: 1;
}

If you're picky about validation, put it in a conditional comment.

--
Berg
Back to top
Yahel

External


Since: Aug 06, 2007
Posts: 4



(Msg. 4) Posted: Tue Aug 07, 2007 10:45 pm
Post subject: Re: Button like Link :: Negative margin in IE
Archived from groups: per prev. post (more info?)

> ..Bouton {
> zoom: 1;
> }

Hi,

First, thanks for the help.

Can you explain to me what you meant ?
What is the purpose of zoom ? What does it do ?

I'm not picky about validation, as long as it words : )

Regards.

Yahel
Back to top
Bergamot

External


Since: Sep 27, 2006
Posts: 727



(Msg. 5) Posted: Wed Aug 08, 2007 9:54 am
Post subject: Re: Button like Link :: Negative margin in IE
Archived from groups: per prev. post (more info?)

Yahel wrote:
>> ..Bouton {
>> zoom: 1;
>> }
>
> What is the purpose of zoom ? What does it do ?

It can correct a host of IE display problems without affecting other
browsers by turning on IE's dumb proprietary "haslayout" property. You
can search for more info on that yourself, but a brief overview is at:
http://www.webmasterworld.com/forum83/6999.htm

--
Berg
Back to top
Yahel

External


Since: Aug 06, 2007
Posts: 4



(Msg. 6) Posted: Wed Aug 08, 2007 6:31 pm
Post subject: Re: Button like Link :: Negative margin in IE
Archived from groups: per prev. post (more info?)

Hi,

Thanks you so much !!

I had never heard of that trick, or that theory before.

But it worked on the first example.

Thanks again.

Regards.

Yahel
Back to top
Display posts from previous:   
       Webmaster Forums (Home) -> CSS
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum