|
|
|
www.bluebusinessdev.com Joined: 5/19/2006
Posts: 61
|
|
|
Hello,
Hopefully someone has come across this issue and has a solution. I modified the MinimalExtropy skin that shipped with the DNN 4.9.4 community edition.
I've been using VS 2008 to edit the skin and it looks perfect in firefox. IE 7 doesn't like one of my bg images however. Here is part of the css I have and the line that is causing the problems
.logo_top_left
{padding:0px; margin:0px; background:url(images/logo_top_left.png) no-repeat top left; height:23px;}
.logo_top_right{padding:0px; margin:0px; background:url(images/logo_top_right.png) no-repeat top right; }
.logo_top_bg
{padding:0px; margin:0 39px 0 27px; background:#FFF url(images/logo_top_bg.png) repeat-x top;height:23px; width: 885px;}
.logo_left
{padding:0px; background:url(images/logo_left.png) repeat-y top left;}
.logo_right
{padding:0px; background:url(images/logo_right.png) repeat-y top right;}
.logo_pad
{background:#FFF; margin: 0 19px 0px 7px; padding:0 12px 12px 12px ; }
The top right corner just dosn't show up in IE but looks fine in Firefox. I have an image of the problem, but not sure how to upload it. Any help is appreciated. I'll add the entire css file below the fold for reference in case there is something I am missing.
Thanks in advance,
Dan
@import
url("css/menu.css");
/* CSS Document */
body
{background:#FFF url(images/body_bg.png) repeat-x top left; height:100%; margin:0px; padding:0px; }
/* ControlPanel style */
.ControlPanel
{background:transparent url(images/cpanel_center.png) repeat-x bottom left; border:none;padding-bottom:10px;}
.cpanel_left
{background: url(images/cpanel_left.png) no-repeat bottom left;padding-left:21px;}
.cpanel_right
{background: url(images/cpanel_right.png) no-repeat bottom right;padding-right:33px;}
/*-------- Default Style --------*/
body
,th,td,div,p,table,h1,h2,h3,h4,h5,h6.Normal,.NormalDisabled,.Head,.SubHead,.SubSubHead, a:link, a:visited, a:hover, input{color:#2E3D47; font-family:Verdana, Arial, Helvetica, sans-serif;}
body
,th,td,div,p,table,.Normal,.NormalDisabled,.Head,.SubHead,.SubSubHead, a:link, a:visited, a:hover{font-size:12px;}
h1
, h2, h3, h4, h5, h6{color:#375162;}
h1
, h3, h5, h1 input{font-weight:bold;}
h2
, h4, h6{font-weight:normal}
h1
, h2, h1 input{font-size:14px;margin:10px 0;}
h3
, h4{font-size:12px;margin:8px 0;}
h5
, h6{font-size:10px;margin:6px 0;}
a
,a:link,a:visited,a:active{color:#ffffff; text-decoration:none; font-weight:bold; }
a:hover
{color:#19384A; text-decoration:underline; }
.Head
, .SubHead, .SubSubHead, .Normal, .NormalDisabled, .NormalDisabled, .NormalBold, .NormalRed, .NormalTextBox
{
font-family:Verdana, Arial, Helvetica, sans-serif;}
.Head
{color:#2E3D47;font-weight:bold;}
.SubHead
{color:#4C6171;}
.SubSubHead
{color:#6E8AA0;}
.NormalRed
{color:#F00;}
/*Datagrids */
.DataGrid_Container
{margin-top:15px;}
.DataGrid_Header
{font-weight:bold;}
.DataGrid_Header
td, .NormalBold td{font-weight:bold;}
/*-------- design style --------*/
.template_style
{width:970px; margin:0 auto;}
.top_space
{height:34px;}
.lang_pad
{padding:7px 0 0 25px;float:left;}
.logo_top_left
{padding:0px; margin:0px; background:url(images/logo_top_left.png) no-repeat top left; height:23px;}
.logo_top_right
{padding:0px; margin:0px; background:url(images/logo_top_right.png) no-repeat top right; height:23px;}
.logo_top_bg
{padding:0px; margin:0 39px 0 27px; background:#FFF url(images/logo_top_bg.png) repeat-x top;height:23px; width: 885px;}
.logo_left
{padding:0px; background:url(images/logo_left.png) repeat-y top left;}
.logo_right
{padding:0px; background:url(images/logo_right.png) repeat-y top right;}
.logo_pad
{background:#FFF; margin: 0 19px 0px 7px; padding:0 12px 12px 12px ; }
.menu_bg
{padding:0 0 0 0px; margin: 0 0px 0 0px; background:#19384A;}
.menu_left
{padding:0px; margin:0px; background:url(images/menu_left.png) repeat-y top left;}
.menu_right
{margin:0px; background:url(images/menu_right.png) no-repeat top right;}
.menu_2right
{margin:0px; background:url(images/menu_2right.png) no-repeat top right;}
.search_style
{float:right; height:8px; margin:5px 20px 0 0;}
.search_bg
{margin:0px 0px 0 0;}
.bread_bg
{
background-color: #EEEAEA; margin:0px 20px 0 6px; padding: 0 0px 0 0px ;}
.bread_left
{padding: 0 0px 0 0px ;margin:0px 0px 0 0; background:url(images/bread_left.png) no-repeat top left; height:34px; }
.bread_right
{padding:0 0 0 0px ; margin:0px 0px 0 0; background:url(images/bread_right.png) no-repeat top right; height:34px;}
#login_style
{ float:right; padding:8px 17px 0px 10px; }
#bread_style
{ float:left; line-height:34px; padding-left:18px;color:#000000;}
.mainimage
{background:url(images/tra_banner.jpg) no-repeat center; height:202px;padding:10px ; margin:0px 10px 10px 0;}
.center_bg
{padding:0px; margin:0px;clear:both;}
.left_bg
{padding:0px; margin:0px; background:url(images/left_bg.png) repeat-y top left;}
.right_bg
{padding:0px; margin:0px; background:url(images/right_bg.png) repeat-y top right;}
.content_pad
{padding:0px 22px 0px 22px; margin: 0 19px 0px 7px; background:#FFF url(images/center_bg.png) repeat-x bottom left;}
.content_width
{padding-top:0px; min-height:350px;}
.bot_left
{padding:0px; margin:0px; background:url(images/bot_left.png) no-repeat top left;}
.bot_right
{padding:0px; margin:0px; background:url(images/bot_right.png) no-repeat top right; padding:0px 39px 0px 27px;}
.bot_bg
{padding:0px; margin:0px; background:url(images/bot_bg.png) repeat-x top left; height:41px;}
.bot_pad
{margin-bottom:20px;padding:0 30px 0 20px;}
#terms_style
{float:left;}
#copy_style
{float:right;}
.clear_float
{clear:both; line-height:0; font-size:0; height:0;}
/* ------- FileManager -------*/
div.FileManager
{height:auto;border:none;}
table.FileManager
{width:99%}
a.CommandButton:link
, a.CommandButton:visited{color:#CB2027; font-weight:bold; text-decoration:none;}
a.CommandButton:hover
{color:#3E81B5; text-decoration:underline;}
/*-------ControlPanel changes ---------------*/
.ControlPanel
a.CommandButton:link, .ControlPanel a.CommandButton:visited{color:#3E81B5;}
.ControlPanel
a.CommandButton:hover{color:#CB2027; text-decoration:underline;}
.ControlPanel
a.CommandButton:link, .ControlPanel a.CommandButton:visited, .ControlPanel .SubHead{font-size:11px;}
/*--------- pane style ----------*/
.ContentPane
, .TopPane, .BottomPane{ padding:0px; margin:0px; }
.LeftPane
{ padding:0px 20px 0px 0px; width:20%; margin:0px; }
.RightPane
{ padding:0px 0px 0px 20px; width:20%; margin:0px; }
/*------------ Breadcrumb Style --------------*/
.Breadcrumb
,a.Breadcrumb:link,a.Breadcrumb:active,a.Breadcrumb:visited{color:#3E81B5;}
a.Breadcrumb:hover
{color:#C00;}
/*-------------- Link Style --------------*/
.linkscontainer
{padding-top:20px; text-align:center; }
.links
,a.links:link,a.links:active,a.links:visited{ font-weight:bold; color:#3E81B5; text-transform:uppercase;}
a.links:hover
{color:#C00;}
/*-------------- User Style --------------*/
.user
{padding:5px; margin:5px; text-align:center; }a.user:link,a.user:active:,a.user:visited { color:#C7CBD6;}
a.user:hover
{color:#19384A;}
/*-------------- store link Style --------------*/
.store
{padding:5px ; margin:0px 0 3px 0; line-height:0; background:url(images/topnavbg.png) repeat-x top left; height:30px; }
/*-------------- Topnav Table Style --------------*/
.top_navtable
{ float:right; padding:8px 17px 0px 10px; margin:5px 20px;}
/*-------------- Footer Style --------------*/
.footer
,a.footer:link,a.footer:active,a.footer:visited { color:#3E81B5;}
a.footer:hover
{color:#C00; }
/*-------------- Empty panes Style --------------*/
.DNNEmptyPane
{width:0;padding:0;margin:0;}
/*-------------- Search SkinObject Styles --------------*/
div.SearchContainer
{position:relative; white-space: nowrap;}
div.SearchBorder
{width: 180px; height: 20px; border: solid 1px #e0e0e0; float:left; background-color: White; white-space: nowrap; margin-top: 2px;}
div.SearchContainer
a{padding: 0px ; margin:0px 0 20px 0; display: block; float:left; }
div.SearchContainer
a img{padding:0 0px 0 0px;margin:4px 0 0 0 ;}
div.SearchIcon
{float: left; width: 31px; height: 20px; cursor: pointer; z-index: 11; background: no-repeat 2px 2px; text-align:right;}
div.SearchIcon
img{margin-top: 3px;}
input.SearchTextBox
{float: left; z-index: 10; border: 0px; width:130px; height:18px; margin-left:3px; color: #43494D;}
#SearchChoices
{clear: both; display: none; border: solid 1px #C3D4DF; z-index: 2000; cursor: pointer; margin: 0; padding: 0; text-align:left; background-color: #F3F7FA; position:absolute; top: 22px; left: 0px;}
#SearchChoices
li{cursor: pointer; margin: 0; padding: 2px 2px 0 2px; padding-left: 25px; height: 18px; text-align:left; background-color: #F3F7FA; background-repeat: no-repeat; background-position: 2px center; list-style: none; list-style-image: none; border: none; display:block;}
#SearchChoices
li.searchHilite{background-color: #CE0D0D; color:#ffffff; border: none;}
#SearchChoices
li.searchDefault{background-color: #F8FAFF; border: none;}
|
|
|
|
| |
|
|
www.bluebusinessdev.com Joined: 5/19/2006
Posts: 61
|
|
|
Found the solution. I had a table underneath with padding that bumped the corner png out. Moved the table and fixed the issue.
Hope that helps someone else.
|
|
|
|
| |
|
|
|
Joined: 5/5/2010
Posts: 1
|
|
|
CAn you help me
I have used the default Minimal Extropy Skin and my logo has a left padding or something I want to center it can you please take a look and see where I'm going wrong
Here is the site http://www.wilsonteammedia.com
|
|
|
|
| |
|
|
|
www.psdtodnn.com Joined: 10/30/2009
Posts: 441
|
|
|
Your DNN skin is built using tables and the <td> containing the logo is part of a <table> layout that also contains a pane and the date, login, and register skin controls. To get the logo to centre, you'll need to modify the .ascx file and create a section for the logo that spans 100% of the page. You'll then be able to use the logo skin object in here and centre it using CSS.
Looking at the code you should be able to remove the <td> containing the logo without any layout problems, and then an option would be to use a <div> right before the table which originally contained the logo. Give this div an ID and setup the CSS to align the text to the centre, this should work.
Hope this helps,
Rick.
|
|
|
|
| |