[Solved] Problem with alignment (CSS) with Flash content block in IE (6)

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
dprowe
New Member
New Member
Posts: 5
Joined: Sat Jun 30, 2007 11:28 pm

[Solved] Problem with alignment (CSS) with Flash content block in IE (6)

Post by dprowe »

Hi,
CMSMS newbie here, love it but I have a problem that I can't seem find a solution for after searching the forums.

I'm building a site for a client using Version CMS Made Simple 1.2.2 "Holetown".

In FF and all other browsers the content block (Flash Header) aligns perfectly with the rest of the template but in IE 6 the header is out of line to the left by about 10 pixels.  I've gone round and round for several days now and it's driving me a little batty -- any help at all will be most appreciated.  Thanks in advance.
Dana

Here is my template:





{sitename} | {title}


{metadata}
{stylesheet}







{cms_module module='menumanager' template='bulletmenu'  number_of_levels='1' template='behoriz}

{global_content name='beheader'}



{content block='contenttitle' oneline='true'}
{content}

   
    {content block='block1title' oneline='true'}
  {content block='block1'}
   
    {content block='block2title' oneline='true'}
  {content block='block2'}
   


         




   
   
{cms_module module='menumanager' template='BeautyEdge : Panoramica : ellnav-vert'    start_level='2' collapse='0'}

   


All logos, images and trademarks in this site are property of their respective owners.

All the rest © copyright of Beauty Edge LLC.  All rights reserved.
 
 
    Legal | Link | Link
 






Here is the stylesheet information:

body {
margin: 0;
padding: 0;
background-color:#ffffff;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #333333;
voice-family: "\"}\"";
voice-family: inherit;
font-size: 11px;
background-image: url(uploads/BeautyEdge/be-bodybg.png);
background-repeat: repeat-x;
font-weight: normal;
line-height: 1.5em;
}

html>body {
font-size: 11px;
}

#container {
margin:0 auto;
width:779px;
background-color:#ffffff;
background-image: url(uploads/BeautyEdge/bg-content-red2.png);
background-repeat: no-repeat;
padding: 0px;
}

#innercontainer {
margin:0 auto;
padding:0;
width:739px;
}

#header{
margin:0 auto;
padding:0;
height:170px;
width: 739px;
background-image: url(uploads/BeautyEdge/be-header4.png);
background-repeat: no-repeat;
background-position: bottom;
float:right;
}

#header h1{
display:none
}

#content-left {
width: 445px;
float: left;
height: auto;
margin-left: 10px;
padding:0;
}

#content-left p {
text-align: left;
margin-left:25px;
padding:0;
display: block;
width: 380px;
color: #666666;
}

#content-left h2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
margin-left:25px;
color: #fe0097;
padding-left:0;
font-weight: strong;
}

#content-left h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
margin-left:25px;
color: #fe0097;
padding-left:0;
font-weight: strong;
}

#content-left a {
color: #fe0097;
text-decoration: none;
}

#content-left a:hover {
text-decoration: underline;
}

#content-right {
width:269px;
float:right;
margin-top:0;
margin-bottom: 0;
padding-top: 20px;
    padding-left: 0;
padding-bottom: 0;
margin-left: 10px;
}

#footer {
background-color:#ffffff;
height: 65px;
background-image: url(uploads/BeautyEdge/footer-bg-all.gif);
background-repeat: repeat-x;
clear: both;
margin: 0px;
width: 739px;
padding-top: 5px;
}

#sub-footer {
background-color:#ffffff;
height: 25px;
clear: both;
margin: 0px;
width: 739px;
padding-top: 0px;
font-size: 9px;
color: #999999;
text-align: center;
display: block;
}

#content-right p {
color: #666666;
margin-left: 20px;
}

#content-right h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: normal;
margin-left:20px;
color: #fe0097;
padding-left:0;
}


#footer p {
color: #000000;
text-align: left;
font-size: 11px;
font-weight: normal;
margin-left: 20px;
}

#footer a {
color: #666666;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
color: #000000;
}

#content-right a {
color: #666666;
text-decoration: none;
}

#content-right a:hover {
color: #fe0097;
text-decoration: none;
}

#header p {
font-size: 10px;
font-weight: bold;
color: #F9FAE0;
margin-top: 68px;
margin-left: 75px;
}

#header a {
color: #FAFBE2;
text-decoration: none;
}

#header a:hover {
text-decoration: underline;
}

#tabbed {
float:left;
width:400px;
line-height:normal;
padding-top: 13px;
padding-left: 20px;
height: 36px;
    }
 
#tabbed ul {
margin:0;
padding:0px 0px 0;
list-style:none;
background-repeat: no-repeat;
    }
 
#tabbed li {
display:inline;
height: 36px;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
    }
 
#tabbed a {
float:left;
background:url(uploads/BeautyEdge/tab-l.gif) no-repeat left top;
margin:0;
padding:0 0 0 5px;
text-decoration:none;
color: #fe0097;
font-size: 12px;
    }

#tabbed a span {
float:left;
display:block;
background:url(uploads/BeautyEdge/tab-r.gif) no-repeat right top;
padding:5px 14px 17px 6px;
color: #666666;
margin-left: 2px;
    }

#tabbed a span {
float:none;
}
 
#tabbed a:hover span {
      color:#333333;
    }
 
#tabbed a:hover {
background-position:0% -50px;
text-decoration: none;
    }
 
#tabbed a:hover span {
background-position:100% -50px;
text-decoration: none;
    }
 
#special a:hover {
background-position:0% -50px;
text-decoration: none;
    }
 
#special a:hover span {
background-position:100% -50px;
text-decoration: none;
    }
 
#special a span {
float:none;
}

#special a:hover span {
      color:#fe0097;
    }
 
#special a {
float:left;
background:url(uploads/BeautyEdge/tab-l.gif) no-repeat left top;
background-position:0% -50px;
margin:0;
padding:0 0 0 5px;
text-decoration:none;
color: #fe0097;
    }
 
#special a span {
    float:left;
    display:block;
    background:url(uploads/BeautyEdge/tab-r.gif) no-repeat right top;
background-position:100% -50px;
    padding:5px 14px 17px 6px;
    color:#fe0097;
    }

#sub-menu {
padding-top: 15px;
padding-left: 27px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #555555;
padding-bottom: 10px;
}
#sub-menu ul {
        margin:0px;
        padding:0px;
display: block;
width: 180px;
}

#sub-menu li {
list-style-type: none;
padding-top: 4px;
padding-bottom: 4px;
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #CCCCCC;
}

#myframe {
height: 250px;
}

#sub-menu a {
color: #555555;
text-decoration: none;
margin-left: 10px;
}

#sub-menu a.current {
color: #fe0097;
text-decoration: none;
margin-left: 10px;
}

#sub-menu a:hover {
color: #fe0097;
text-decoration: none;
}

#footer-left {
float: left;
width: 439px;
padding:0;
margin:0 0 0 10px;
height: auto;
}

#footer-right {
float: right;
height: auto;
padding:0;
margin:0 10px 0 0;
width: 269px;
}

#footer-right p {
text-align: right;
display: block;
padding-right: 25px;
}

.divider {
height: 12px;
width: 100%;
margin-bottom: 0px;
margin-top: 0px;
padding-top: 0px;
padding-bottom: 0px;
}

/* Image Gallery - Small Thumbnail Images */
.thumb {
margin: 1em 1em 1.6em 0; /* Space between images */
padding: 0;
float: left;
text-decoration: none;
line-height: normal;
text-align: left;
}

.thumb img, .thumb a img, .thumb a:link img{ /* Set link formatting*/
width: 100px; /* Image width*/
height: 100px; /* Image height*/
display: inline;
padding: 12px; /* Image padding to form photo frame */
/* You can set the above to 0px = no frame - but no hover indication! Adjust other widths ot text!*/
margin: 0;
background-color: white; /*Background of photo */
border-top: 1px solid #eee; /* Borders of photo frame */
border-right: 2px solid #ccc;
border-bottom: 2px solid #ccc;
border-left: 1px solid #eee;
text-decoration: none;
}

.thumb a:visited img {
background-color: #eee; /*Background of photo on hover - sort of a light grey */
}

.thumb a:hover img {
background-color: #fe0097; /*Background of photo on hover - BE Pink */
}

.thumbPicCaption {
text-align: center;
font-size: smaller;
margin: 0 1px 0 0;
padding: 0;
width: 124px; /* Image width plus 2 x padding for image (photo frame) - to center text on image */
/* display: none;  if you do not want to display this text */
}

/* Image Gallery - Big Images */
.bigPic {
margin: 10px 0 5px 0;
padding: 0;
line-height: normal;
}

.bigPicCaption { /*Big Image Name - above image above .bigpicImageFileName (Without extension) */
text-align: center;
font-weight: bold;
font-variant: small-caps;
font-weight: bold;
margin: 0 1px 0 0;
padding: 0;
width: 386px; /* Image width plus 2 x padding for image (photo frame) - to center text on image */
/* display: none;  if you do not want to display this text */
}

.bigPic img{ /* Big Image settings */
width: 350px; /* Width of Big Image */
height: auto;
display: inline;
padding: 18px; /* Image padding to form photo frame. */
/* You can set the above to 0px = no frame - but no hover indication! Adjust other widths ot text!*/
margin: 0;
background-color: white; /* Background of photo */
border-top: 1px solid #eee; /* Borders of photo frame */
border-right: 2px solid #ccc;
border-bottom: 2px solid #ccc;
border-left: 1px solid #eee;
text-decoration: none;
text-align: left;
}

.bigPicNav { /* Big Image information: 'Image 1 of 4' and gallery navigation */
margin: 0;
width: 386px; /* Image width plus 2 x padding for image (photo frame) - to center text on image */
padding: 0;
color: #000;
font-size: smaller;
line-height: normal;
text-align: center;
/* display: none;  if you do not want to display this text. Why? You Lose Navigation! */
}



Here is the content block (FLASH header) sorry it got a bit jumbled in the editor apparently:

{literal}                                                                                                                      {/literal}

The URL is below if it helps to take a look at the actual page.

http://www.beautyedgeinc.com/content/

Again thank you so much. 

Dana
Last edited by dprowe on Thu Jan 10, 2008 5:34 am, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: Problem with alignment (CSS) with Flash content block in IE (6)

Post by Nullig »

Have you tried adding a margin on the left for IE:

* html #header {
margin-left: 10px;
}

Nullig
dprowe
New Member
New Member
Posts: 5
Joined: Sat Jun 30, 2007 11:28 pm

[Solved] Re: Problem with alignment (CSS) with Flash content block in IE (6)

Post by dprowe »

Absolutely brilliant.  Thank you so much.  It ended up being only 5px.  Worked like the proverbial charm.

Best,
Dana
Post Reply

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