2010
07.14

I’m trying to help a friend and get there web page to validate xhtml strict. How can I change code from:

<style type="text/css">
#frame {background-color:white; margin-top:8}
</style>

<table id="frame" align="center" cellpadding="0" cellspacing="0" width="772">

To something that would validate as xhtml strict? Any help would be appreciated thanks.


HTML Blogs

1 comment so far

Add Your Comment
  1. Did you use: http://validator.w3.org/check
    and follow the info provided for the errors?

    From the fragment and without context (and me being a little rusty on my XHTML)I couldn’t really say, but I do believe align is deprecated and not xhtml strict.

CommentLuv badge

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.

Powered by Yahoo! Answers