如何在Asp.net网站(C#)中使用其他网站的菜单样式 [英] how to use menu style of other website in our Asp.net website(C#)

查看:83
本文介绍了如何在Asp.net网站(C#)中使用其他网站的菜单样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
有人可以告诉我如何在asp.net网站中使用其他网站的菜单样式.以便我们的网站也具有相同的外观.

解决方案

您可以从网站采用类似的UI,但不能100%复制它.

网站的外观通常是-HTML + CSS + JavaScript

HTML-Web开发人员必须知道HTML的全部内容. :)
CSS-级联样式表实际上将为您的网页设置样式.
JavaScript-效果,验证等将使用JavaScript完成.

您可以右键单击网页,选择查看源代码",然后检查使用的HTML和CSS.

或者更好的方法是,使用Web开发人员,Firebug(均为Firefox插件)之类的工具来查看网站UI的设计方式,并且您实际上可以做更多的事情.

希望这能给您一个想法.


如果您可以访问/拥有其他网站的版权,请将css文件链接到您的页面.

您页面中的 http://Mysite.com/App_Themes/CSS/css.css 具有与该网站相同的外观.


提供网站导航使用SiteMaps.

通过SiteMap提供网站导航. [ 解决方案

You can adopt a similar UI from a website but do not 100% copy it.

The look and feel of a website is usually - HTML + CSS + JavaScript

HTML - I will leave what HTML is all about as web-developer MUST know it. :)
CSS - Cascading style sheets will actually style your web page.
JavaScript - Effects, validations e.t.c. will be done using JavaScript.

You can right click on the web page, select ''View Source'' and check the HTML and CSS used.

Or better, use tools like Web-developer, Firebug (both Firefox plug-in) to see how the UI of a web-site is designed and you can actually do a lot more with it.

Hope this gives you an idea.


If you can access/have rights of other website, link the css file to your page.
something like
http://Mysite.com/App_Themes/CSS/css.css in your page gives you the same look as in that site.


Provide the Website Navigation with SiteMaps.

Provide the Website Navigation with SiteMaps.[^] might give you an idea.


这篇关于如何在Asp.net网站(C#)中使用其他网站的菜单样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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