15 menu design resources (css | psd) and menupsd
Today, we will introduce 15 menu design resources. None of them can be directly downloaded, some of which are css and some are only psd design images.
The best choice for Collapsing Vertical Nav (CSS) Web Front-end framework! 3-Level Navigation Menu (CSS) Ribbon Banner Navigation (CSS) CSS Menu Pack (12 Menus) Simple Tabbed Navigation (PSD) Web Front-end framework best choice! Dark Menu (PSD) PSD navigation menuClean & Simple Navigation Menu (PSD) the best choice for Web Front-end framework! Clean Simple Navigation (PSD) Tab navigation (PSD) Glossy Dark Menu (PSD) Textured Navigation (PSD) Vertical Navigation Menu (PSD) the best choice for Web Front-end framework! Breadcrumbs navigation (PSD) GlossMilk Navigation (PSD) Web Front-end framework best choice!
How to Implement PSD to DIV + CSS
1. the psd is displayed in a ratio and the resolution is set to 72.
2. after creating a picture, cut the image you need separately. The page generated with psd is basically useless (1. code is cumbersome. 2. it is not convenient to modify. 3. is generated in table format), so it is best to manually rewrite it.
3. div + css layout based on your webpage design. When writing DIV, try to be concise and avoid nesting multiple layers. It is best not to exceed three layers.
4. if the image size is small, you can combine it to A single image (01.gif) with Coordinate Control. First, create A fixed-size div layer (for example, Set id to A) and set the background for this layer, then use coordinates to control the background position, such as (# A {background: url (images/01.gif) no-repeat 10px-20px; width: 20px; height: 20px; float: left;}) Note: it is best to use gif format for images because png is not transparent in ie6!
5. Try a few times to understand ~~
Aspnet uses the menu Control for navigation to achieve horizontal menu, move the mouse over the menu item, and how does the xml of the sub-menu effect pop-up below?
<? Xml version = "1.0" encoding = "UTF-8"?>
-<Menus>
-<MenuItem>
<Text> 1 </Text>
<ItemID> 1000 </ItemID>
<ParentItemID> 0 </ParentItemID>
<IsModule> 1 </IsModule>
<Level> 1 </Level>
</MenuItem>
-
-<MenuItem>
<Text> 1 </Text>
<ItemID> 100001 </ItemID>
<ParentItemID> 1000 </ParentItemID>
<IsModule> 0 </IsModule>
<Level> 2 </Level>
</MenuItem>
-<MenuItem>
<Text> 2 </Text>
<ItemID> 100002 </ItemID>
<ParentItemID> 1000 </ParentItemID>
<IsModule> 0 </IsModule>
<Level> 2 </Level>
</MenuItem>
-<MenuItem>
<Text> 2 </Text>
<ItemID> 1100 </ItemID>
<ParentItemID> 0 </ParentItemID>
<IsModule> 1 </IsModule>
<Level> 1 </Level>
</MenuItem>
-<MenuItem>
<Text> 1 </Text>
<ItemID> 110001 </ItemID>
<ParentItemID> 1100 </ParentItemID>
<IsModule> 0 </IsModule>
<Level> 2 </Level>
</MenuItem>
-<MenuItem>
<Text> 2 </Text>
<ItemID> 110002 </ItemID>
<ParentItemID> 1100 </ParentItemID>
<IsModule>... the remaining full text>