July 19, 200917 yr Hello friends, I have designed a web layout in photoshop and sliced it but my problem is when i try to view the web page in firefox white lines come on top near the header and near the footer so i need your help where i went wrong in slicing i am attaching the code <html> <head> <title>Untitled-1</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <!-- ImageReady Slices (Untitled-1.psd) --> <table id="Table_01" width="1001" height="1201" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="7"> <img src="images/top-paper-roll.gif" width="1000" height="74" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="74" alt=""></td> </tr> <tr> <td colspan="2"> <img src="images/top-paper-roll-03.gif" width="144" height="1" alt=""></td> <td colspan="3" rowspan="2"> <object width="702" height="135"> <param name="movie" value="banner.swf"> <embed src="banner.swf" width="702" height="135"> </embed> </object></td> <td colspan="2"> <img src="images/top-paper-roll-05.gif" width="154" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> <tr> <td rowspan="4"> <img src="images/side-textured-back-left.gif" width="94" height="921" alt=""></td> <td rowspan="4"> <img src="images/side-paper-curls-left.gif" width="50" height="921" alt=""></td> <td rowspan="4"> <img src="images/right-paper-curl.gif" width="54" height="921" alt=""></td> <td rowspan="4"> <img src="images/side-textured-back-rght.gif" width="100" height="921" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="134" alt=""></td> </tr> <tr> <td colspan="3"> <img src="images/index_09.gif" width="702" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> <tr> <td colspan="3" valign="top" bgcolor="#E7C78D"><p> Project #15 Need 5k Freshly made Yahoo accounts. http://www.getafreelancer.com/projects/471135.html Budget: $30-250, Employer: surejobs, Time: 07/17/2009 at 21:26 EDT Categories: Data Entry YogurtBeach http://www.getafreelancer.com/projects/471094.html Budget: $30-250, Employer: zoharliran, Time: 07/17/2009 at 21:31 EDT Categories: Graphic Design , Industrial Design , Rendering/3D Moving my WordPress Site from subdomain http://www.getafreelancer.com/projects/471089.html Budget: $30-250, Employer: richauv, Time: 07/17/2009 at 21:32 EDT Categories: Website Design , Wordpress Porfolio Site, PSD to XHMTL http://www.getafreelancer.com/projects/471088.html Budget: $30-250, Employer: dalilcutie, Time: 07/17/2009 at 21:32 EDT Categories: Javascript , Photoshop , Website Design Presentation Design http://www.getafreelancer.com/projects/471072.html Budget: $750-1500, Employer: iiifes, Time: 07/17/2009 at 21:32 EDT Categories: Graphic Design , Logo Design , Powerpoint </p> </td> <td> <img src="images/spacer.gif" width="1" height="591" alt=""></td> </tr> <tr> <td colspan="2"> <img src="images/candle-upper-part.gif" width="142" height="195" alt=""></td> <td bgcolor="#E7C78D"> </td> <td> <img src="images/spacer.gif" width="1" height="195" alt=""></td> </tr> <tr> <td colspan="3"> <img src="images/candle-left-part.gif" width="238" height="204" alt=""></td> <td colspan="3"> <img src="images/paper-roll-bottom-with-feat.gif" width="662" height="204" alt=""></td> <td> <img src="images/paper-roll-lower-rght.gif" width="100" height="204" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="204" alt=""></td> </tr> <tr> <td> <img src="images/spacer.gif" width="94" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="50" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="94" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="48" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="560" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="54" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="100" height="1" alt=""></td> <td></td> </tr> </table> <!-- End ImageReady Slices --> </body> </html> thanks sash_007
July 19, 200917 yr is it possible to see this live? ie. the URL of where its uploaded? so we can see the visable fault? im guessing this code was auto generated by adobe?
July 19, 200917 yr Author Tip: click inside this box to load the editor Thanks Anth for ur reply well i havent uploaded it yet though i am fixing a screen shot of the image showing the problemi am facing in firefox i have marked the problem areas ya the code was auto generated wud u able to code it using css :)i guess it can be done but dont know the exact approach though i know a bit of css thanks sash_007
July 19, 200917 yr its probably the use of tables, and the fact its all auto generated code by adobe. PSD to HTML/CSS is possible yes HTML and CSS can be learned at alot of places on the web for free, and they are quite powerful tutorials. http://htmldog.com/ and http://www.w3schools.com/ i would recommend instead of using tables in html, your better of using layers (<div>) although this can be tricky at first, and drive you crazy. the reusilts are far better
July 22, 200917 yr Hot Tip. Code Generated by a program is usually rubbish. Nested Tabled are worse. CSS is the way to go and has been around for along time. Don't get caught out by the box model. Reset all margins and padding to 0 in the CSS before starting. Preview you site in Firefox not IE.
Create an account or sign in to comment