如何在浏览器中保留ASP页面的相同颜色 [英] how to retain the same color of ASP page in Browsers

查看:91
本文介绍了如何在浏览器中保留ASP页面的相同颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有一个Default.aspx页面,并使用了一些浅棕色的图像.当我在Chrome浏览器中运行该页面时,将显示带有暗红色的默认"页面,与我们给定的不一样.和其他浏览器不支持.我的问题是如何在浏览器中保留默认页面的相同颜色并保持浏览器兼容性.
请以示例的方式答复

hi all,


i have a Default.aspx page and have used some images which are in light Brown. When i run that page on Chrome Browser, will display Default page with dark Red not as we gave. And other browers not supporting. My qestion is how to retain the same color of Default page in Browser and do maintain browser compatibility.
plz reply with an example

推荐答案

问题不明确
但是,如果您使用的是颜色,则不要分配颜色名称(例如天蓝色,浅棕色,灰色),而是尝试分配颜色代码(例如#ffffff,#000000,#808083)
但请确保您是否正在玩颜色
谢谢pradeep lakhina
question is not clear
but if you are using color then instead of assigning color names(like sky blue,light brown,gray) try to assign color codes (like #ffffff,#000000,#808083)
but make sure if you are playing with colors
Thanks pradeep lakhina


如果您要为不同的浏览器维护不同的颜色,则需要研究ASP.NET个性化和配置文件.您还可以使用匿名用户和经过身份验证的用户..

谢谢
If you are asking about maintaining different colors for different browsers, need to look into ASP.NET Personalization and Profiles. You can make use of annonymous as well as authenticated users as well..

Thanks


这篇关于如何在浏览器中保留ASP页面的相同颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆