473,473 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Image Slicing Problem in VS.NET

I used photoshop to slice up some images. PS, creates the tables and
differant images. You are supposed to simple upload the photos and copy and
past the table codes taht was generated from the HTML PS creates. When I
launche the created html file everything looks good, but when I put the
table code into VS...there are spaces between the images were the slice was
at, the image is broken up and you can see the idfferant images which is the
point of slicing. Otherwise all the images are there.

Any on have this problem???

<HTML>
<HEAD>
<TITLE>header_stage_2_slice</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 (header_stage_2_slice.psd) -->
<TABLE WIDTH=1929 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD ROWSPAN=4>
<IMG SRC="images/headerLeftBorderSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTrader.com"
TARGET="http://www.baliSurfTrader.com">
<IMG SRC="images/headerLogoSlice.jpg" WIDTH=570 HEIGHT=403 BORDER=0
ALT=""></A></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerMidSlice.jpg" WIDTH=799 HEIGHT=403 ALT=""></TD>
<TD>
<IMG SRC="images/headerControlTopSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlice.jpg" WIDTH=48 HEIGHT=403 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_06_Mid.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_07MidB.jpg" WIDTH=472 HEIGHT=100
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBottomSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>
</HTML>
Nov 19 '05 #1
4 1417
Compare the HTML in the regular HTML page with the HTML that your ASPX page
generates. One possibility is that VS.Net is modifying your HTML when you
paste it in.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Microsoft )IntraRELY.com>" <ng(<at> wrote in message
news:O0**************@tk2msftngp13.phx.gbl...
I used photoshop to slice up some images. PS, creates the tables and
differant images. You are supposed to simple upload the photos and copy and
past the table codes taht was generated from the HTML PS creates. When I
launche the created html file everything looks good, but when I put the
table code into VS...there are spaces between the images were the slice was
at, the image is broken up and you can see the idfferant images which is
the point of slicing. Otherwise all the images are there.

Any on have this problem???

<HTML>
<HEAD>
<TITLE>header_stage_2_slice</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 (header_stage_2_slice.psd) -->
<TABLE WIDTH=1929 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD ROWSPAN=4>
<IMG SRC="images/headerLeftBorderSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTrader.com"
TARGET="http://www.baliSurfTrader.com">
<IMG SRC="images/headerLogoSlice.jpg" WIDTH=570 HEIGHT=403 BORDER=0
ALT=""></A></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerMidSlice.jpg" WIDTH=799 HEIGHT=403 ALT=""></TD>
<TD>
<IMG SRC="images/headerControlTopSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlice.jpg" WIDTH=48 HEIGHT=403 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_06_Mid.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_07MidB.jpg" WIDTH=472 HEIGHT=100
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBottomSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>
</HTML>

Nov 19 '05 #2
Cut and pasted it and is the same.
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:ep**************@TK2MSFTNGP15.phx.gbl...
Compare the HTML in the regular HTML page with the HTML that your ASPX
page generates. One possibility is that VS.Net is modifying your HTML when
you paste it in.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Microsoft )IntraRELY.com>" <ng(<at> wrote in message
news:O0**************@tk2msftngp13.phx.gbl...
I used photoshop to slice up some images. PS, creates the tables and
differant images. You are supposed to simple upload the photos and copy
and past the table codes taht was generated from the HTML PS creates. When
I launche the created html file everything looks good, but when I put the
table code into VS...there are spaces between the images were the slice
was at, the image is broken up and you can see the idfferant images which
is the point of slicing. Otherwise all the images are there.

Any on have this problem???

<HTML>
<HEAD>
<TITLE>header_stage_2_slice</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 (header_stage_2_slice.psd) -->
<TABLE WIDTH=1929 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD ROWSPAN=4>
<IMG SRC="images/headerLeftBorderSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTrader.com"
TARGET="http://www.baliSurfTrader.com">
<IMG SRC="images/headerLogoSlice.jpg" WIDTH=570 HEIGHT=403 BORDER=0
ALT=""></A></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerMidSlice.jpg" WIDTH=799 HEIGHT=403 ALT=""></TD>
<TD>
<IMG SRC="images/headerControlTopSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlice.jpg" WIDTH=48 HEIGHT=403 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_06_Mid.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_07MidB.jpg" WIDTH=472 HEIGHT=100
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBottomSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>
</HTML>


Nov 19 '05 #3
> Cut and pasted it and is the same.

I was not referring to the designer view. I was referring to the HTML in the
browser, generated by the ASPX page when you run it. Is that the same? If
so, are you using a style sheet?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Microsoft )IntraRELY.com>" <ng(<at> wrote in message
news:O5**************@TK2MSFTNGP12.phx.gbl...
Cut and pasted it and is the same.
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:ep**************@TK2MSFTNGP15.phx.gbl...
Compare the HTML in the regular HTML page with the HTML that your ASPX
page generates. One possibility is that VS.Net is modifying your HTML
when you paste it in.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Microsoft )IntraRELY.com>" <ng(<at> wrote in message
news:O0**************@tk2msftngp13.phx.gbl...
I used photoshop to slice up some images. PS, creates the tables and
differant images. You are supposed to simple upload the photos and copy
and past the table codes taht was generated from the HTML PS creates.
When I launche the created html file everything looks good, but when I
put the table code into VS...there are spaces between the images were the
slice was at, the image is broken up and you can see the idfferant images
which is the point of slicing. Otherwise all the images are there.

Any on have this problem???

<HTML>
<HEAD>
<TITLE>header_stage_2_slice</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 (header_stage_2_slice.psd) -->
<TABLE WIDTH=1929 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD ROWSPAN=4>
<IMG SRC="images/headerLeftBorderSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTrader.com"
TARGET="http://www.baliSurfTrader.com">
<IMG SRC="images/headerLogoSlice.jpg" WIDTH=570 HEIGHT=403 BORDER=0
ALT=""></A></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerMidSlice.jpg" WIDTH=799 HEIGHT=403 ALT=""></TD>
<TD>
<IMG SRC="images/headerControlTopSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlice.jpg" WIDTH=48 HEIGHT=403
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_06_Mid.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_07MidB.jpg" WIDTH=472 HEIGHT=100
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBottomSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>
</HTML>



Nov 19 '05 #4
There was some CSS element messing it up...Thanks

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Cut and pasted it and is the same.


I was not referring to the designer view. I was referring to the HTML in
the browser, generated by the ASPX page when you run it. Is that the same?
If so, are you using a style sheet?

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Microsoft )IntraRELY.com>" <ng(<at> wrote in message
news:O5**************@TK2MSFTNGP12.phx.gbl...
Cut and pasted it and is the same.
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:ep**************@TK2MSFTNGP15.phx.gbl...
Compare the HTML in the regular HTML page with the HTML that your ASPX
page generates. One possibility is that VS.Net is modifying your HTML
when you paste it in.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Microsoft )IntraRELY.com>" <ng(<at> wrote in message
news:O0**************@tk2msftngp13.phx.gbl...
I used photoshop to slice up some images. PS, creates the tables and
differant images. You are supposed to simple upload the photos and copy
and past the table codes taht was generated from the HTML PS creates.
When I launche the created html file everything looks good, but when I
put the table code into VS...there are spaces between the images were
the slice was at, the image is broken up and you can see the idfferant
images which is the point of slicing. Otherwise all the images are
there.

Any on have this problem???

<HTML>
<HEAD>
<TITLE>header_stage_2_slice</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 (header_stage_2_slice.psd) -->
<TABLE WIDTH=1929 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD ROWSPAN=4>
<IMG SRC="images/headerLeftBorderSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTrader.com"
TARGET="http://www.baliSurfTrader.com">
<IMG SRC="images/headerLogoSlice.jpg" WIDTH=570 HEIGHT=403 BORDER=0
ALT=""></A></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerMidSlice.jpg" WIDTH=799 HEIGHT=403
ALT=""></TD>
<TD>
<IMG SRC="images/headerControlTopSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlice.jpg" WIDTH=48 HEIGHT=403
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_06_Mid.jpg" WIDTH=472
HEIGHT=101 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_slice_07MidB.jpg" WIDTH=472
HEIGHT=100 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBottomSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>
</HTML>



Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: D. Alvarado | last post by:
Hello, I have a background repeating image <table style="background-image: url('../images/KJV-BAND_SLICED_03.gif');" ... Is there any way I can specify the size of this image? OBviously, the...
3
by: Bryan Olson | last post by:
I recently wrote a module supporting value-shared slicing. I don't know if this functionality already existed somewhere, but I think it's useful enough that other Pythoners might want it, so here...
11
by: jbperez808 | last post by:
>>> rs='AUGCUAGACGUGGAGUAG' >>> rs='GAG' Traceback (most recent call last): File "<pyshell#119>", line 1, in ? rs='GAG' TypeError: object doesn't support slice assignment You can't assign to...
17
by: Jon Slaughter | last post by:
I'm having a little trouble understanding what the slicing problem is. In B.S.'s C++ PL3rdEd he says "Becayse the Employee copy functions do not know anything about Managers, only the Employee...
17
by: baibaichen | last post by:
i have written some code to verify how to disable slicing copy according C++ Gotchas item 30 the follow is my class hierarchy, and note that B is abstract class!! class B { public: explicit...
18
by: Nik Coughlin | last post by:
I am halfway through writing a tutorial on image slicing for fluid CSS layouts, I would love some feedback on what I've done up until this point: http://nrkn.com/index.html I am still writing...
2
by: Rahul | last post by:
Hi Everyone, I was working around object slicing (pass by value) and was wondering how it is specified in the standard, class A { }; class B: public A
6
by: sarika | last post by:
Hi All i m making a web site having number of big images. My requirement is i want to dunamically split the images while downloading so that my website works fast and image downloading does not...
3
by: luigidavinci | last post by:
Hi there, I just found these forums and several questions I had have been answered by just reading the posts but this one. I have simplified my code in order to just get to the point with my...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.