導航:首頁 > 萬維百科 > 網頁設計的導航欄1920

網頁設計的導航欄1920

發布時間:2020-09-06 08:38:27

1、製作網頁LOGO與導航欄長寬多少才合適

logo在首頁顯示的話大小沒什麼規定 要是做友情鏈接的話大小一般就是 88*31 導航長度一般寬屏的是960左右 窄屏的800左右

2、簡述網頁設計中導航欄的一般解析度及顏色模式

找個你覺得好的網站的導航欄看看源代碼

3、網頁設計ps畫布最佳大小是幾×幾像素 導航欄呢?

中間內容區大小不能小於1000px,一般是1000-1200,高度不限制,導航欄是通欄,根據最大的解析度來,一般1920差不多了。操作方法如下:

1、首先單擊【文件】按鈕,在菜單中選擇【新建】命令。

2、在新建文檔對話框中,設置文檔的詳細信息,單擊【創建】按鈕。

3、然後單擊工具箱中的【圓角矩形工具】。

4、在選項欄中選擇『路徑』工具模式。設置半徑為『50』像素。

5、在文檔中繪制出路徑圖形,然後設置前景色為白色。

6、在圖層面板中,單擊【創建新圖層】新建『圖層1』。然後單擊【路徑】按鈕『切換到路徑面板。

7、接著滑鼠右擊』背景圖層『,在彈出的快捷菜單中單擊【刪除圖層】。

8、最後在對話框中單擊』是『刪除背景圖層,就完成了。

4、UI設計網頁時,導航欄尺寸規格一般是多少

當前最流行的解析度是1920*1080,在該解析度下,頁面中心區域為1200px以內都可以。在800*600解析度下,導航欄尺寸規格保持在778px以內;在1024*768解析度下,網頁寬度保持在1002px以內。

如果沒有指定的要求,以1920尺寸設計就好(這是目前最普遍的尺寸大小),前端開發人員會自行適配其他的解析度。

(4)網頁設計的導航欄1920擴展資料:

UI設計網頁方法

一、呈現更新穎的內容

設計師在進行網頁ui設計的過程中需要注意的是,想要讓自己的網頁看起來更加與眾不同,但也不必過於誇大,可以用一些新鮮的理念和不同的布局來吸引用戶訪問。比如以一種動態的方式,將信息呈現給用戶,以此來贏得用戶更多的關注。

二、增強元素的設計感

相對於普通的網頁ui設計而言,具有較強的設計感的網頁往往會更容易吸引用戶的注意。任何一個具有創意的網站開發設計方案,都會把目光更聚焦在網頁的基本布局和色彩搭配上,而這也意味著網頁上一般存在很多種不同的元素。

三、激勵用戶更多操作

網站開發的設計製作的類型有很多種,面對不同的類型,要有特定的網頁ui設計方案。給用戶提供一個尋找目標的簡易方法,這樣用戶就容易沉浸到頁面中來,同時也增加了用戶操作的幾率。

5、寬度為1920px的psd設計圖,導航欄就佔了1800多像素,那我要怎麼切圖布局

PSD如何切圖? 一:切圖一般保存gif格式,顏色選128就可以了。 下面是某網站切圖中出現的問題,希望對大家有用。 問題一:切圖 1. 圖片命名:要用有意義的英文命名。

6、網頁製作中,導航欄的標准尺寸是多少啊

一般的網頁的導航條的寬度760-1000象素

7、網頁設計導航條

下面的代碼,你去看看,不好用再說。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>無標題文檔</title>
<style type="text/css">
<!--
body {
background-color: #0099FF;
}
#navigation {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
#navigation ul {
margin: 0px;
padding: 0px;
list-style-type: none;
}
#navigation li {
border-bottom-style: none;
border-bottom-color: #ed9f9f;
border-top-style: none;
border-right-style: none;
border-left-style: none;
border-top-color: #ed9f9f;
border-right-color: #ed9f9f;
border-left-color: #ed9f9f;
float: left;
}
#navigation li a {
text-decoration: none;
display: block;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 0.5em;
border-right-width: 1px;
border-left-width: 12px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #711515;
border-left-color: #711515;
border-top-style: none;
border-bottom-style: none;
width: 50px;
text-align: center;
margin: 0px;
}
#navigation li a:link, #navigation li a:visited {
color: #FFFFFF;
background-color: #c11136;
}
#navigation li a:hover {
color: #ffff00;
background-color: #990020;
}
#navigation ul li:hover ul,#navigation ul a:hover ul {
visibility: visible;
}
#navigation ul ul {
visibility: hidden;
}
#navigation ul ul li {
clear: both;
}
#navigation ul ul li a {
border: 1px solid #CCCCCC;
}
#navigation ul ul li a:link, #navigation ul ul li a:visited {
color: #000000;
background-color: #FFCC66;
}
#navigation ul ul li a:hover {
color: #006699;
background-color: #99CC00;
}
.nav {
border: 1px solid #0099CC;
position: absolute;
width: 357px;
left: 112px;
top: 34px;
}
.nav ul {
margin: 0px;
padding: 0px;
list-style-type: none;
font-size: 12px;
}
.nav li {
float: left;
}
.nav li a {
border: 1px solid #FF3333;
display: block;
padding: 5px;
background-color: #FFCC33;
text-decoration: none;
}
-->
</style>
</head>

<body>
<div id="navigation">
<ul>
<li><a href="#">首頁</a></li>
<li><a href="#">關於我們</a></li>
<li><a href="#">產品展示</a>
<div>
<ul>
<li><a href="#">產品1一</a></li>
<li><a href="#">產品2一</a></li>
<li><a href="#">產品3一</a></li>
<li><a href="#">產品4一</a></li>
<li><a href="#">產品5一</a></li>
<li><a href="#">產品6一</a></li>
</ul>
</div>
</li>
<li><a href="#">聯系電話</a>
<div>
<ul>
<li><a href="#">產品1一</a></li>
<li><a href="#">產品2一</a></li>
<li><a href="#">產品3一</a></li>
<li><a href="#">產品4一</a></li>
<li><a href="#">產品5一</a></li>
<li><a href="#">產品6一</a></li>
</ul>
</div>
</li>
<li><a href="#">公司介紹</a></li>
</ul>
</div>

</body>
</html>

8、網頁設計導航是怎麼做的

1、打開Deamweaver8,新建一網頁文件。接著輸入以下導航菜單的內容:

<html xmlns="網址">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>導航欄示例</title>

</head>

<body>

<ul id="navigation">

<li></li>

<li><a href="#">首  頁</a></li>

<li><a href="#">我的博客</a></li>

<li><a href="#">互動交流</a></li>

<li><a href="#">開心一刻</a></li>

<li><a href="#">懸 賞 令</a></li>

<li></li>

</ul>

</body>

</html>

2、此時對應效果如圖:

3、接下來准備相關的導航按鈕圖片(可以事先利用PS製作好)。

4、然後將以下CSS代碼加入到<head></head>之間:

<style type="text/css">

body {text-align:center;}

#navigation

{ list-style-type:none; height:auto;}

#navigation li { width:154px; height:60px; text-align:center;

float:left; padding-top:18px;font-size:20px; font-family:"微軟雅黑", "宋體", "隸書";

background-image:url(images/noactive.jpg);}

a {width:154px; height:72px;}

a:link { text-decoration:none; color:#FFFF00;}

a:visited { text-decoration:none; color:#FFFF00; }

#navigation li:hover { color:#CC0000; text-decoration:underline;

background-image:url(images/active.jpg);}

a:hover{ color:#CC0033;}

#left {background-image:url(images/left.jpg); width:22px;}

</style>

5、在加入CSS代碼之間,網頁此時的效果如圖:

9、1080+1920的狀態欄和導航欄多高

在開始定製之前,我們先來看看iOS 7中默認導航欄的外觀。通過Xcode用Single View Controller模板創建一個工程。然後將view controller嵌入到一個navigation controller中。如果你不想從頭開始,那麼也可以在這里下載到這個示例工程。

Xcode 5包含有iOS 6和iOS 7模擬器,我們可以在這兩個不同的模擬器版本中運行示常式序,進行對比,如下圖所示:

vcC4tcSxs76w0dXJqzwvaDM+mro6y2+/++Cjx0cj4KPHRkIGNsYXNzPQ=="gutter">

?
1
1
?
1
2
<code class="objc">[[UINavigationBar appearance] setBarTintColor:[UIColor yellowColor]];
</code>
效果如下圖所示:

\

一般情況,我們都會使用自己的顏色,下面這個宏用來設置RGB顏色非常方便:

?
1
1
?
1
2
<code class="objc">#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
</code>
將上面這個宏放到AppDelegate.m文件中,然後通過這個宏來創建一個UIColor對象(根據指定的RGB)。如下示例:

?
1
1
?
1
2
<code class="objc">[[UINavigationBar appearance] setBarTintColor:UIColorFromRGB(0x067AB5)];
</code>
默認情況下,導航欄的translucent屬性為YES。另外,系統還會對所有的導航欄做模糊處理,這樣可以讓iOS 7中導航欄的顏色更加飽和。如下圖,是translucent值為NO和YES的對比效果:

\

要想禁用translucent屬性,可以在Storyboard中選中導航欄,然後在Attribute Inspectors中,取消translucent的勾選。

在導航欄中使用背景圖片
如果希望在導航欄中使用一個圖片當做背景,那麼你需要提供一個稍微高一點的圖片(這樣可以延伸到導航欄背後)。導航欄的高度從44 points(88 pixels)變為了64 points(128 pixels)。

我們依然可以使用setBackgroundImage:方法為導航欄設置自定義圖片。如下代碼所示:

?
1
1
?
1
2
<code class="objc">[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"nav_bg.png"] forBarMetrics:UIBarMetricsDefault];
</code>
示例工程中提供了兩個背景圖片:nav_bg.png 和 nav_bg_ios7.png。運行一下試試看吧,如下效果:

\

定製返回按鈕的顏
在iOS 7中,所有的按鈕都是無邊框的。其中返回按鈕會有一個V型箭頭,以及上一個屏幕中的標題(如果上一屏幕的標題是空,那麼就顯示」返回」)。要想給返回按鈕著色,可以使用tintColor屬性。如下代碼所示:

?
1
1
?
1
2
<code class="objc">[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
</code>
除了返回按鈕,tintColor屬性會影響到所有按鈕標題和圖片。

\

如果想要用自己的圖片替換V型,可以設置圖片的backIndicatorImage和。如下代碼所示:

?
1
2
1
2
?
1
2
3
<code class="objc">[[UINavigationBar appearance] setBackIndicatorImage:[UIImage imageNamed:@"back_btn.png"]];
[[UINavigationBar appearance] :[UIImage imageNamed:@"back_btn.png"]];
</code>
圖片的顏色是由tintColor屬性控制的。

\

修改導航欄標題的字體
跟iOS 6一樣,我們可以使用導航欄的titleTextAttributes屬性來定製導航欄的文字風格。在text attributes字典中使用如下一些key,可以指定字體、文字顏色、文字陰影色以及文字陰影偏移量:

UITextAttributeFont – 字體keyUITextAttributeTextColor – 文字顏色 – 文字陰影色 – 文字陰影偏移量key
如下代碼所示,對導航欄的標題風格做了修改:

?
1
2
3
4
5
6
7
1
2
3
4
5
6
7
?
1
2
3
4
5
6
7
8
<code class="objc">NSShadow *shadow = [[NSShadow alloc] init];
shadow.shadowColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.8];
shadow.shadowOffset = CGSizeMake(0, 1);
[[UINavigationBar appearance] setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys:
[UIColor colorWithRed:245.0/255.0 green:245.0/255.0 blue:245.0/255.0 alpha:1.0], ,
shadow, NSShadowAttributeName,
[UIFont fontWithName:@"HelveticaNeue-CondensedBlack" size:21.0], NSFontAttributeName, nil]];
</code>
運行效果如下圖所示:

\

修改導航欄標題為圖片
如果要想將導航欄標題修改為一個圖片或者logo,那麼只需要使用下面這行代碼即可:

?
1
1
?
1
2
<code class="objc">self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"appcoda-logo.png"]];
</code>
上面的代碼簡單的修改了titleView屬性,將一個圖片賦值給它。注意:這不是iOS 7中的新功能,之前的iOS版本就可以已經有了。

10、網頁製作-導航條背景圖片

<li class="title">Service</li>
<li class="back" style="background:url(添加你得漸變背景,是整個的背景。)">
<ul>
<li>Language Services</li>
<li>Market Research</li>

<li>Software Development</li>

<li>Corporate Training</li>

</ul>

</li>

與網頁設計的導航欄1920相關的知識