When I would normally need a div inside an a I use a span instead with display:block . Doesn't break the layout in Firefox with the aforementioned bug and behaves exactly as a div does.
Up vote 3 down vote favorite 1 share g+ share fb share tw.
I am experiencing the same problem described in this thread. I'm wondering if there are other ways to achieve the same result and avoid this issue. Apparently Firefox has issues with anchor tags containing block elements even when the display CSS property of the anchor tag is set to "block".
The effect that I am trying to achieve is to have a the complete block click-able instead of the the text in the block. It also allows to apply the hover state to the whole block instead of the link part. Can anyone suggest a technique EDIT: This is what I intend to show: Some Text 0FOLLOWERS 2ANSWERS 2QUESTIONS This is what firefox renders: sometext 0FOLLOWERS 2ANSWERS 2QUESTIONS html css firefox html5 css3 link|improve this question edited Oct 8 '10 at 15:45 asked Oct 8 '10 at 15:20Arman2,573419 89% accept rate.
When I would normally need a inside an , I use a instead with display:block;. Doesn't break the layout in Firefox with the aforementioned bug and behaves exactly as a does.
1 You are a champion, I wish I could do more than just ticking your answer and voting it up – Arman Oct 8 '10 at 15:56 You're most welcome. These little things that break everything are really annoying. Good thing we got HTML5 coming up.
– Core Xii Oct 8 '10 at 16:32.
Just use an anchor with display set to block. If you are saying what I think you are saying then I was in the same situation a while back - wanting to place images within a block anchor, without the underline under the image. This was resolved by applying float: left; to the img tag.
For example: Events If you place this inside several li tags then you can get a very simple menu with clickable blocks. If this is not what you want then please give an example of where you would want a block element in a block anchor - I don't understand where you would want such a thing. Richard.
Hey I just edited the question – Arman Oct 8 '10 at 15:46.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.