HTML Editor 12.5 - IE displays...

User 315488 Photo


Registered User
90 posts

I have a web site with a CSS positioned box of Other Links. I'm using HTML Editor 12.5. In the local preview, using IE 9, it displays perfectly. When it is uploaded to my server, it displays with the Other Links box out of place.
See attached pictures to see the difference.
I'm using a CSS file from one of the CoffeeCup HTML themes (Classical Jazz). I added another CSS file to use for the Other Links box. Here's the html code for the contents of the box.
<div class="floatright">
<h2>Other Links</h2>
<hr />
<ul >
<li><a href="conference-brochures.html" title="Conference brochures">Conference Brochures</a></li>
<li><a href="calendar.html" title="UPC Events">Calendar</a></li>
<li><a href="legupdate/2011MasterSummaries.pdf" target="_blank">2011 Leg Update Summary</a></li>
<li><a href="trainingVideos.html">Online Video Training</a></li>
</ul>
</div> <!-- End of div class: floatright -->


Here's the code for the applicable CSS (this is my own added code - it isn't in the original CSS file that came with the them):
.floatright{
float:right;
width:200px;
border-width:1px;
border-style:solid;
border-color:#BDC8C0;
margin:10px 0 10px 10px;
padding:2px;
background-color:#BADFF0;
}
div.floatright p {
color:#613F1D;
margin: 0 5px 5px 10px;
padding:2px;
}
div.floatright h2 {
margin:10px 0 10px 0;
text-align:center;
}

div.floatright li {
padding:5px;
font-size:1.1em;
text-align:center;
}
div.floatright li a {
text-decoration:none;
color:#425C82;
}

div.floatright li a:hover {
color:#FFFFFF;
text-decoration:underline;
}


Here's the website URL: http://www.upc.utah.gov

I don't understand why the local preview works, but it's different on the server (live). I'm pretty sure it's something to do with problems in my CSS code. I'm just learning CSS and so I wouldn't be surprised at all if that's what is causing my issue.

It displays properly in Firefox and Chrome.

Any ideas how to make it work in IE (I'm using v. 9)?
User 315488 Photo


Registered User
90 posts

Oops, the files didn't attach.
Attachments:
User 1948478 Photo


Senior Advisor
1,850 posts

Looks OK in my IE9. See screenshot attached...
Attachments:
User 2073552 Photo


Registered User
1,625 posts

I am guessing but do you want it flush with the right hand side???
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 122279 Photo


Senior Advisor
14,624 posts

I haven't studied the code yet, but could it be that you have to clear your cache?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 122279 Photo


Senior Advisor
14,624 posts

Now I have gone through the code, and I can't see anything wrong in it. The page displays for me in FFx, IE browser preview and html Editor External preview, as also online in FFx and IE, in exactly the same way, like Per's screen shot.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 315488 Photo


Registered User
90 posts

I found the problem - my local IE was set in Compatibility view for that web site.
AGH!

Thanks for your help. It's interesting that a little thing like that messes things up so much.

Still learning ...

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.