Public Voice Network
- Pic of the Day 7480174801
- the gif animation thread 1850018500
- Blue people ;~ 3737
- Official Infographics Thr… 172172
- Best American band of all… 134134
- Auto Racing? 1515
- Paid vacation? 3131
- instagram 656656
- Black People :/ 169169
- Show some recent work 55635563
- London machete attack 6969
- FMT 250513 22
- Champions League 2012-13 9797
- blog 5771657716
- Nice dj/club websites? 55
- Official NSFW Thread 264264
- Architecture of the Day 437437
- Chick of the Day 1825718257
- The Purge 2121
- Trailer Of The Day 800800
- Align shortcode Divs? 1717
- Viewing Old PC Hard Drive… 88
- Amy's Baking Company 116116
- QBN Personas 1414
CSS help! 2121 Responses
Last post: 4 years, 6 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


