Hope someone can help.
I have created a page that a has a webpart (Editable Text). Within this "source" contains a table with columns and rows and these cells contain images from a class from within a css file. (<link rel="stylesheet" type="text/css" href="xxxxxxxxxxxxx" />
These classes are just an image with a rollover when the mouse goes over. the image is on a sprite that contain 6 to 24 images. (there are 48 classes)
example Css;
.Bargaining_1 {
display: block;
width:100px;
height:100px;
text-indent: -10000px;
background:url("../../APP_Themes/Images/Sprites/Bargaining.png") 0px 0;
}
.Bargaining_1:hover {
background: url("../../APP_Themes/Images/Sprites/Bargaining.png") 0px -100px;
Html
<tr>
<td align="center" class="Tactics"><a class="Bargaining_1" href="/Tactics/Bargaining/Salami-Slicing.aspx" title="Salami Slicing"></a></td>
</tr>
Works fine within a browser (direct to page) but fails to show the CSS formatting / image sprite within the "page" layout with CMSDesk - but it does show correctly within the "Design" page (in CMSDesk)
But.
If I go back into the source of the web part, and then exit it or edit the page, change text, delete a space etc it alters my table code into a list.
<ul>
<li><a href="/Tactics/Bargaining/Salami-Slicing.aspx" >Salami Slicing</a></li>
</ul>
This obviously rips out all the styling etc... but why is kentico system screwing with my HTML code?
1. can I get Kentico to stop it?
2. Display my css formatting within the "Page" view
Thanks.
Dave