menu on Master a mess in IE !

menu on Master a mess in IE !

am 10.01.2008 17:46:52 von Jeff User

VS2005, Win XP, IE 6.0
Who ever would have thought. My menu looks better in firefox than
IE6.0 !!

If I create a site menu on a regular webForm it displays ok.
Menu is only 2 levels deep (not counting hidden "home" level 0)

But if I create it on a Master page (which I need to do), when I run
the content page it loses all formatting. I mean all. Here is what I
see when the page runs:
- Colors, fonts are gone.
- When page first displays there are dbl verticle arrows seperating
all of the level two lists, which are displayed down the left side of
the page. Pointing to these arrows removes them and hides the list
-Then when pointing to the menu items, the level two lists are popping
up in wierd places on the screen along with empty white boxes
elsewhere on the screen.

sigh...
Does anyone have any idea about this behavior?

Thanks
Jeff

Re: menu on Master a mess in IE !

am 10.01.2008 18:23:20 von mark

"Jeff User" wrote in message
news:ohgco39hgmu90ep7p0iq5189r504pvcets@4ax.com...

> Does anyone have any idea about this behavior?

It's difficult to tell without seeing your markup, but it sounds as if your
menu has lost the link to its stylesheet, maybe due to incorrect absolute
references...

Bear in mind that document element names will change in a MasterPage /
content page scenario - if your stylesheet is referring to element names,
that will almost certainly be the problem...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Re: menu on Master a mess in IE !

am 10.01.2008 18:41:34 von Steve

Yes I agree with Mark. Check your CSS reference. I bet the path is messed
up from some pages.
Think about using absolute paths or dynamic paths or using the tilde ~

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net


"Jeff User" wrote in message
news:ohgco39hgmu90ep7p0iq5189r504pvcets@4ax.com...
>
> VS2005, Win XP, IE 6.0
> Who ever would have thought. My menu looks better in firefox than
> IE6.0 !!
>
> If I create a site menu on a regular webForm it displays ok.
> Menu is only 2 levels deep (not counting hidden "home" level 0)
>
> But if I create it on a Master page (which I need to do), when I run
> the content page it loses all formatting. I mean all. Here is what I
> see when the page runs:
> - Colors, fonts are gone.
> - When page first displays there are dbl verticle arrows seperating
> all of the level two lists, which are displayed down the left side of
> the page. Pointing to these arrows removes them and hides the list
> -Then when pointing to the menu items, the level two lists are popping
> up in wierd places on the screen along with empty white boxes
> elsewhere on the screen.
>
> sigh...
> Does anyone have any idea about this behavior?
>
> Thanks
> Jeff

Re: menu on Master a mess in IE !

am 10.01.2008 19:22:55 von Jeff User

I have not even set a style sheet for the menu.
I set a few colors in the propeties window.
Here is all the master and test code:

Main.Master:

<%@ Master Language="C#" AutoEventWireup="true"
CodeBehind="Main.master.cs" Inherits="MMS.Main" %>

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





Untitled Page




runat="server">
DataSourceID="SiteMapDataSource1"
Orientation="Horizontal" BorderColor="#C0FFFF"
ForeColor="#00C0C0">

runat="server" EnableViewState="False" ShowStartingNode="False" />







ContentTester.aspx:

<%@ Page Language="C#" MasterPageFile="~/Main.Master"
AutoEventWireup="true" CodeBehind="ContentTester.aspx.cs"
Inherits="MMS.ContentTester" Title="Untitled Page" %>


Thanks again
Jeff



On Thu, 10 Jan 2008 11:46:52 -0500, Jeff User
wrote:

>
>VS2005, Win XP, IE 6.0
>Who ever would have thought. My menu looks better in firefox than
>IE6.0 !!
>
>If I create a site menu on a regular webForm it displays ok.
>Menu is only 2 levels deep (not counting hidden "home" level 0)
>
>But if I create it on a Master page (which I need to do), when I run
>the content page it loses all formatting. I mean all. Here is what I
>see when the page runs:
>- Colors, fonts are gone.
>- When page first displays there are dbl verticle arrows seperating
>all of the level two lists, which are displayed down the left side of
>the page. Pointing to these arrows removes them and hides the list
>-Then when pointing to the menu items, the level two lists are popping
>up in wierd places on the screen along with empty white boxes
>elsewhere on the screen.
>
>sigh...
>Does anyone have any idea about this behavior?
>
>Thanks
>Jeff

Re: menu on Master a mess in IE !

am 10.01.2008 19:23:36 von George Ter-Saakov

It's a known "bug", the problem with how CSS style for menu are used.
http://weblogs.asp.net/dannychen/archive/2005/12/16/433332.a spx

You can fix it by removing from web.config

George


"Jeff User" wrote in message
news:ohgco39hgmu90ep7p0iq5189r504pvcets@4ax.com...
>
> VS2005, Win XP, IE 6.0
> Who ever would have thought. My menu looks better in firefox than
> IE6.0 !!
>
> If I create a site menu on a regular webForm it displays ok.
> Menu is only 2 levels deep (not counting hidden "home" level 0)
>
> But if I create it on a Master page (which I need to do), when I run
> the content page it loses all formatting. I mean all. Here is what I
> see when the page runs:
> - Colors, fonts are gone.
> - When page first displays there are dbl verticle arrows seperating
> all of the level two lists, which are displayed down the left side of
> the page. Pointing to these arrows removes them and hides the list
> -Then when pointing to the menu items, the level two lists are popping
> up in wierd places on the screen along with empty white boxes
> elsewhere on the screen.
>
> sigh...
> Does anyone have any idea about this behavior?
>
> Thanks
> Jeff

Re: menu on Master a mess in IE !

am 10.01.2008 19:37:10 von Jeff User

That did the trick !!!!

Excellent, thank you so much!!!!!
Jeff

On Thu, 10 Jan 2008 13:23:36 -0500, "George Ter-Saakov"
wrote:

>It's a known "bug", the problem with how CSS style for menu are used.
>http://weblogs.asp.net/dannychen/archive/2005/12/16/433332. aspx
>
>You can fix it by removing from web.config
>
>George
>
>
>"Jeff User" wrote in message
>news:ohgco39hgmu90ep7p0iq5189r504pvcets@4ax.com...
>>
>> VS2005, Win XP, IE 6.0
>> Who ever would have thought. My menu looks better in firefox than
>> IE6.0 !!
>>
>> If I create a site menu on a regular webForm it displays ok.
>> Menu is only 2 levels deep (not counting hidden "home" level 0)
>>
>> But if I create it on a Master page (which I need to do), when I run
>> the content page it loses all formatting. I mean all. Here is what I
>> see when the page runs:
>> - Colors, fonts are gone.
>> - When page first displays there are dbl verticle arrows seperating
>> all of the level two lists, which are displayed down the left side of
>> the page. Pointing to these arrows removes them and hides the list
>> -Then when pointing to the menu items, the level two lists are popping
>> up in wierd places on the screen along with empty white boxes
>> elsewhere on the screen.
>>
>> sigh...
>> Does anyone have any idea about this behavior?
>>
>> Thanks
>> Jeff
>

Re: menu on Master a mess in IE !

am 10.01.2008 19:49:27 von mark

"George Ter-Saakov" wrote in message
news:OONdrX7UIHA.3596@TK2MSFTNGP06.phx.gbl...

> It's a known "bug", the problem with how CSS style for menu are used.
> http://weblogs.asp.net/dannychen/archive/2005/12/16/433332.a spx
>
> You can fix it by removing from
> web.config

Thanks for that - I'd completely forgotten about xhtmlConformance...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Re: menu on Master a mess in IE !

am 10.01.2008 20:09:18 von LVP

Jeff: did it work?

LVP


"George Ter-Saakov" wrote in message
news:OONdrX7UIHA.3596@TK2MSFTNGP06.phx.gbl...
> It's a known "bug", the problem with how CSS style for menu are used.
> http://weblogs.asp.net/dannychen/archive/2005/12/16/433332.a spx
>
> You can fix it by removing from
> web.config
>
> George
>
>
> "Jeff User" wrote in message
> news:ohgco39hgmu90ep7p0iq5189r504pvcets@4ax.com...
>>
>> VS2005, Win XP, IE 6.0
>> Who ever would have thought. My menu looks better in firefox than
>> IE6.0 !!
>>
>> If I create a site menu on a regular webForm it displays ok.
>> Menu is only 2 levels deep (not counting hidden "home" level 0)
>>
>> But if I create it on a Master page (which I need to do), when I run
>> the content page it loses all formatting. I mean all. Here is what I
>> see when the page runs:
>> - Colors, fonts are gone.
>> - When page first displays there are dbl verticle arrows seperating
>> all of the level two lists, which are displayed down the left side of
>> the page. Pointing to these arrows removes them and hides the list
>> -Then when pointing to the menu items, the level two lists are popping
>> up in wierd places on the screen along with empty white boxes
>> elsewhere on the screen.
>>
>> sigh...
>> Does anyone have any idea about this behavior?
>>
>> Thanks
>> Jeff
>
>

Re: menu on Master a mess in IE !

am 10.01.2008 20:40:46 von George Ter-Saakov

Yea, it did. He replied earlier.
kudos to Google when I had that problem I found solution in a minutes.


George.

"LVP" wrote in message
news:Oi33Nx7UIHA.1208@TK2MSFTNGP05.phx.gbl...
>
> Jeff: did it work?
>
> LVP
>
>
> "George Ter-Saakov" wrote in message
> news:OONdrX7UIHA.3596@TK2MSFTNGP06.phx.gbl...
>> It's a known "bug", the problem with how CSS style for menu are used.
>> http://weblogs.asp.net/dannychen/archive/2005/12/16/433332.a spx
>>
>> You can fix it by removing from
>> web.config
>>
>> George
>>
>>
>> "Jeff User" wrote in message
>> news:ohgco39hgmu90ep7p0iq5189r504pvcets@4ax.com...
>>>
>>> VS2005, Win XP, IE 6.0
>>> Who ever would have thought. My menu looks better in firefox than
>>> IE6.0 !!
>>>
>>> If I create a site menu on a regular webForm it displays ok.
>>> Menu is only 2 levels deep (not counting hidden "home" level 0)
>>>
>>> But if I create it on a Master page (which I need to do), when I run
>>> the content page it loses all formatting. I mean all. Here is what I
>>> see when the page runs:
>>> - Colors, fonts are gone.
>>> - When page first displays there are dbl verticle arrows seperating
>>> all of the level two lists, which are displayed down the left side of
>>> the page. Pointing to these arrows removes them and hides the list
>>> -Then when pointing to the menu items, the level two lists are popping
>>> up in wierd places on the screen along with empty white boxes
>>> elsewhere on the screen.
>>>
>>> sigh...
>>> Does anyone have any idea about this behavior?
>>>
>>> Thanks
>>> Jeff
>>
>>
>
>

Re: menu on Master a mess in IE !

am 10.01.2008 21:06:11 von Jeff User

Yes, removing the

tag solved the problem

Jeff


On Thu, 10 Jan 2008 11:09:18 -0800, "LVP"
wrote:

>
>Jeff: did it work?
>
>LVP
>
>
>"George Ter-Saakov" wrote in message
>news:OONdrX7UIHA.3596@TK2MSFTNGP06.phx.gbl...
>> It's a known "bug", the problem with how CSS style for menu are used.
>> http://weblogs.asp.net/dannychen/archive/2005/12/16/433332.a spx
>>
>> You can fix it by removing from
>> web.config
>>
>> George
>>
>>
>> "Jeff User" wrote in message
>> news:ohgco39hgmu90ep7p0iq5189r504pvcets@4ax.com...
>>>
>>> VS2005, Win XP, IE 6.0
>>> Who ever would have thought. My menu looks better in firefox than
>>> IE6.0 !!
>>>
>>> If I create a site menu on a regular webForm it displays ok.
>>> Menu is only 2 levels deep (not counting hidden "home" level 0)
>>>
>>> But if I create it on a Master page (which I need to do), when I run
>>> the content page it loses all formatting. I mean all. Here is what I
>>> see when the page runs:
>>> - Colors, fonts are gone.
>>> - When page first displays there are dbl verticle arrows seperating
>>> all of the level two lists, which are displayed down the left side of
>>> the page. Pointing to these arrows removes them and hides the list
>>> -Then when pointing to the menu items, the level two lists are popping
>>> up in wierd places on the screen along with empty white boxes
>>> elsewhere on the screen.
>>>
>>> sigh...
>>> Does anyone have any idea about this behavior?
>>>
>>> Thanks
>>> Jeff
>>
>>
>