vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   to correct the problem code (https://vborg.vbsupport.ru/showthread.php?t=194456)

amerelgen 10-24-2008 08:01 PM

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


Deepdog009 10-25-2008 03:50 AM

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...

amerelgen 10-25-2008 05:04 PM

Quote:

Originally Posted by Deepdog009 (Post 1652203)
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 ?

Lynne 10-25-2008 05:26 PM

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.

amerelgen 10-25-2008 11:03 PM

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

?

Lynne 10-25-2008 11:14 PM

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>


amerelgen 10-25-2008 11:42 PM

Quote:

Originally Posted by Lynne (Post 1652735)
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

Deepdog009 10-26-2008 02:24 AM

Quote:

Originally Posted by amerelgen (Post 1652757)
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???

amerelgen 10-26-2008 12:31 PM

Quote:

Originally Posted by Deepdog009 (Post 1652808)

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

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

Deepdog009 10-27-2008 03:02 AM

1 Attachment(s)
Quote:

Originally Posted by amerelgen (Post 1653051)
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 :eek:... Keep the ball rolling...


All times are GMT. The time now is 01:13 AM.

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.01253 seconds
  • Memory Usage 1,887KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete