The New HTML Editor is Here! - Page 9...

User 463058 Photo


Ambassador
1,085 posts
Online Now

Shane Clements wrote:
I made changes as you suggested but no success.


I was going to let you know how to fix this, but I just refreshed your page, and the menu is now vertical with submenus flush with the left side of the window. Can just restore the original menu styling? Then the centering part will be easy. There shouldn't be any reason to delete any of the styling in the original css.
User 126820 Photo


Registered User
8 posts

Cary wrote:
Shane Clements wrote:
I made changes as you suggested but no success.


I was going to let you know how to fix this, but I just refreshed your page, and the menu is now vertical with submenus flush with the left side of the window. Can just restore the original menu styling? Then the centering part will be easy. There shouldn't be any reason to delete any of the styling in the original css.



Cary

Page restored to original menu styling.

Shane
I'm old, fat and losing my hair .... so the kids tell me.
User 38401 Photo


Senior Advisor
10,951 posts

Thanks for stepping in Cary, I couldn't get it to center without removing those 2 lines at all myself so definitely if you know a better way I'll learn too :)
User 463058 Photo


Ambassador
1,085 posts
Online Now

Okay, this will fix it. Add a div around the menu. Below you can see the opening div tag followed by the first line of your menu:

<div style="width:404px; margin:0 auto; position:relative">
<ul class="menu-menu">


Then you just need to close the div tag at the end of your menu:
</ul>
</div>
<P></P>
</TD>


The trick is the inline styling used within the opening div tag:

width: 404px
This sets the div around the menu to a width of 404px. This is wide enough to contain your menu and also give you a centered menu if the div itself is centered. You can fiddle with the width. I initially tried 400px, but that was too narrow and the menu wrapped around into two lines, so I added the extra pixels. Maybe just 401px would be fine. I didn't test it.

margin: 0 auto
This tells the browser that the div has margins on the top and bottom of zero pixels, and the left and right margins are set to auto, that is to equally fill the remaining width of the cell. This is the bit that actually centers the div.

position:relative
This allows the menu and sub menus to move together with the centered div that is containing them.

Now that the centering part is taken care of, you still need to make the menu work in IE 6, so take a look at the following thread:

http://www.coffeecup.com/forums/website … -problems/
User 463058 Photo


Ambassador
1,085 posts
Online Now

Jo Ann wrote:
Thanks for stepping in Cary, I couldn't get it to center without removing those 2 lines at all myself so definitely if you know a better way I'll learn too :)


No problem. I think the method I just described would be easier to reuse, as the only variable is the div's width which is basically the width of the menu itself, and there's no need to try to remember how to modify the menu's css.

User 126820 Photo


Registered User
8 posts

Thanks Cary, works perfect.

Just got to get my head around that .htc file, but I did spend some time reading all the info.

Do I just ftp the file onto the server?

I didn't understand the instruction to move lines 11 to 28 into the body, what if the body starts at line 17?

I'm old, fat and losing my hair .... so the kids tell me.
User 463058 Photo


Ambassador
1,085 posts
Online Now

Shane Clements wrote:
Thanks Cary, works perfect.

Just got to get my head around that .htc file, but I did spend some time reading all the info.

Do I just ftp the file onto the server?


That's what you would do. So, if you ftp it to the same location as your html page, then you would also insert the following bit of code somewhere in the head section of the html so IE 6 will find the .htc file and use it.

<style type="text/css">
body {behavior:url("csshover3.htc");}
</style>


Shane Clements wrote:
I didn't understand the instruction to move lines 11 to 28 into the body, what if the body starts at line 17?


Oh, just ignore that. That was in reference to a coding problem specific to the original poster's page. He had some code in the wrong place.
User 2055969 Photo


Registered User
9 posts

John Liebson wrote:
Unable to download update version:

1. First attempt, very long time to start download, then very slow download until 50%, whereupon download stopped, and stayed stopped for perhaps thirty minutes.

2. Removed first attempt a while later, started new download; this proceeded at a "reasonable" speed, nearly to the limit of my 150MB dsl line. However, as soon as download reached the 50% mark, it stopped, and remained stopped until I put it out of its misery.

3. Third attempt: Slow to start downloading, then fast until the 50% mark. At that point, the download immediately dropped to 0 bps, and stayed there for ten minutes or so, whereupon I deleted it.


John, it sounds like you have a caching issue. Sometimes your provider has their internet caching server mis-configured and an aborted download is not cleared properly and so the server thinks the partially downloaded file is the full file. It's supposed to check to make sure the sizes match up for each request but sometimes a configuration issue keeps that from happening.

There isn't much that you can do since it is on the providers side of things. However, you can wait 12-24 hours and the server should discard the partial crap file and recheck once you try to download it again.

Another possibility while you are waiting is to clear all of your caches, offline content, etc. Sometimes a partial file on your end will hang things up. Clear your caches in your browser and then have your computer do a restart (don't just power it off). That may clear the issue. If it doesn't, then the problem is upstream of you and only time will clear it.

Hope this helps,

H
User 2055969 Photo


Registered User
9 posts

Jo Ann wrote:


As for the reduced price of the VSD for people with HTML Editor, I don't know, I think the prices are already so extremely low to start with to be honest, and the fact that you'll never have to pay again on that software is pretty much unheard of in today's software industry.


I completely agree. For the level of support and professional results and proven track record AND lifetime free upgrades you can't even come close. In today's software market you have to search through a lot of garbage before you find a diamond. Anyone complaining about the prices on this site really needs to look at 10 other products and do some side by side comparisons. It's not even close.
User 92156 Photo


Registered User
272 posts

People reading the "what were you able to make using coffecup" threads would have seen that I've been using one of CC's original editors (the 1997 registered version) ever since it first came out.

... why didn't I upgrade? I didn't bother because I liked the editor and didn't have any issues with it. Also, my first experience with an early wizzy-wig version of CC got me scared of it after I unadvisedly swapped between code editor and visual editor, and saw it change some of my "lovely" hand-coded work.
So I went back to the '97 version and have been happily using it up to now when a couple of kind souls on the other thread persuaded me to try the latest version.

The '97 version was already good to use, and the latest version improves on it considerably.
I like the little asterisk in the tab telling me the page hasn't been saved, I like the blue highlighting when selecting text (softer on the eyes then white-on-black), I like the "test in favorite browser(s)" feature, I like all the changes in fact.
Despite being an obstinate old man I 'm even using the projects tab.
It seems faster too, or is that just my imagination?
When I realised that the visual editor was hidden from view unless required I came down off the ceiling and started to use it in earnest, and I'm now revamping my site http://www.drivingnt.com

I've noticed though, that when I make changes to a page and click the preview tab the browser seems to ignore my stylesheet, but if I go back and save the page then return to preview the page is rendered properly according to the stylesheet.
From memory this didn't happen the first few times I used the program but I can't be absolutely sure about that.

I remember from using the '97 version that CC provided a link to put on my home page, it displayed "built with CoffeeCup" and the cup logo - after a while the link stopped working so I removed it.

I bought the latest version - I'd completely forgotten about the free upgrade thing, but as I'm using a different email address my attempts to upgrade probably wouldn't have worked.

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.