Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

106 users online



slicing problem in ps..confused

slicing problem in ps..confused

Currently viewing this thread: 1 (0 members and 1 guests)


ferhanz

ferhanz

Neverside Newbie
Status: Offline!

slicing problem in ps..confused

Helo All,
I am pretty confused in slicing my following layout

http://www.epreeminent.com/swed/inner.jpg

The problem is that i want to have those 1 pixel dark grey borders around menus and content place thru tables and not want them to be as an image or image in the table background, how can i do that ???

Secondly look at the weblink
http://www.epreeminent.com/sample/A...20-%20Menus.htm

If you save it and open it in Dreamweaver you will find that every content box is in seperate table and it has also that 1 pixel grey border along with the menu, it has been done by giving grey background to cells ...has he slice the whole layout in photoshop or has he made the table strcuture first in dreamweaver or frontpage and then put the sliced weblaouyt in it ..because when i slice the layout in ps it always have a single table..

sorry for the bad english but i hope u all can understand my question

___________________

When it all becomes DARK
www.mobilevaganza.com

eljaysun

eljaysun

Neverside Newbie
Status: Offline!

So you want 1px borders, but you don't want them to be apart of any image? Correct?

To do so, insert this CSS code:

Code:

<style type="text/css">

table {border-collapse: collapse;}

td {
border: 1px solid #CCCCCC;
padding: 1em;
}

</style>

To answer your second question, I would say that designer more than likely made the layout first, then added the images. The code produced by Adobe ImageReady is a bit of a pain to tamper with.

{edit} I forgot to mention, that code does NOT work with Safari or IE on Mac. Also, in Dreamweaver, it won't appear correctly, but will display correctly once viewed with the proper browser

___________________

http://image.eljaysun.com/hosted/neversidian_small.gif
Portfolio - Blog | Posts: RSS
Join me in Neverside's Photography Discussion Channel: #photo

Last edited by eljaysun, May 3rd, 2005 11:02 PM (Edited 1 times)

eu4ria

eu4ria

married with children
Status: Offline!

I know it gets said all the time, but you should really drop tables for your layout and use CSS. This looks like a very simple design that wouldnt take long at all to do in CSS. The problem with all current graphics programs that I know of all use tables when u slice the image which leads to very poor HTML.

Grin

___________________

Why do we have to learn English? I speaks da *****

ferhanz

ferhanz

Neverside Newbie
Status: Offline!

one thing more..
can u have the sliced layout in more then one HTML table, usually when u slice the layout and open it in dreamweaver it has only a singletable, but i have seen sites that have a very complex table structure (multiple tables ) and it seems that they have sliced it that way

thanks

___________________

When it all becomes DARK
www.mobilevaganza.com

sparky

sparky

I need a haircut
Status: Offline!

lol, "very complex table structure" is not such a good thing. It's more rendering work for the browser. So yeah it's possible but it's like putting cinder blocks in your truckbed because you want more performance out of it.

Oh and eu4ria's got a point.

___________________

Jon Culver Chia Pets

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.008 seconds.