Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2008, 08:01 PM
amerelgen amerelgen is offline
 
Join Date: Oct 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default to correct the problem code

Hello all

When I put a link sites
At this site: http://validator.w3.org/ # validate_by_input

3 says that there are errors

I know where it is no errors in haeader

The accompanying code haeder you even say where one is wrong and how to correct the error

header

PHP Code:
<style type="text/css">
.
style1 {
    
text-alignright;
    
background-imageurl('tatwerweb/tatwer_02.jpg');
}
.
style2 {
    
text-alignleft;
    
background-imageurl('tatwerweb/tatwer_02.jpg');
}
.
style3 {
    
border-width0;
}
.
style4 {
    
border-width0px;
}
</
style>

<
table style="width: 100%" dir="rtl" cellspacing="0" cellpadding="0" align="center">
    <
tr>
        <
td class="style1" style="width: 202px">
        <
img src="tatwerweb/tatwer_03.jpg" width="355" height="106" alt="tatwer_03" /></td>
        <
td class="style2">
        <
map name="FPMap0" id="FPMap0">
        <
area href="http://www.tatwerweb.com/vb/" shape="rect" coords="60, 8, 109, 29" alt="tatwerweb" />
        <
area href="sendmessage.php" shape="rect" coords="6, 8, 59, 29" alt="sendmessage" />
        </
map>
        <
img src="tatwerweb/tatwer_01.jpg" width="319" height="106" alt="tatwer_01" usemap="#FPMap0" class="style3" /></td>
    </
tr>
</
table>


<
table style="width: 46%; height: 34px" align="center">
    <
tr>
        <
td>
        <
table style="width: 49%" align="center">
            <
tr>
                <
td style="width: 133px">
                <
a target="_blank" href="http://www.j44n.com/vb/">
                <
img src="http://www.j44n.com/vb/j44n.gif" width="160" height="60" class="style4" alt="44n" /></a></td>
                <
td>
                <
a target="_blank" href="http://www.tatwerweb.com/vb/showthread.php?p=587#post587">
                <
img src="http://www.tatwerweb.com/wer.gif" width="260" height="60" class="style4" alt="wer" /></a></td>
            </
tr>
        </
table>
        <
table style="width: 41%" align="center" dir="ltr">
            <
tr>
                <
td style="width: 148px">
                <
a target="_blank" href="http://www.yaho1.com/vb/">
                <
img src="http://www.yaho1.com/s3.gif" width="162" height="60" class="style4" alt="s3"/></a></td>
                <
td>
                <
a target="_blank" href="http://fofo9.com/">
                <
img src="http://fofo9.com/1/2_01195757107.gif" width="150" height="60" class="style4" alt="2_01195757107" /></a></td>
            </
tr>
        </
table>
        </
td>
    </
tr>
</
table>


$spacer_open

$_phpinclude_output

$ad_location
[ad_header_end
Reply With Quote
  #2  
Old 10-25-2008, 03:50 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

amerelgen,,,
The best way to resolve most or all error's is to DOWNLOAD FIREFOX...>>> FIREBUG <<< and view in HTML editor...

If you need more help,,, please post LINK to page that is causing error's,,, and I will help you understand were the issue's are,,, and how to resolve them...
Reply With Quote
  #3  
Old 10-25-2008, 05:04 PM
amerelgen amerelgen is offline
 
Join Date: Oct 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post
amerelgen,,,
The best way to resolve most or all error's is to DOWNLOAD FIREFOX...>>> FIREBUG <<< and view in HTML editor...

If you need more help,,, please post LINK to page that is causing error's,,, and I will help you understand were the issue's are,,, and how to resolve them...
first, thank you very much on assistance

this link Forum: http://www.tatwerweb.com/vb/

i hope you put here to correct errors

firefox browser there with me but I do not know used to correct errors?

thank you ?
Reply With Quote
  #4  
Old 10-25-2008, 05:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From here:
Quote:
HTML <style> tag

Definition and Usage

Defines a style in a document.
The style element goes in the head section.
You need to move the <style> tag to your head section - it can't be in your body tag.
Reply With Quote
  #5  
Old 10-25-2008, 11:03 PM
amerelgen amerelgen is offline
 
Join Date: Oct 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think what you mean such

PHP Code:
<html>

<
head>
</
head>

<
body>
<
style type="text/css"
.
style1 
    
text-alignright
    
background-imageurl('tatwerweb/tatwer_02.jpg'); 

.
style2 
    
text-alignleft
    
background-imageurl('tatwerweb/tatwer_02.jpg'); 

.
style3 
    
border-width0

.
style4 
    
border-width0px

</
style

</
body>

</
html
?
Reply With Quote
  #6  
Old 10-25-2008, 11:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I mean the style tags must be *in* the head:
HTML Code:
<html> 

<head> 

<style type="text/css">  
.style1 {  
    text-align: right;  
    background-image: url('tatwerweb/tatwer_02.jpg');  
}  
.style2 {  
    text-align: left;  
    background-image: url('tatwerweb/tatwer_02.jpg');  
}  
.style3 {  
    border-width: 0;  
}  
.style4 {  
    border-width: 0px;  
}  
</style>  
</head> 

<body> 
 
</body> 

</html>
Reply With Quote
  #7  
Old 10-25-2008, 11:42 PM
amerelgen amerelgen is offline
 
Join Date: Oct 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
No, I mean the style tags must be *in* the head:
HTML Code:
<html> 

<head> 

<style type="text/css">  
.style1 {  
    text-align: right;  
    background-image: url('tatwerweb/tatwer_02.jpg');  
}  
.style2 {  
    text-align: left;  
    background-image: url('tatwerweb/tatwer_02.jpg');  
}  
.style3 {  
    border-width: 0;  
}  
.style4 {  
    border-width: 0px;  
}  
</style>  
</head> 

<body> 
 
</body> 

</html>
after the code developed
the error is 3 now has become a code that errors 9

ido not know why this did not solve the problem
Reply With Quote
  #8  
Old 10-26-2008, 02:24 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amerelgen View Post
after the code developed
the error is 3 now has become a code that errors 9

ido not know why this did not solve the problem

***********************************************

amerelgen,,, sorry just got back...

Most of your issues stem from having double html tags within your output page...

double </html> tags
double </style> tags <<<... some are in wrong placement...
double </body> tags
double </meta> tags
double <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> tags


***********************************************

You must check your code placement and delete un-necessary code...

That will resolve 100% of issues
...


***********************************************


Did you download FIREBUG to assist with corrections???
Reply With Quote
  #9  
Old 10-26-2008, 12:31 PM
amerelgen amerelgen is offline
 
Join Date: Oct 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post

***********************************************

amerelgen,,, sorry just got back...

Most of your issues stem from having double html tags within your output page...

double </html> tags
double </style> tags <<<... some are in wrong placement...
double </body> tags
double </meta> tags
double <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> tags


***********************************************

You must check your code placement and delete un-necessary code...

That will resolve 100% of issues
...


***********************************************


Did you download FIREBUG to assist with corrections???
thank you very much

but I do not understand how I put this

please take this the right way to code
not to show errors

PHP Code:
<style type="text/css"
.
style1 
    
text-alignright
    
background-imageurl('tatwerweb/tatwer_02.jpg'); 

.
style2 
    
text-alignleft
    
background-imageurl('tatwerweb/tatwer_02.jpg'); 

.
style3 
    
border-width0

.
style4 
    
border-width0px

</
style

<
table style="width: 100%" dir="rtl" cellspacing="0" cellpadding="0" align="center"
    <
tr
        <
td class="style1" style="width: 202px"
        <
img src="tatwerweb/tatwer_03.jpg" width="355" height="106" alt="tatwer_03" /></td
        <
td class="style2"
        <
map name="FPMap0" id="FPMap0"
        <
area href="http://www.tatwerweb.com/vb/" shape="rect" coords="60, 8, 109, 29" alt="tatwerweb" /> 
        <
area href="sendmessage.php" shape="rect" coords="6, 8, 59, 29" alt="sendmessage" /> 
        </
map
        <
img src="tatwerweb/tatwer_01.jpg" width="319" height="106" alt="tatwer_01" usemap="#FPMap0" class="style3" /></td
    </
tr
</
table


<
table style="width: 46%; height: 34px" align="center"
    <
tr
        <
td
        <
table style="width: 49%" align="center"
            <
tr
                <
td style="width: 133px"
                <
a target="_blank" href="http://www.j44n.com/vb/"
                <
img src="http://www.j44n.com/vb/j44n.gif" width="160" height="60" class="style4" alt="44n" /></a></td
                <
td
                <
a target="_blank" href="http://www.tatwerweb.com/vb/showthread.php?p=587#post587"
                <
img src="http://www.tatwerweb.com/wer.gif" width="260" height="60" class="style4" alt="wer" /></a></td
            </
tr
        </
table
        <
table style="width: 41%" align="center" dir="ltr"
            <
tr
                <
td style="width: 148px"
                <
a target="_blank" href="http://www.yaho1.com/vb/"
                <
img src="http://www.yaho1.com/s3.gif" width="162" height="60" class="style4" alt="s3"/></a></td
                <
td
                <
a target="_blank" href="http://fofo9.com/"
                <
img src="http://fofo9.com/1/2_01195757107.gif" width="150" height="60" class="style4" alt="2_01195757107" /></a></td
            </
tr
        </
table
        </
td
    </
tr
</
table


$spacer_open 

$_phpinclude_output 

$ad_location
[ad_header_end
or more show possible

thank you again to help
Reply With Quote
  #10  
Old 10-27-2008, 03:02 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amerelgen View Post
thank you very much

but I do not understand how I put this

please take this the right way to code
not to show errors

PHP Code:
<style type="text/css"
.
style1 
    
text-alignright
    
background-imageurl('tatwerweb/tatwer_02.jpg'); 

.
style2 
    
text-alignleft
    
background-imageurl('tatwerweb/tatwer_02.jpg'); 

.
style3 
    
border-width0

.
style4 
    
border-width0px

</
style

<
table style="width: 100%" dir="rtl" cellspacing="0" cellpadding="0" align="center"
    <
tr
        <
td class="style1" style="width: 202px"
        <
img src="tatwerweb/tatwer_03.jpg" width="355" height="106" alt="tatwer_03" /></td
        <
td class="style2"
        <
map name="FPMap0" id="FPMap0"
        <
area href="http://www.tatwerweb.com/vb/" shape="rect" coords="60, 8, 109, 29" alt="tatwerweb" /> 
        <
area href="sendmessage.php" shape="rect" coords="6, 8, 59, 29" alt="sendmessage" /> 
        </
map
        <
img src="tatwerweb/tatwer_01.jpg" width="319" height="106" alt="tatwer_01" usemap="#FPMap0" class="style3" /></td
    </
tr
</
table


<
table style="width: 46%; height: 34px" align="center"
    <
tr
        <
td
        <
table style="width: 49%" align="center"
            <
tr
                <
td style="width: 133px"
                <
a target="_blank" href="http://www.j44n.com/vb/"
                <
img src="http://www.j44n.com/vb/j44n.gif" width="160" height="60" class="style4" alt="44n" /></a></td
                <
td
                <
a target="_blank" href="http://www.tatwerweb.com/vb/showthread.php?p=587#post587"
                <
img src="http://www.tatwerweb.com/wer.gif" width="260" height="60" class="style4" alt="wer" /></a></td
            </
tr
        </
table
        <
table style="width: 41%" align="center" dir="ltr"
            <
tr
                <
td style="width: 148px"
                <
a target="_blank" href="http://www.yaho1.com/vb/"
                <
img src="http://www.yaho1.com/s3.gif" width="162" height="60" class="style4" alt="s3"/></a></td
                <
td
                <
a target="_blank" href="http://fofo9.com/"
                <
img src="http://fofo9.com/1/2_01195757107.gif" width="150" height="60" class="style4" alt="2_01195757107" /></a></td
            </
tr
        </
table
        </
td
    </
tr
</
table


$spacer_open 

$_phpinclude_output 

$ad_location
[ad_header_end
or more show possible

thank you again to help
************************************************** *****

amerelgen,,,
Great! I viewed your updated site and you've whittled error's down to five...

Those last five error's are caused by two style body placements...
  • One dead form tag...
  • One incompleted div output...
  • One body error...
  • One incompleted td output...

************************************************** *****

I've uploaded a file that contains two html files,,, one has error's before corrections,,, and thee other has updated fixes... Good Luck 2 Ya!

************************************************** *****

Page error's aren't that bad,,, but warnings ... Keep the ball rolling...
Attached Files
File Type: zip validator.zip (23.0 KB, 3 views)
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05661 seconds
  • Memory Usage 2,399KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (4)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete