如何在asp.net网页中使用Photoshop登录? [英] how to use a photoshop login in asp.net web page?

查看:81
本文介绍了如何在asp.net网页中使用Photoshop登录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在photoshop中设计了一个登录页面,将图像保存为png格式.但是我不知道如何在asp.net网页中使用此图像.请帮助解决此问题,或向我展示在不影响美观外观和功能的前提下设计良好登录的资源或方法.

谢谢

Hi to all,

I have designed a log-in page in photoshop, saved the image in png format. but I dont know how to use this image in asp.net web page. Please help in this concern or show me the resource or the way I can design a good log-in without compromising on polished look and functionality.

Thanks

推荐答案

首先编写样式表并将其链接到您的页面.

在样式表中写一个类

First of all write a style sheet and link it to your page.

write a class in your style sheet

.button
{
  background:url(images.button.png);''//put you image inside url
  width:100px;
  height:30px;''//whatever may be the dimension of your image
}



并在.aspx页上



and on .aspx page

<asp:button id="btnLogin" runat="server" cssclass="button" />



希望对您有所帮助.



Hope it will help...


如果您设计的只是一个PNG图像,则您未创建任何功能.没有什么可妥协的.

如果您尝试模仿Photoshop上的控件(是的,我看到了奇怪的事情;该怎么办:所有美工都使用他们自己的方法…),那么在设计真实页面时只需看一下这张图片即可.
图片是否好,只需在页面中插入即可.您可能希望使其可点击或用作锚点.

我会建议设计功能首先只是要牢记图形.

—SA
If all you designed is a PNG image, you did not create any functionality. There is nothing to compromise.

If you tried to imitate controls on Photoshop (yes, I saw such strange things; what to do: all the artists use their own methods…), just look at this picture while designing the real page.
Is the picture is good, just insert is in a page. You may want to make it clickable or use as an anchor.

I would advice design functionality first just keeping graphics in mind.

—SA


这篇关于如何在asp.net网页中使用Photoshop登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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