Start ::
Developers Corner ::
0.8 Theme Design ::
n00b CSS question for .8 theme rework
Moderated by: Support Team
-
- rank:
-
pnHelper
- registered:
- March 2005
- Status:
- offline
- last visit:
- 30.04.08
- Posts:
- 124
Hi-
I know I know, not a CSS support forum, but you guys are extremely smart and helpful and I'm really having a brain fart for the last two hours on this one.
I am working on a modified Andreas08 theme for 0.8 and integrating a cool mac like bg image from itheme I stumbled onto. The problem is when I incorporate the bg into the theme, it displays differently based on the browser. In IE7, the bg appears fine but in FF, it is jacked. When I get it working in FF, IE7 is jacked.
See the code below to see if you can tell me where I am messing up. This is the code that currently works in FF and not IE7:
CSS-
HTML-
This can be viewed working in FF and jacked in IE7 here: http://gmc.websitewelcome.com/~nexus/index.php
When I change the CSS for the page element to relative, instead of absolute, the bg appears fine in IE7, but it is displayed underneath the theme_page_container element in FF. IF you have firebug, you can see what I mean by diabling the theme_page_container white bg.
HELP!!!???!!!
edited by: jaenosjelantru, Apr 01, 2008 - 11:42 AM -
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
LOL... Well it looks good in FF2, Safari 3.1, and IE8. IE8(in IE7 emulation) looks horrid.
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
-
- rank:
-
pnHelper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 09.05.08
- Posts:
- 237
Why don't you apply the background to the body?
What are the CSS statement for the body?
What you have now also looks good in IE6.
BTW I like the bg image a lot
edited by: espaan, Apr 02, 2008 - 02:28 PM -
- rank:
-
pnProfessional
- registered:
- September 2002
- Status:
- offline
- last visit:
- 11.05.08
- Posts:
- 745
Maybe it helps if you include at the bottom of the page:
-----
best regards from Kiel, sailing city
Steffen Voß
Member of the PostNuke Steering Committee
Visit: Kaffeeringe.de - Internet & Kreativität -
- rank:
-
pnProfessional
- registered:
- November 2003
- Status:
- offline
- last visit:
- 09.05.08
- Posts:
- 1530
-
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
Why not expand the conditional to include the whole page
Also you should use some PN standards:
Code
edited by: AmmoDump, Apr 02, 2008 - 11:16 AM
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
-
- rank:
-
pnHelper
- registered:
- March 2005
- Status:
- offline
- last visit:
- 30.04.08
- Posts:
- 124
Why don't you apply the background to the body?
What are the CSS statement for the body?
What you have now also looks good in IE6.
BTW I like the bg image a lot
edited by: espaan, Apr 02, 2008 - 02:28 PM
The bg image is from the i-theme theme. I liked it a lot so I wanted to use it in this theme.
Code *{margin:0; padding:0;}
body{
font:80% Verdana,Tahoma,Arial,sans-serif;
line-height:1.4em;
text-align:center;
color:#303030;
background: #42afdc url(../images/html-bg.gif) repeat-x;
margin: 0 0;
padding: 0 0;
}
-
- rank:
-
pnHelper
- registered:
- March 2005
- Status:
- offline
- last visit:
- 30.04.08
- Posts:
- 124
Any ideas on how to apply this correctly for both FF and IE?
I have it set up for IE currently but you can't see the bg image in ff because it is hidden behind the theme_page_container div. -
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
Temporary link: http://kane.murrayavionic...x.php?&theme=andreas08
works FF and IE8 (7 emulation mode)
Is that what you are trying to do?
edited by: AmmoDump, Apr 04, 2008 - 05:08 PM
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
-
- rank:
-
pnHelper
- registered:
- March 2005
- Status:
- offline
- last visit:
- 30.04.08
- Posts:
- 124
DUH, that will work.
It's not exactly what I wanted but it will work well enough. Especially since it works in all browsers..
Thank you for the help, David.
edited by: jaenosjelantru, Apr 04, 2008 - 05:41 PM -
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
What exactly do you want?
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
-
- rank:
-
pnProfessional
- registered:
- March 2003
- Status:
- offline
- last visit:
- 07.05.08
- Posts:
- 806
in parent div of theme_page_container div
use the statement
Code overflow: hidden;
and it will show up in FF too
- Igor
edited by: videokid, Apr 05, 2008 - 02:46 AM
-----
Have a nice day
PostNuke.be is currently running
PN 0.8.0.0-RC3 -
- rank:
-
pnHelper
- registered:
- March 2005
- Status:
- offline
- last visit:
- 30.04.08
- Posts:
- 124
Code overflow: hidden;
That did it!
Perfect: http://gmc.websitewelcome...php?module=crpCalendar
It looks great! -
- rank:
-
pnHelper
- registered:
- March 2005
- Status:
- offline
- last visit:
- 30.04.08
- Posts:
- 124
BTW Is your crpCalendar just the standard one?
No; I "donated" some $$ (actually Euro's) to the developer to help me customize it for this website.
Jami, the crpCalendar developer, is a great help and very much appreciated.
Start ::
Developers Corner ::
0.8 Theme Design ::
n00b CSS question for .8 theme rework
