Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> HTML
Author Message
bprsk8r4272
Regular
Regular



Joined: Jan 23, 2007
Posts: 96
Location: Rochester, Ny

PostPosted: Mon Mar 17, 2008 3:43 pm Reply with quote

im trying to make my site xhtml 1.0 traditional compliant i origionally had 204 errors and now im down to 2 can anyone help me figure out how to fix them i tryed but i cant get it

http://validator.w3.org/check?uri=http%3A%2F%2Fgotskillslounge.com%2F

website: http://gotskillslounge.com

and one more thing when i type in the login its a little to the left i tryed messing with the padding but then around the box it turns white

thanks to anyone that can help
 
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Mon Mar 17, 2008 4:21 pm Reply with quote

Hi

I'm not sure where you're going with that home splash page, but it's close.

I should mention that it is not Nuke, nor RN, nor anything else as it is all static, so I'm not sure what you have in mind with it being posted here, but to cut to the chase, it simply needs that 1 TD fixed and a style applied to replace the background command.

I should mention that I don't know why you didn't go the XHTML 1.1 route, but whatever you want I guess.

Find:
Code:
<td backround="image-name.jpg"


Replace with:
Code:
<td style="background-image: url(image-name.jpg);" 


Remove the second TD as it is outside the last closetable.

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
bprsk8r4272







PostPosted: Mon Mar 17, 2008 4:54 pm Reply with quote

i put it in the correct section it says programming and im in the html section it doesnt say html for RN or nuke specifically

i used 1.0 cause i didn't want to change all the align's that where coming up
is 1.0 better or 4.01?

i tryed what you said but then it will throw a new error just like that one on line 12 and if i change them all then i get 4 new errors

and if i remove the <td> on line 55 it throws it all off
 
64bitguy







PostPosted: Mon Mar 17, 2008 5:39 pm Reply with quote

Well, the real point of doing this would be to put all of that style data in your CSS and use XHTML compliant requests to bring it forward.

It's not really a matter of "better", just newer and "different". XHTML 1.1 Transitional is a tad better because of improvement made from XHTML 1.0 Transitional.

It's really hard to fix (diagnose) a theme developed using the non-compliant methods, without having a copy of all of the files/images which is what makes it hard for us. I can spot a non-compliant call, but without the files to test render, I can see the impact and fix it.

You're going to find that making it compliant will require reworking almost every aspect of it.

The ideal here is that you define your TD in classes inside your style.css and then put images INSIDE those TD's.

For example:
Code:
<td valign="top" background="images/p3_bg.gif"><img src="images/3h1.gif" width="665" height="24" alt=""></img><br />


Would become:
Code:
<td class="bgmain"><img src="images/3h1.gif" width="665" height="24" alt="" />

You can also use styles:
Code:
<td style="vertical-align: top;">


I would suggest downloading a RN Theme (that is compliant) and using that as an example to work from. This will show you how the CSS and HTML works together.

You'll find that the HTML Validators throw weird errors when the page is "off". You'll fix one, and 4 more will spring up.
 
bprsk8r4272







PostPosted: Mon Mar 17, 2008 7:32 pm Reply with quote

aight i'll continue to mess around with it and i only see xhtml 1.1 not 1.1 traditional is that what you mean?

oh i was going to start putting all the colors and stuff in the css because the template had the css right in the html and i started to take it out
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> HTML

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©