473,378 Members | 1,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Quick Question regarding error

For some reason, the text and images on my website are not showing up correctly. My web designer is unavailable until next week, but I need to get this fixed today. I am sure its an easy fix, but I need a little guidance. I know a little about web design, so if you make a suggestion, I can make the neccesary changes.

I have provided the website address below, rather than copying the code within this post.

http://www.thurberhistoricalassociation.com

Thanks!
Mar 29 '07 #1
5 1259
The problem doesnt occur in Firefox, but it does in Internet Explorer.
Mar 29 '07 #2
When I try to validate the XHTML, I am provided with this information. Do you think this is the reason my website looks the way it does?

www.thurberhistoricalassociation.com
__________________________________________________ __
This page is not Valid XHTML 1.1!
Below are the results of checking this document for XML well-formedness and validity.

Error Line 36 column 14: there is no attribute "align".
<div align="center">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.



Error Line 54 column 139: required attribute "alt" not specified.
...="special1" style="padding-top:5px;"/> There have been reams of paper writtenThe 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>.
__________________________________________________ __
Mar 29 '07 #3
KevinADC
4,059 Expert 2GB
The problem appears to be the syle sheet. But I don't know what specifically. The site is usable with IE so hopefully when the designer gets back he can fix the alignment issues. Site looks good by the way.
Mar 29 '07 #4
KevinADC
4,059 Expert 2GB
I would recommend using "text-align: justify" for the main content div, it would make the site look even cleaner visually. Pass that along to the designer.
Mar 29 '07 #5
AricC
1,892 Expert 1GB
When I try to validate the XHTML, I am provided with this information. Do you think this is the reason my website looks the way it does?

www.thurberhistoricalassociation.com
__________________________________________________ __
This page is not Valid XHTML 1.1!
Below are the results of checking this document for XML well-formedness and validity.

Error Line 36 column 14: there is no attribute "align".
<div align="center">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.



Error Line 54 column 139: required attribute "alt" not specified.
...="special1" style="padding-top:5px;"/> There have been reams of paper writtenThe 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>.
__________________________________________________ __
Div align="center" isn't valid try <div style="text-align: center" to center things in the div if you are trying to align the div itself wrap another div around it or add margin-left: auto;margin-right: auto that should center everything.
Mar 30 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.