Issue with the menu not being displayed - asp.net

I have a asp.net project with master page which contains menu.ascx
I created a default page, I cant see the menu created in the master page until I press F12 on the IE browser. It seems like the body is covering the header
Any ideas on how i can figureout the issue.
Thanks
Nate

The issue was, the compatibility mode enabled on the IE browser. Once the compatibility mode was disabled for my box, it started working fine.

Related

XPage not displaying correctly in Firefox

I am having trouble displaying XPages in Firefox. Looking at the page, I figured it was a CSS issue so I looked at the source.
I noticed this for the CSS
What is going on here? Other CSS links are similarly corrupted.
The page renders fine in IE 8 but not in FireFox.
Here is a link to the site
https://qacldguide.pnc.com/
You won't be able to login but you should be able to see the issue on the login page.
The server is running 8.5.3.
Update:
Works fine on our Dev server (which is not accessible to the outside world). We are running the same version of server in Dev and QA. Could this be a server setting? My admins are out for the holiday so this one might need to wait but any help here is welcome.
FYI Links still show as
even in Dev.
Update
Works fine in Prod too
https://cldguide.pnc.com/
The one of problems is that the first css is detected as mime.
Try to remove css aggregation.
And if you check the Style Editor tab in Firefox and check the first stylesheet
it has no rules detected and if I add an enter after .lotusVersion{margin:2px 1px 2px 40px !important;}
The site starts to render correct, there is where I should look for the problem.
Turns out, I did not have public access set on my CSS. I am not certian why it worked befoere but that is waht fixed the issue now.

Internet explorer margin auto doesn't work

We have a website that creates website to our customers. The website is displaying in domain and our site.
In our site we have a problem with internet explorer. There is a top navigation bar in our site and containers doesnt seem to work.
For example http://telemar.com.tr/ is working nice but the same site in http://www.interaktifis.com/47-telemar-telekomunikasyon-elektronik-ltd-sti
doesn't display nicely.
How can i solve the problem. Thank you
There's some script before the DOCTYPE on http://www.interaktifis.com/47-telemar-telekomunikasyon-elektronik-ltd-sti that's putting the page into quirks mode. That will need to be moved to somewhere after the DOCTYPE.
Looks like you might have an error in your server side code, http://telemar.com.tr/ has no content in #divTopNavBar

DHTML module drupal 7

I just used DHTML module to achieve accordion behavior with my menus. Anyway it works ok with chrome., safari and opera but in firefox it doesn't. It reloads the page.
Has anyone encountered this problem?
this site is the demo site of DHTML module developer. Test it in firefox to see if it reloads the page instead of expanding the menus in the block
Thank you
I just checked with both firefox and IE its work fine and not loading page over click.. did you verify the DHTML Menu setting under site configuration, uncheck the checkboxes under Menus without DHTML: to make accordions works.
another thing why you using DHTML module for accordion while drupal 7 already have a jquery accordion library by default.
I always have problems with menus when I am logged in as a main admin.
Try logout as I am also not able to replicate your problem.
Cheers,
Vishal

ASP/HTML/CSS - Design View Different from Browser Preview

I'm getting a difference in my design view and what the actual preview displays. I'm pretty sure my code is correctly reflecting what appears in the design view, but incorrectly in the browser preview. Any suggestions on how I can fix this and why this is happening? The black content area should be below the header and buttons.
Master Page Design View: http://imageshack.us/photo/my-images/30/designview.jpg/
Browser Preview: http://imageshack.us/photo/my-images/638/browserpreviewz.jpg/
IE and Chrome both display the same behavior.
Here is the code of the master page: (because of '<' I'm having getting asp code in here...how do I enter it in as code sample?)
Personally, I find i can never trust the web preview in visual Studio, so while this is not really an answer to your specific question I recommend you always use an actual browser for preview. :)
Your CSS might be cached. When you are looking at the web preview, It is worth a try to reload the page and the CSS by clicking ctrl-F5 (not just F5). This worked for me a few times when I felt that my CSS changes are not being rendered in the web preview.

IE8, compatibility view on local files?

I just developed a small website and tested it locally in IE8, there is no compatibility view button but under settings i find an option called "display intranet sites in compatibility view", this option is checked so i trust that all local files are rendered as IE7.
I then upload the page to my server and everything works fine in IE8-mode, now the the comp-view button is visible, i click it and my design becomes fubar!
I go to the settings for comp-view and uncheck the "display intranet sites in compatibility view", the site still looks ok when i try to browse it directly from the hdd and there is still no comp-view button visible.
This time i managed to create a fix in my css quite easily but i don't want to experience this again for a larger website.
How can i get BOTH IE8-mode and compatibility view for local pages and can i trust that it is active or not?
If you load files off your C:\ (e.g. that kind of local) then yes, you are forced into IE8 standards mode. In this case, the only way to toggle it is to use the Developer Tools F12 and toggle it there, by doing the following:
Press F12 to access the Developer Tools. A new pane will appear at the bottom of the browser window
On the left menu, scroll down to the final option (Emulation). Or, press Ctl+8
Set the Document Mode to the desired browser version.
If by local you mean off a webserver running on your PC or on a PC in your network (e.g. Intranet) then you can add it/them to the list of sites... they will then provide the icon on the address bar to toggle it.
I presume based on your description that you are seeing significant changes thus I presume you have set a DOCTYPE. Can you verify this for us?
I use this Meta Tag in IE8 to emulate IE7. If there is a Quirksmode Doctype, then this tag will not work.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
You can Use the *+html CSS hack under IE8.
Instead of checking the "Display intranet sites in compat" try checking the "display ALL sites in compat". Thats what I usually do and it seems to work ok.

Resources