Public Voice Network
- Dickson Poon 1818
- ☮ WTF 33
- Boys Scouts of America 66
- making beats 165165
- Pic of the Day 7477374773
- Game of the Day 1313
- Official NSFW Thread 257257
- Gay thread 125125
- this style of photography… 88
- the gif animation thread 1848318483
- Cape Cod 77
- Show some recent work 55605560
- Best Free VST plugins... 55
- Amy's Baking Company 115115
- I ❤ Wood 334334
- Chick of the Day 1825318253
- religion 222222
- Been asked to do a legal … 1717
- London machete attack 5151
- Vid of the Day 1507515075
- The Guitar Thread 9999
- Show your latest Pics 39383938
- DaftPunk 211211
- Weird iStock images 210210
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


