
May 3rd, 2005
01:32 PM
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

May 3rd, 2005
10:59 PM
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:
<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
___________________
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)

May 4th, 2005
04:36 AM
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.

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

May 4th, 2005
06:34 AM
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

May 4th, 2005
07:49 AM
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