1 person found this helpful
You cannot attach background color to slices. Draw a rectangle with the color fill you like, and insert a slice on it. Then export it and you will have an image with that color. That's all you can do.
background colors are always applied through html and css and not in Fireworks (cs3).
1 person found this helpful
Well, you could probably do this by using an HTML slice and writing
the code in FW - you'd essentially be adding a background color to a
table cell - but if you're just prototyping, it's probably more
trouble than it's worth. Also, if there is no other content in that
cell other than the background color, things may not display as
expected in a web browser.
I was hoping for a button or an add-on somewhere, but I will try your suggestion. Thank you, your response is quite helpful.
I'm trying to find a way to attach a BGCOLOR to individual slices in Fireworks. I need a way to change the bgcolor of one or two slices at a time (so not all slices will have the same bgcolor when exported to DreamWeaver). I am using CS3, and trying to avoid any complicated CSS functions, if possible (Note: I am a beginner).
Heather, Fireworks can write HTML, but it is not very robust. You need to think of Fireworks as a graphics program that, as an extra, can produce "rough draft" level HTML. FW is not really an application that you want to use to build a Web site with. As for CSS, while some of it can get complicated, using it for background colors is pretty easy.
Try reading through these tutorials, and see if they don't help you set your colors in an easier way:
What you want to do is define a CSS class with the color you want to apply (or more than one):
Then, for the element you want that color, let's say it's a table cell, you specify it has that class:
<td class="meaningfulclassname">Colorized </td>
As a bonus, it's also the right way to design your page. If you change your mind for the color, you just change the hex definition and any element that has that class automatically changes. No need to go and edit each and every element!
As mentioned, you should not really be exporting the html from a graphics program - it will build a very fragile page that will break quite easily.
You should be exporting your slices (images NOT text) and building the page in Dreamweaver itself.
This is a very easy tutorial on how to take a Fireworks comp into Dreamweaver and it will teach you about CSS at the same time :-)
If you plan on maintaining the site or building others, you will really need to get an understaning of HTML and CSS, makes it very difficult to troubleshoot any problems you encounter without this knowledge - really :-)
Adobe® Community Expert : Dreamweaver
Unique CSS Templates |Tutorials |SEO Articles