Jump to content

.siteDocs Images Not Lining Up


Recommended Posts

Guest cinnabar
Posted

(Running CC3.0.6 based on killer skin)

I've copied over the .siteDocs, .siteDocsBgRight and left to a new skin and the images look like this...

wrong.jpg

The layout.css file containing the .siteDocs references looks like this...

.siteDocs {

text-align: center;

background-image: url(../styleImages/backgrounds/siteDocsBg.gif);

height: 30px;

color: #FFF;

}

.siteDocsBgRight {

background-image: url(../styleImages/backgrounds/siteDocsBgRight.gif);

background-repeat: no-repeat;

background-position: right;

height: 30px;

}

.siteDocsBgLeft {

float: left;

background-image: url(../styleImages/backgrounds/siteDocsBgLeft.gif);

background-repeat: no-repeat;

background-position: left;

height: 30px;

}

The styletemplates/boxes/siteDocs.tpl file (which i'm assuming controls the position of the siteDocs images) looks like this...

<!-- BEGIN: site_docs -->

<div class="siteDocs">

<div class="siteDocsBgRight">

<span class="siteDocsBgLeft">&nbsp;</span>

<div style="padding-top: 0px;">

<!-- BEGIN: a -->

<a href="index.php?act=viewDoc&amp;docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a>

<!-- BEGIN: sep -->|<!-- END: sep -->

<!-- END: a -->

</div>

</div>

</div>

<!-- END: site_docs -->

They for some reason don't sit neatly next to each other. Does anyone know what is wrong, your help is appreciated.

Gary

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...