Reply
Issue using slices in photoshop to create website when viewing in firefox
Old 12-03-2008, 01:15 PM Issue using slices in photoshop to create website when viewing in firefox
Junior Talker

Posts: 4
Hi..

I am a beginner in website design.

My friend created this website but we find issues with the website only when we are viewing it with firefox (with IE is ok).

He uses slices in photoshop to create html.

There is a gap in the background between the pictures or slices.

It looks ok from the code or design and when I view it with firefox directly in dreamweaver but after the upload then the gap is appearing.

here is the website: (note: hopefully it is safe to show you because other forum they remove the link to the website)
Edit: site has been fixed. http://www.rachapmanautomotive.com.a...#OriginalParts

Please help and thank you for your help.


when I check validatorw3.org only appear two issues

1. regarding the onload (one only)
2. required attribute ALT (repeated in different line)

-----------

<LI class=msg_err>ine 228, Column 253: there is no attribute "ONLOAD" . …corner.jpg" border="0" alt="" onLoad=""></a></td>
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

<LI class=msg_err> Line 240, Column 103: required attribute "ALT" not specified . …arts_01.jpg" width="381" height="465"></td>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
---------------

Last edited by surat : 12-03-2008 at 08:06 PM.
surat is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 12-03-2008, 01:25 PM Re: Issue using slices in photoshop to create website when viewing in firefox
wayfarer07's Avatar
Power Hungry Seamonkey

Posts: 2,630
Name: Abel Mohler
Location: Asheville, North Carolina USA
You didn't close a <script> tag in the example(link) you gave, so it's impossible to see the result.

Yet another example of why Photoshop should NEVER be used for exporting HTML.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 12-03-2008, 01:34 PM Re: Issue using slices in photoshop to create website when viewing in firefox
Junior Talker

Posts: 4
wayfarer07,

sorry, I am new with this.
What do you mean I didn't close a <script> tag?

is this what you mean? i missed something after height="465">
--- for example: arts_01.jpg" width="381" height="465"></td>

because in validator it show in > where the error is but when I check the code it was there though.

I know photoshop is not good for exporting, that is why I am learning css now but it is already done so I am hoping this forum can help me
surat is offline
Reply With Quote
View Public Profile
 
Old 12-03-2008, 02:55 PM Re: Issue using slices in photoshop to create website when viewing in firefox
LadynRed's Avatar
Super Moderator

Posts: 8,218
Location: Tennessee
Get rid of the <p> tag that's wrapping this image:

Quote:
<td height="155"><img class="twisty"><p>
<img height="155" width="381" src="background/bg_03_left_parts_05.jpg"/>


</p>
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 12-03-2008, 03:59 PM Re: Issue using slices in photoshop to create website when viewing in firefox
Junior Talker

Posts: 4
wow.
Thank you Ladynred.
I think it works.
I removed the closing of /p last time already but I missed out the front part.

Thanks a lot.
surat is offline
Reply With Quote
View Public Profile
 
Old 12-03-2008, 07:59 PM Re: Issue using slices in photoshop to create website when viewing in firefox
wayfarer07's Avatar
Power Hungry Seamonkey

Posts: 2,630
Name: Abel Mohler
Location: Asheville, North Carolina USA
It seems the error got fixed since I saw it last. Dreamweaver must have closed the tag for you since I saw it. When I first looked at it, it was a blank screen except for the background color.

Last edited by wayfarer07 : 12-03-2008 at 08:00 PM.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 12-03-2008, 08:04 PM Re: Issue using slices in photoshop to create website when viewing in firefox
Junior Talker

Posts: 4
oh..i see what you meant.
Yeah..might be when you saw it, I modified a bit and something wrong so it is fix now.

Thanks way.
surat is offline
Reply With Quote
View Public Profile
 
Old 12-06-2008, 11:14 AM Re: Issue using slices in photoshop to create website when viewing in firefox
Super Talker

Posts: 106
Hi if you are using dreamweaver goto file>convert>xhtml traditional 1.0
fiveacehosting is offline
Reply With Quote
View Public Profile
 
Old 12-06-2008, 01:47 PM Re: Issue using slices in photoshop to create website when viewing in firefox
wayfarer07's Avatar
Power Hungry Seamonkey

Posts: 2,630
Name: Abel Mohler
Location: Asheville, North Carolina USA
what is xhtml traditional?
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 12-15-2008, 12:30 PM Re: Issue using slices in photoshop to create website when viewing in firefox
Super Talker

Posts: 106
Quote:
Originally Posted by wayfarer07 View Post
what is xhtml traditional?
I came across it. It will certainly fix the problem
fiveacehosting is offline
Reply With Quote
View Public Profile
 
Old 12-16-2008, 09:55 AM Re: Issue using slices in photoshop to create website when viewing in firefox
LadynRed's Avatar
Super Moderator

Posts: 8,218
Location: Tennessee
There is no such doctype as xhtml traditional, however there IS an XHTML TRANSITIONAL. Having a proper doctype helps, but it's not a cure-all for bad coding - which is what Photoshop produces.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 06-03-2009, 09:37 AM Re: Issue using slices in photoshop to create website when viewing in firefox
Junior Talker

Posts: 1
Name: Michael Cohen
I am having the very same issues, however there are no paragraph coding in my html generated by photoshop; I tried the transitional 1.0 but that didn't do anything; please advise the site is temporarily at http://www.michaelmcohen.com/med.html
cyberilui is offline
Reply With Quote
View Public Profile
 
Old 06-03-2009, 03:58 PM Re: Issue using slices in photoshop to create website when viewing in firefox
LadynRed's Avatar
Super Moderator

Posts: 8,218
Location: Tennessee
You really should not be using photoshop code to build a site.. it spews horrific code fill of problems!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Reply     « Reply to Issue using slices in photoshop to create website when viewing in firefox
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.12703 seconds with 12 queries