rookcifer
Forum Replies Created
-
Forum: Themes and Templates
In reply to: HTML clean-up and other questionsWhat’s the code that you’re trying to add in? (If you post it here, place the code here within backticks. That’s the key above the tab key and to the left of the ‘1’ key on a standard pc keyboard) Does HTML Tidy suggest any place to put it.
I used the W3 HTML validate page, but that site also offers a “cleaned up” code for your page by using HTML Tidy (which is third party). The code that Tidy provides is the entire HTML code for the page in question.
The problem I have is that the cleaned up code is HTML and I don’t know where to put HTML code in my template. Like most templates, it only uses CSS and PHP files. So my question is, how does one use this cleaned up code? Where do you put it? My site seems to function just fine, but I received like 90 errors on the W3 validation page (many of them appeared after pasting widgets). I have learned this will degrade the functionality of the search engine crawlers, so I want to fix it for that reason.
Here are the files that make up my template:
archive
footer
header
index
page
search
404
comments
functions
home
Left sidebar
Right sidebar
StyleAll of these files are PHP except for the style sheet, of course. There is no index.html file, which is what HTML Tidy seems to be providing code for. It’s the code that one sees when one hits “view source” in one’s browser. Again, the problem I have is I don’t know where this code is in my template. Do I need to be using the CSS validation page instead?
Now for the other questions: you can see my site here What I want to do is provide a background color for my sidebars, and I want to change the color of my page columns or margins (whatever you call the blank sections on the far left and far right).
Thanks for the help, guys.