Public Voice Network
- Made a memorial page for … 1616
- the gif animation thread 1839418394
- Ann Coulter is retarded 33
- Amy's Baking Company 9494
- Photos like this 1212
- Pic of the Day 7463874638
- Kanye video projections i… 33
- News of the day... 654654
- Google Glass 138138
- Gay thread 121121
- EC: Anthony Wallace 77
- Nature of the day 4444
- partnership set up 66
- Queens of the Stone Age 1111
- DaftPunk 190190
- Video Games... 922922
- 80's-90's MEMORIE… 12601260
- Vid of the Day 1502715027
- Game of Thrones 297297
- Shooting of the Day 10511051
- 'Dexter' on Showt… 116116
- Trailer Of The Day 793793
- Pantone Overseas 44
- blog 5768457684
CSS help! 2121 Responses
Last post: 4 years, 5 months ago | Thread started: Nov 25, 08, 6:17 a.m.
- Greedo
I have a css conundrum...
http://www.xseet.com/products/to…
On the right hand side there is a 'downloads' and 'contact' container which somehow ends up at the bottom on IE only, it works in Firefox, safari, opera etc. It should by all means be up there, there's enough space and i made it float right. Yet somehow it doesn't. Any ideas?- Nov 25, 08, 6:17 a.m. – Permalink
- jasonistaken
Yes. In IE 6, if a block is floated in one direction, it will double its margin in that particular direction. As mentioned before, just add display:inline to any floated element with a margin... All other browsers ignore it, because floated elements are inherently display block.


- Dog-earNov 25, 08, 9:53 a.m. – Permalink
- Greedo
k so i added the display:inline, could someone with IE 6/7 please check for me to see if the downloads/contact div is still ending up on the bottom?
http://www.xseet.com/products/to…
fank you

- Dog-earNov 25, 08, 5:13 p.m. – Permalink
- doctor
Why would you add display:inline to a floated element? That doesn't make much sense to me, as float only applied to block elements. If it's an IE hack, could you please link to a description of it?
Greedo: I haven't bothered to look through your code, but it sounds like you've gotten in too deep. Maybe you should try and simplify your layout - fewer containers and less CSS, as suggested above?
Keep us posted. :)


- Dog-earNov 26, 08, 5:42 a.m. – Permalink


