Question: I have an HTTPS webserver on WCF hosted under IIS 7.5. I have set the SSL settings to require SSL and ignore client certificates.

When I try to add the web reference in Visual Studio, I get the following error. How do I fix this problem? 

I can see that it's trying to request `?disco` using HTTP instead of HTTPS. I think this is the problem, but I am not sure how to address this.

> 
> The document at the url <https://testserver/service1.svc?wsdl> was not recognized as a known document type.  
> 
>  The error message from each known type may help you fix the problem:  
> 
>  - Report from 'DISCO Document' is 'There was an error downloading '<http://testserver/service1.svc?disco>'.'.  
> 
>  - The request failed with HTTP status 403: Forbidden.  
> 
>  - Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html; charset=UTF-8').'.  
> 
>  - Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html; charset=UTF-8').'.  
> 
>  - Report from '<https://testserver/service1.svc?wsdl>' is 'The document format is not recognized (the content type is 'text/html; charset=UTF-8').'.  
> 
> 
> 
>

Answer: 
Oh, I've found something, just edit the div.menu class:

```
div.menu
{
    padding: 4px 8px 4px 0px;
    float: right !important
}

```

The "!important" keyword (I'm not sure about this strange thing), make the browser render my asp:menu float style based on my css class not from the generated javascript.

I found it here: <http://walaapoints.blogspot.com/2011/04/aspnet-menu-rtl.html>
If this is your menu

```
div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

```

then you need to add a `width` to it in order to make it float.

So something like

```
div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: 300px;  //CHANGE THIS
    float:right;
}

```

The `width` needs to be something less than 100%/auto for it to float properly.