homepage Welcome to WebmasterWorld Guest from 54.196.77.82
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
IE7 compatible single-line with horizontal scroller
Readie




msg:4604066
 9:30 am on Aug 22, 2013 (gmt 0)

Hello,

I've been given a task where one thing that is required is for me to add a variable height horizontal scroller, with a variable number of child elements that are displayed next to each other on a single line.

I'm having a great deal of trouble due to IE7 not having inline-block support. The usual hacks of trying to use float: left or inline div containing a block div are multi-lining the divs (I suspect because of the variable height requirement).

Has anyone ever had this problem before and managed to find a workable solution?

 

DrDoc




msg:4604104
 11:55 am on Aug 22, 2013 (gmt 0)

IE7 (and IE6) supports
display: inline-block on elements that are inline by default.

That said -- are you really required to support IE7 still?!

If you are, despite my hate for hacks anymore, take a look at this:
Cross-browser inline-block [blog.mozilla.org]

Readie




msg:4604117
 1:00 pm on Aug 22, 2013 (gmt 0)

zoom: 1 and the *display: inline got me sorted thanks - I'll have to remember that one.

are you really required to support IE7 still?!

Unfortunately yes. Pretty big company with some bits of software kicking around that (so I'm told) require IE7 - so some users just exclusively use IE7. I've even seen some machines in one of the warehouses running Windows 97.

drhowarddrfine




msg:4604148
 3:19 pm on Aug 22, 2013 (gmt 0)

You probably meant Windows 98? My brother's computer died last week and that's when I found out he was still running Win98 but all he does is pay bills online and watch YouTube.

Readie




msg:4604164
 4:27 pm on Aug 22, 2013 (gmt 0)

Just a typo :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved