473,767 Members | 7,178 Online
Bytes | Software Development & Data Engineering Community
+ 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_s tage_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/headerLeftBorde rSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTra der.com"
TARGET="http://www.baliSurfTra der.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/headerControlTo pSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlic e.jpg" WIDTH=48 HEIGHT=403 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_06_Mid.jp g" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_07MidB.jp g" WIDTH=472 HEIGHT=100
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBo ttomSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>
</HTML>
Nov 19 '05 #1
4 1430
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******** ******@tk2msftn gp13.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_s tage_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/headerLeftBorde rSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTra der.com"
TARGET="http://www.baliSurfTra der.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/headerControlTo pSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlic e.jpg" WIDTH=48 HEIGHT=403 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_06_Mid.jp g" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_07MidB.jp g" WIDTH=472 HEIGHT=100
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBo ttomSlice.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***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:ep******** ******@TK2MSFTN GP15.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******** ******@tk2msftn gp13.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_s tage_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/headerLeftBorde rSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTra der.com"
TARGET="http://www.baliSurfTra der.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/headerControlTo pSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlic e.jpg" WIDTH=48 HEIGHT=403 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_06_Mid.jp g" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_07MidB.jp g" WIDTH=472 HEIGHT=100
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBo ttomSlice.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******** ******@TK2MSFTN GP12.phx.gbl...
Cut and pasted it and is the same.
"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:ep******** ******@TK2MSFTN GP15.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******** ******@tk2msftn gp13.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_s tage_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/headerLeftBorde rSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTra der.com"
TARGET="http://www.baliSurfTra der.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/headerControlTo pSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlic e.jpg" WIDTH=48 HEIGHT=403
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_06_Mid.jp g" WIDTH=472 HEIGHT=101
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_07MidB.jp g" WIDTH=472 HEIGHT=100
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBo ttomSlice.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***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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******** ******@TK2MSFTN GP12.phx.gbl...
Cut and pasted it and is the same.
"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:ep******** ******@TK2MSFTN GP15.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******** ******@tk2msftn gp13.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_s tage_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/headerLeftBorde rSlice.jpg" WIDTH=40 HEIGHT=403
ALT=""></TD>
<TD ROWSPAN=4>
<A HREF="http://www.baliSurfTra der.com"
TARGET="http://www.baliSurfTra der.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/headerControlTo pSlice.jpg" WIDTH=472 HEIGHT=101
ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="images/headerRightSlic e.jpg" WIDTH=48 HEIGHT=403
ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_06_Mid.jp g" WIDTH=472
HEIGHT=101 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/header_stage_2_ slice_07MidB.jp g" WIDTH=472
HEIGHT=100 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/headerControlBo ttomSlice.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
2995
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 size it displays at is its default. Is the only answer that I'll have to use an image editor to scale the actual file down?
3
2061
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 it is. Also, my recent notes on Python warts with respect to negative indexes were based on problems I encoutered debugging this module, so I'm posting it partially as a concrete example of what I was talking about.
11
2053
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 a section of a sliced string in Python 2.3 and there doesn't seem to be mention of this as a Python 2.4 feature (don't have time to actually try
17
16607
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 part of Manager is copied. ".... and gives the code above as .....
17
3575
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 B(INT32 i =0):i_(i){} virtual ~B(){}
18
2509
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 parts 3 & 4, "optimising the layout" and "alpha transparency". Also, does anyone know why I don't get numbers or bullets on my ul and ol in Internet Explorer (6 or 7)?
2
4707
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
4910
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 not much time. I need a script in php for doing this. Please help me .Your help will be highly appreciated.
3
1232
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 question. This is my html code: <html> <head> </head> <body>
0
9575
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9407
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10170
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8840
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7384
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5280
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3931
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3534
muto222
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.