Public Voice Network
- Best American band of all… 129129
- Auto Racing? 88
- Chick of the Day 1825618256
- Public domain?
- QBN Personas 1212
- Chick of the day .Gif 5555
- Pic of the Day 7479074790
- Align shortcode Divs? 1616
- Viewing Old PC Hard Drive… 77
- Paid vacation? 2727
- You're Doing It Wrong… 88
- weird 3d stuff 9696
- The Purge 2020
- blog 5771357713
- Hiphop like this. 7474
- DaftPunk 224224
- the gif animation thread 1849618496
- CSS z-Index 11
- Cape Cod 1414
- Technological Eye Strain 1717
- Bitcoin 130130
- QBN EXPATS 4141
- Architecture of the Day 436436
- Cool tumblr themes? 1010
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


