Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Slicing Problem

Featured Replies

Hello guys !

 

I am a newbie, experimenting to build a site. I prepared the layout of website in photoshop and when i sliced it to make it ready for dreamweaver , the final html got white lines on it and it appears and disappears whenever i change the zoom in and zoom out in web browser.

 

E.g check this layout :

 

http://imageshack.us/photo/my-images/708/problemau.jpg/

 

I just sliced menu buttons, slider and logo . Nothing goes wrong while slicing in photoshop. I didnt left these white lines spaces there.

 

How can i remove this error ? What i am doing wrong here please guide me.

 

Thanks

  • Author

I opened my html file using notpad and below is the code of my file :

 

///////////////////////////

 

<html>

<head>

<title>index</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<!-- ImageReady Slices (index.psd) -->

<table id="Table_01" width="1301" height="1301" border="0" cellpadding="0" cellspacing="0">

<tr>

<td colspan="19">

<img src="images/index_01.jpg" width="1300" height="14" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="14" alt=""></td>

</tr>

<tr>

<td rowspan="8">

<img src="images/index_02.jpg" width="180" height="1286" alt=""></td>

<td colspan="14">

<a href="http://www.youtube.com/"><img'>http://www.youtube.com/"><img'>http://www.youtube.com/"><img'>http://www.youtube.com/"><img'>http://www.youtube.com/"><img'>http://www.youtube.com/"><img'>http://www.youtube.com/"><img'>http://www.youtube.com/"><img src="images/index_03.jpg" width="422" height="76" alt=""></a></td>

<td colspan="4" rowspan="2">

<img src="images/index_04.jpg" width="698" height="89" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="76" alt=""></td>

</tr>

<tr>

<td colspan="14" rowspan="2">

<img src="images/index_05.jpg" width="422" height="29" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="13" alt=""></td>

</tr>

<tr>

<td rowspan="4">

<img src="images/index_06.jpg" width="415" height="105" alt=""></td>

<td colspan="2" rowspan="3">

<a href="http://www.youtube.com/"><img src="images/index_07.jpg" width="82" height="57" alt=""></a></td>

<td rowspan="6">

<img src="images/index_08.jpg" width="201" height="1197" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="16" alt=""></td>

</tr>

<tr>

<td rowspan="5">

<img src="images/index_09.jpg" width="14" height="1181" alt=""></td>

<td>

<a href="http://www.youtube.com/"><img src="images/index_10.jpg" width="57" height="26" alt=""></a></td>

<td rowspan="5">

<img src="images/index_11.jpg" width="8" height="1181" alt=""></td>

<td>

<a href="http://www.youtube.com/"><img src="images/index_12.jpg" width="57" height="26" alt=""></a></td>

<td rowspan="5">

<img src="images/index_13.jpg" width="5" height="1181" alt=""></td>

<td>

<a href="http://www.youtube.com/"><img src="images/index_14.jpg" width="57" height="26" alt=""></a></td>

<td rowspan="5">

<img src="images/index_15.jpg" width="7" height="1181" alt=""></td>

<td>

<a href="http://www.youtube.com/"><img src="images/index_16.jpg" width="57" height="26" alt=""></a></td>

<td rowspan="5">

<img src="images/index_17.jpg" width="5" height="1181" alt=""></td>

<td>

<a href="http://www.youtube.com/"><img src="images/index_18.jpg" width="57" height="26" alt=""></a></td>

<td rowspan="5">

<img src="images/index_19.jpg" width="10" height="1181" alt=""></td>

<td>

<a href="http://www.youtube.com/"><img src="images/index_20.jpg" width="57" height="26" alt=""></a></td>

<td colspan="2" rowspan="3">

<img src="images/index_21.jpg" width="31" height="89" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="26" alt=""></td>

</tr>

<tr>

<td rowspan="4">

<img src="images/index_22.jpg" width="57" height="1155" alt=""></td>

<td rowspan="4">

<img src="images/index_23.jpg" width="57" height="1155" alt=""></td>

<td rowspan="4">

<img src="images/index_24.jpg" width="57" height="1155" alt=""></td>

<td rowspan="4">

<img src="images/index_25.jpg" width="57" height="1155" alt=""></td>

<td rowspan="4">

<img src="images/index_26.jpg" width="57" height="1155" alt=""></td>

<td rowspan="4">

<img src="images/index_27.jpg" width="57" height="1155" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="15" alt=""></td>

</tr>

<tr>

<td colspan="2">

<img src="images/index_28.jpg" width="82" height="48" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="48" alt=""></td>

</tr>

<tr>

<td rowspan="2">

<img src="images/index_29.jpg" width="26" height="1092" alt=""></td>

<td colspan="3"><script type="text/javascript">

AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','490','height','235','src','slider','quality','high','flashvars','flashlet={imageLinkTarget:\'_blank\',captionFont:\'Verdana\',titleFont:\'Verdana\',showControls:false,frameShow:false,slideDelay:5,captionSize:0,captionColor:#333333,titleSize:0,transitionsType:\'Random\',titleColor:#333333,slideAutoPlay:true,imageURLs:[\'Blue hills.jpg\'],slideLoop:true,frameThickness:2,imageLinks:[\'Blue hills.jpg\',\'Sunset.jpg\',\'Water lilies.jpg\',\'Winter.jpg\'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','flash_component','ImageViewer.swc','movie','slider' ); //end AC code

</script>

<noscript>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="490" height="235">

<param name="flash_component" value="ImageViewer.swc">

<param name="movie" value="slider.swf">

<param name="quality" value="high">

<param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:false,slideDelay:5,captionSize:0,captionColor:#333333,titleSize:0,transitionsType:'Random',titleColor:#333333,slideAutoPlay:true,imageURLs:['Blue hills.jpg'],slideLoop:true,frameThickness:2,imageLinks:['Blue hills.jpg','Sunset.jpg','Water lilies.jpg','Winter.jpg'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}">

<embed src="slider.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:false,slideDelay:5,captionSize:0,captionColor:#333333,titleSize:0,transitionsType:'Random',titleColor:#333333,slideAutoPlay:true,imageURLs:['Blue hills.jpg'],slideLoop:true,frameThickness:2,imageLinks:['Blue hills.jpg','Sunset.jpg','Water lilies.jpg','Winter.jpg'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="490" height="235"> </embed>

</object>

</noscript></td>

<td rowspan="2">

<img src="images/index_31.jpg" width="15" height="1092" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="239" alt=""></td>

</tr>

<tr>

<td colspan="3">

<img src="images/index_32.jpg" width="487" height="853" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="853" alt=""></td>

</tr>

<tr>

<td>

<img src="images/spacer.gif" width="180" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="14" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="57" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="8" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="57" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="5" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="57" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="7" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="57" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="5" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="57" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="10" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="57" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="26" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="5" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="415" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="67" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="15" height="1" alt=""></td>

<td>

<img src="images/spacer.gif" width="201" height="1" alt=""></td>

<td></td>

</tr>

</table>

<!-- End ImageReady Slices -->

</body>

</html>

 

 

 

///////////////

Hi jahanzeb,

 

Just to point out, look at you're source code you posted, there's not a single bit of text in there, it's all images. So Google wont be able to read anything on your site.

 

Like Sash said, you shouldn't build a site this way. If you're doing it to learn, check out those tutorials. If you're doing it for your business, invest in a proffessional.

 

Goodluck,

~evu.

Adobe photoshop is good but you should just save the images and not the html because it codes with <td>.

 

These are not really used in layout of a site you should learn <div id="header"> </div> and CSS to be honest.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.