Nifty corners top in IE7 don't show

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
FrankPl
New Member
New Member
Posts: 5
Joined: Fri Feb 22, 2008 5:02 pm

Nifty corners top in IE7 don't show

Post by FrankPl »

Nifty corners in the top-corners of the pagewrapper-div don't show in IE7,bottom-corners do. In Firefox no problem (of course...). See http://www.jb-projecten.nl/ Looked through the posts, cannot find it. Somebody a solution? Thanks!
Last edited by FrankPl on Wed Apr 02, 2008 7:07 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Nifty corners top in IE7 don't show

Post by Dr.CSS »

The JS I have used has always been in files that are called to it from out side the template like the first line, I've never put any of it in the template...

Do the next one like this, and remove the comments, and put the CSS in a new style sheet attached to the template...


  window.onload=function(){
  Nifty('div#main,div#nav,div#sidebar','same-height'); //same height cols
  Nifty('div#pagewrapper','big transparent'); //rounded corners
  Nifty('div#sidebar','medium transparent'); //rounded corners
  AddCss ("niftycube/niftyCorners.css"); // location of Nifty CSS file relative to this page
}
FrankPl
New Member
New Member
Posts: 5
Joined: Fri Feb 22, 2008 5:02 pm

Re: Nifty corners top in IE7 don't show

Post by FrankPl »

...but that is exactly how it is already! Or may be i do not undestand your remark "and put the CSS in a new style sheet attached to the template..."
The thing is that only the top corners of the pagewrapper don't round, all the others do. Thanks for looking in to it again...

Frank

Situation:

{literal}



  window.onload=function(){
  Nifty('div#main,div#nav,div#sidebar','same-height');
  Nifty('div#pagewrapper','big transparent');
  Nifty('div#sidebar','medium transparent');
  AddCss ("niftycube/niftyCorners.css");
}

{/literal}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Nifty corners top in IE7 don't show

Post by Dr.CSS »

This is how mine looks...




niftyLayout.js  has...

window.onload=function(){
Nifty("div#menu a","transparent");
Nifty("ul#intro li","same-height");
Nifty("div.date");
Nifty("div#content,div#side","same-height");
Nifty("div.comments div");
Nifty("div#footer");
Nifty("div#container","all");
Nifty("div#header","bottom","transparent");
}

Maybe you want to use dbl. quotes also...

I have a stylesheet that is attached to the template and it is called just like the rest of them...

Mine...

http://multiintech.com/rounded/niftycubes.html
FrankPl
New Member
New Member
Posts: 5
Joined: Fri Feb 22, 2008 5:02 pm

Re: Nifty corners top in IE7 don't show

Post by FrankPl »

Tried it...alas

in template:

{* NiftyCorners: *}
{literal}



{/literal}


niftyLayout.js:

window.onload=function(){
  Nifty("div#pagewrapper","big transparent");
  Nifty("div#main,div#nav,div#sidebar","same-height");
  Nifty("div#sidebar","medium transparent");
}

Still firefox OK, IE only top left + right corner not
Still apreciate any thoughts on this silly IE-bug

Frank
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Nifty corners top in IE7 don't show

Post by Dr.CSS »

I don't see any rounding on the side bar...

You may need to give the pagewrapper some padding on the top, maybe 5px...

BTW your template shows up as a stylesheet when I use the Web Dev. toolbar in Firefox...
Post Reply

Return to “Layout and Design (CSS & HTML)”