Hello
I have used BlankTheme to create http://www.frisktigers.no. The page renders well in Firefox, Chrome etc, but in IE7 the layout is suddenly centered as opposed to the left +15px alignment it was meant to have (as one can see using Firefox or another decent browser).
Not being an expert in how the IE fixes in CSS are done; I was wondering whether anyone could give me a hint as where to look in the BlankTheme .css files to fix this?
BTW: keep up the great work on BlankTheme!
Regards
Tor
edited by: tneple, Nov 23, 2008 - 04:03 AM
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
[Blanktheme] : Layout perfect exept in IE7
-
- Rank: Registered User
- Registered: Sep 28, 2005
- Last visit: Dec 02, 2008
- Posts: 4
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Hi Tor!
Nice use of BlankTheme
I wonder if it can be an HTML problem. In the past, a non-closed <center> tag mess the IE text-align of all the site. Discover that took a good time
So, please validate your site with http://validator.w3.org/ and fix the XHTML errors. Mostly XHTML details like close some tags (IMG, BR, LINK) with /> instead just >, and some unclosed tags there.
With XHTML errors is hard to say what's causing the problem
Glad you like BlankTheme
good luck!
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Registered User
- Registered: Sep 28, 2005
- Last visit: Dec 02, 2008
- Posts: 4
Thanks
Apparently the IE users are happy with having the design centered, so I think I just might let it be for now.
BTW, could the
Code
/* Centering layout in old IE-versions */
body {
text-align: center;
}
snippet of basemod.css be the cause of this?
Regards
Tor -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Nice site
Great.
minor remark on the menu, in IE6 the sublevel menu is a little bit too low. This is because you reduced the height of the menu, but the offset for IE6 needs to be adjusted too. For modern browsers it was already adjusted
if you reduce the top:xx values in the following code for IE6 also with 5px then it should be ok I think.
Code
/* make the second level visible when hover on first level link and position it */
.cssplay_drop li a:hover ul {
visibility:visible;
left:-30px;
top:18px;
lef\t:-31px;
to\p:19px;
}
And in IE6 the page in centered as well. But no worries, looks perfectly fine to me
--
campertoday.nl, Module development, Dutch Zikula Community
- Moderated by:
- Support
