Welcome to our Graphic Design Forums! Your Design Forums has active graphic design forums where community members discuss graphic design related topics.
The Best of WordPress Freelance Folder Sub-Studio Design Blog Go Web Admin UPrinting.com Design Hide




Go Back   Graphic Design Forums > Web Design Forums > General Web Design Discussion > Front End Web Development

Reply
 
Thread Tools Display Modes
Old 01-20-2008, 02:12 PM   #1
mitchbones
Intern
 
Join Date: Jan 2008
Posts: 10
Default How do I put this in CSS?[Photoshop Slicing Question]

Hey guys, I'm working on my first website right now. I just made the navigational bar in photoshop, and I used the slice tool, but I don't know how to make it output it in CSS which I heard it could.



This is the picture in question I'm talking about http://flickr.com/photos/mitchbones/2205469126/

Thanks.
mitchbones is offline   Reply With Quote
Old 01-20-2008, 06:16 PM   #2
BurningApple
Intern
 
Join Date: Dec 2007
Posts: 21
Default

I'm not entirely sure what your question is, but I would code the header you made up and then code the body and put the code together in notepad or Dreamweaver.
BurningApple is offline   Reply With Quote
Old 01-20-2008, 09:03 PM   #3
mitchbones
Intern
 
Join Date: Jan 2008
Posts: 10
Default

I figured out how to do it. After I did an individual "slice" (box) for each button I did File > Save for Web & Devices > Save as html and images

you may have to tell it to save as "other" then change some of the settings to get it output it in css
mitchbones is offline   Reply With Quote
Old 01-21-2008, 12:37 AM   #4
Purpleoctopussy
Junior Designer
 
Purpleoctopussy's Avatar
 
Join Date: Jan 2008
Location: P.G., Canada
Posts: 28
Send a message via MSN to Purpleoctopussy
Default

Another way to build your navigation bar for css, for an example say you have three buttons make each the same size say 40px wide by 24px high. Save each image as a .png. Create rollover images as well by simply changing the color of text. Save those as .png as well.

Once in Dreamweaver go to Insert-----> Image Object------> Rollover Image, enter each image in the appropriate spot and you are finished.
Attached Images
File Type: jpg insert.jpg (117.9 KB, 13 views)
Purpleoctopussy is offline   Reply With Quote
Old 01-27-2008, 06:50 PM   #5
mitchbones
Intern
 
Join Date: Jan 2008
Posts: 10
Default

I found a good tutorial on slicing, but I still feel very overwhelmed with this site. I guess thats to be expected with your first.

http://mitchbones.com/Home_ver3%20copy.png Is what im trying to do right now.
mitchbones is offline   Reply With Quote
Old 01-29-2008, 07:12 AM   #6
Aarlev
Web Designer
 
Aarlev's Avatar
 
Join Date: Jan 2008
Location: London
Posts: 341
Default

Quote:
Originally Posted by Purpleoctopussy View Post
Another way to build your navigation bar for css, for an example say you have three buttons make each the same size say 40px wide by 24px high. Save each image as a .png. Create rollover images as well by simply changing the color of text. Save those as .png as well.

Once in Dreamweaver go to Insert-----> Image Object------> Rollover Image, enter each image in the appropriate spot and you are finished.
The problem with the .PNG format is that it doesn't work in IE6 and older browsers. Unless you use thealpha transparency fix for example. Why use PNG? Just use GIF or JPEG. I'd just cut the buttons in Photoshop (use the rulers and guides and then you can cut by using the marquee tool and letting it snap to guides and then go CTRL+Shift+C then Ctrl+N and then CTRL+V) and use a CSS list instead or do it with good old javascript as Purpleoctopussy also mentions.

http://css.maxdesign.com.au/listamatic/horizontal26.htm
__________________
//PORTFOLIO\\

Last edited by Aarlev : 01-29-2008 at 07:17 AM.
Aarlev is offline   Reply With Quote
Old 01-29-2008, 06:50 PM   #7
UpandUp
Designer
 
Join Date: Dec 2007
Location: Toronto, ON, Canada
Posts: 80
Default

its good that resources are here for beginners like mitchbones good luck
UpandUp is offline   Reply With Quote
Old 02-08-2008, 07:50 PM   #8
Purpleoctopussy
Junior Designer
 
Purpleoctopussy's Avatar
 
Join Date: Jan 2008
Location: P.G., Canada
Posts: 28
Send a message via MSN to Purpleoctopussy
Default

Quote:
Originally Posted by Aarlev View Post
The problem with the .PNG format is that it doesn't work in IE6 and older browsers. Why use PNG?
Very true about the EI6 and older browsers!

But the reason I choose to use .png is because they do not get pixelated like .gif's and jpg's and the colors are better!!!
Purpleoctopussy is offline   Reply With Quote
Old 02-08-2008, 08:14 PM   #9
Distill
Designer/Copywriter
 
Distill's Avatar
 
Join Date: Jan 2008
Location: DePere, WI
Posts: 93
Default

I like .png because it handles transparency well (when necessary).
__________________
Brand Consultant, Designer, Copywriter . . . All-around Good Guy
my blog | my site
Distill is offline   Reply With Quote
Old 02-08-2008, 10:44 PM   #10
mitchbones
Intern
 
Join Date: Jan 2008
Posts: 10
Default

Quote:
Originally Posted by Purpleoctopussy View Post
Very true about the EI6 and older browsers!

But the reason I choose to use .png is because they do not get pixelated like .gif's and jpg's and the colors are better!!!
Also png are a small file size but have great quality. How big is the IE6 demographic anyways?
mitchbones is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:34 AM.

 

Contact Us | Advertise | Archive | Resources |

My Other Websites

Graphic Design Resources | T Shirt Blog | How to Start a Clothing Line | Design Gallery| PSD to HTML Reviews

Our Friends

3DS Max and Photoshop Tutorials | Vandelay Design | Urban Art and Design | Online Printing | Blog.SpoonGraphics | Free Vectors

| Digg for Designers | Web Design Blog

Design by: vBulletin Skins Zone Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0