Welcome Guest
Welcome to StrongLifts.com Forum, a place for intelligent dicussion about building muscle, losing fat, strength training, weight lifting, nutrition and more.

You're currently viewing as a guest, which gives you limited read-only access. By joining the free StrongLifts.com community, you'll be able to post mesages, access members-only features, see new messages posted since your last visit and remove this header message. Registration is fast, simple and free. Click here to join today.

If you arrived here from a search engine like Google, take a look at the main site first, which includes hundreds of articles on how to build muscle and lose fat through strength training, including a 52 pages free ebook.

Got CSS Skills? Minimum Width IE6 on Forum

News, updates, upgrades.

Got CSS Skills? Minimum Width IE6 on Forum

Postby Mehdi on Sat Sep 13, 2008 8:06 pm

12% of forum users are still using Internet Explorer 6 instead of Firefox/IE7/google chrome.

For some reason phpbb3 put a min width for IE6 on the prosilver theme that you're seeing. So when you check the forum with ie6 and resize the window, the whole design goes bad (try it & you'll see).

Adding this fixes the min width problem on IE6
Code: Select all
* html #wrap {
width: expression(document.body.clientWidth <900 ? "810px" : "95%" );
}


However, when resizing the window, the right sidebar goes left instead of saying there. Wasting time trying to find a solution with this since I'm not that good all this stuff. If you know better: I'd appreciate help with this.

Thanks!
User avatar
Mehdi
Admin
 
Posts: 7841
Joined: Tue Apr 08, 2008 4:19 pm
Location: Belgium

Re: Got CSS Skills? Minimum Width IE6 on Forum

Postby Kyle on Sun Sep 14, 2008 3:42 am

for dynamic resizing, percents are superior to pixel counts, eg: right sidebar 30% of window instead of 200px...I will take a closer look at this tomorrow however, don't feel like re-installing ie6 right now...hope this helps either way
Kyle
 
Posts: 211
Joined: Sat Dec 22, 2007 4:29 am
Location: New York, USA

Re: Got CSS Skills? Minimum Width IE6 on Forum

Postby Mehdi on Sun Sep 14, 2008 5:19 pm

Internet Explorer 6 stand alone (no install): http://browsers.evolt.org/?ie/32bit/standalone

It resizes correctly. The problem is with the left div (sidebar), which goes right when you get under 810px window size.
User avatar
Mehdi
Admin
 
Posts: 7841
Joined: Tue Apr 08, 2008 4:19 pm
Location: Belgium

Re: Got CSS Skills? Minimum Width IE6 on Forum

Postby lolindrath on Fri Oct 10, 2008 6:10 pm

Medhi, did you manage to fix this? I tried to reproduce it on IE 6 and couldn't make it happen.
User avatar
lolindrath
 
Posts: 7
Joined: Mon Feb 18, 2008 8:42 pm

Re: Got CSS Skills? Minimum Width IE6 on Forum

Postby Mehdi on Sat Oct 11, 2008 12:09 pm

lolindrath wrote:Medhi, did you manage to fix this? I tried to reproduce it on IE 6 and couldn't make it happen.


Nope didn't fix it all. Resize browser screen with to like 50px, you'll see what happens. If you don't, I'll send you a screenshot. Thanks for helping out.
User avatar
Mehdi
Admin
 
Posts: 7841
Joined: Tue Apr 08, 2008 4:19 pm
Location: Belgium

Re: Got CSS Skills? Minimum Width IE6 on Forum

Postby lolindrath on Mon Oct 13, 2008 4:36 pm

Here's my fix, it isn't 100%, the sidebar still moves around a bit but it always stays on the left-hand side. Here's a test version you can look at: https://lolindrath.dyndns.org/strong-lifts-test/got-css-skills-minimum-width-ie6-on-forum-t11566.html

I've checked it in Firefox 3, IE7, IE6 and Google Chrome. I'm not able to try it out in Safari or Opera at the moment. Safari should be fine since Chrome and Safari are built on the same rendering engine.

1. Change template: remove the
Code: Select all
class="column"
from the
Code: Select all
<div id="pagebody" class="column">
line.

2. Move the
Code: Select all
<div id="container">
ending tag up to just below the ending tag for the page body. (this is easiest using a folding code editor like Notepad++ so you can just collapse the div's).

3. Use the new style.css here: https://lolindrath.dyndns.org/strong-lifts-test/got-css-skills-minimum-width-ie6-on-forum-t11566_files/style.css

Hope this helps, let me know if you have any trouble.
User avatar
lolindrath
 
Posts: 7
Joined: Mon Feb 18, 2008 8:42 pm

Re: Got CSS Skills? Minimum Width IE6 on Forum

Postby Mehdi on Mon Oct 13, 2008 5:42 pm

Thanks for the help

* I can live with the left sidebar moving, but what's with the top nav bar?
* change template => which files is this I should edit ? (too busy to search)
* stylesheet => what did you change? (curious)

Thanks again
User avatar
Mehdi
Admin
 
Posts: 7841
Joined: Tue Apr 08, 2008 4:19 pm
Location: Belgium

Re: Got CSS Skills? Minimum Width IE6 on Forum

Postby lolindrath on Mon Oct 13, 2008 6:29 pm

* I fixed the nav bar, I was missing some image files (I just did a Save Page As... from Firefox) if you refresh the link it should show the changes.
* Its hard to tell, it looks like you added a good bit ontop of the stock prosilver.
** for the first change - should be in: styles/prosilver/template/overall_header.html
** for the second change - put the close div tag in overhall_header.html just after the pagebody close and then you'll have to delete the extra close in I think styles/prosilver/template/overall_footer.html
* Here's a diff of the changes (they're all within the first three pages) - https://lolindrath.dyndns.org/strong-lifts-test/style.pdf - I basically found a left-hand column example online where the lefthand column appears after the content (good for the google juice, I'm guessing that's why you did the same) that worked when I applied your javascript fix and then made the same changes to your template.
User avatar
lolindrath
 
Posts: 7
Joined: Mon Feb 18, 2008 8:42 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users

Get Your Free eBook

Find out how to build muscle & lose fat using strength training in only 3 workouts per week.


More info

Recommended Products


Sponsor