[label][Fireworks][转载] Web Slices - Fireworks CS5

Web Slices – Fireworks CS5

http://bestwebdesignz.com/tips/fireworks/web-slices-fireworks-cs5/

Need a Website? Contact Us Now!

This entry is part 12 of 14 in the series Fireworks CS5 Tutorial

It is time to slice up the layout for the web now that it is ready.

Slicing is a process where we decide which parts of the layout need to stay as images and which parts could be recreated in HTML. The more the images the more the file size and so more the the loading time.

Some images that will need to be sliced are:

  • Logo
  • Photos
  • Background gradients

If we decide that something needs to remain an image in our final web page we need to decide which format will suit it best (i.e. gif, jpg, png). We need to optimize these images to load quickly on the web (smaller files size) and look good at the same time.

Some points to keep in mind while optimizing images are:

  • Images with flat colors will be best optimized as .gif files. Gif files also allow transparency. Gif files can also be animated.
  • Images with many colors e.g. photos, will be better optimized as .jpg files.
  • .png files can retain vector information and  transparency

This is what our layout looks like now:

Let us first slice the logo. To do this follow these steps:

  • Select the slice tool
  • Create a rectangle around the logo
  • You have now created a slice
  • You will be able to see a green tansparent rectangle over the logo.
  • You will also notice a new layer in the Web layer in the Layers panel, called ‘slice’. Rename this to ‘logo’.
  • You will notice that the name on the slice will also become ‘logo’
  • Now optimize the slice by selecting ‘JPEG – Better Quality’ from the ‘Properties’ panel.
  • Export this slice by right clicking on it and selecting ‘Export Selected Slice’.

Similarly slice and export the photo and a thin slice of the header background gradient.

You can optimize the slices by comparing the quality and file size with various options by using the 2-up and 4-up previe tool.

You can also export all the sliced images together by:

  • From the main menu select ‘File’
  • Select ‘Export’

In the window that opens, select:

  • Export: Images Only
  • Slices: Export Slices

Now you have all the images you need to begin creating your webpage using an HTML editor.

Fireworks Source File(Save As onto your computer)

时间: 2024-11-08 23:27:58

[label][Fireworks][转载] Web Slices - Fireworks CS5的相关文章

[转载] web.xml之<context-param>与<init-param>的区别与作用

原文地址: http://www.cnblogs.com/hzj-/articles/1689836.html <context-param>的作用:web.xml的配置中<context-param>配置作用1. 启动一个WEB项目的时候,容器(如:Tomcat)会去读它的配置文件web.xml.读两个节点: <listener></listener> 和 <context-param></context-param> 2.紧接着,

(转载)web.xml 中的listener、 filter、servlet 加载顺序及其详解

首先可以肯定的是,加载顺序与它们在 web.xml 文件中的先后顺序无关.  但不会因为 filter 写在 listener 的前面而会先加载 filter.  最终得出的结论是:listener -> filter -> servlet 同时还存在着这样一种配置节:context-param,它用于向 ServletContext 提供键值对,即应用程序上下文信息.我们的 listener, filter 等在初始化时会用到这些上下文中的信息,那么 context-param 配置节是不是

[转载]Web前端开发工程师编程能力飞升之路

[背景] 如果你是刚进入web前端研发领域,想试试这潭水有多深,看这篇文章吧:如果你是做了两三年web产品前端研发,迷茫找不着提高之路,看这篇文章吧:如果你是四五年的前端开发高手,没有难题能难得住你的寂寞高手,来看这篇文章吧: web前端研发工程师,在国内是一个朝阳职业,自07-08年正式有这个职业以来,也不过三四年的时间.这个领域没有学校的正规教育,没有行内成体 系的理论指引,几乎所有从事这个职业的人都是靠自己自学成才.自学成才,一条艰辛的坎坷路,我也是这样一路走来.从2002年开始接触web

转载:web工程中URL地址的推荐写法

在JavaWeb开发中,只要是写URL地址,那么建议最好以"/"开头,也就是使用绝对路径的方式,那么这个"/"到底代表什么呢?可以用如下的方式来记忆"/":如果"/"是给服务器用的,则代表当前的web工程,如果"/"是给浏览器用的,则代表webapps目录. 1."/"代表当前web工程的常见应用场景 ①.ServletContext.getRealPath(String path)获取

转载-Web API 入门

An Introduction to ASP.NET Web API 目前感觉最好的Web API入门教程 HTTP状态码 Web API 强势入门指南 Install Mongodb Getting Started with ASP.NET Web API 2 下面的转自:http://www.cnblogs.com/developersupport/p/aspnet-webapi.html Web API是一个比较宽泛的概念.这里我们提到Web API特指ASP.NET Web API. 这

[转载]web安全之token

参考:http://blog.csdn.net/sum_rain/article/details/37085771 Token,就是令牌,最大的特点就是随机性,不可预测.一般黑客或软件无法猜测出来. 那么,Token有什么作用?又是什么原理呢? Token一般用在两个地方: 1)防止表单重复提交. 2)anti csrf攻击(跨站点请求伪造). 两者在原理上都是通过session token来实现的.当客户端请求页面时,服务器会生成一个随机数Token,并且将Token放置到session当中,

Alter the structure of web pages with JavaScript

Most of the DOM methods you've seen so far are useful for identifying elements. Both getElementById and getElementByTagName allow you to quickly and easily target specific element nodes in a document. These elements can then be manipulated using meth

2015第22周一Web性能测试工具及IE扩展区别

在高性能web测试工具推荐http://www.jb51.net/article/23034.htm中发现了dynaTrace 感觉很不错,不但可以检测资源加载瀑布图,而且还能监控页面呈现时间,CPU花销,JS分析和执行时间,CSS解析时间的等.http://www.ibm.com/developerworks/cn/web/1205_xieju_dtraceajax/ 文中介绍了详细的用法也很不错. dynaTrace Ajax Edition是一个运行在IE下的BHO免费工具. 可以运行在多

Web前端行业的了解

即将从事Web前端的工作的 先对即将从事的行业有个了解. Web前端发展史: 第一个网页诞生于90年代初,早期的网页除了一些小图片和毫无布局可言的标题段落,其全由文字构成.然而随着时代的进步,互联网的 不断发展,接下来出现了表格布局,此次是flash,最后是基于CSS的网页设计.不可否认,前端页面重构技术也经历着这样的一个过程:首先是Table布局-->Html-->Div+css-->Html5+Css3,面对众多的浏览器与平台,Web前端不再是以往那样简单的重复性工作. Web前端开