Support » Themes and Templates » Typograph XHTML error assistance

  • Morten:

    I hope you are out there and can help. I love your theme, you are to be commended for the exceptional work. I am however getting two errors when I attempt to validate the XHMTL. They both have to do with the use of the duplicate input id’s for the two search boxes (Tab Box and Side Bar). My url is below. Any direction you can provide is appreciated.


Viewing 4 replies - 1 through 4 (of 4 total)
  • well.. As much as the theme is nice,The Author’s page itself does not validate..
    You have actually two duplicated search forms, one in the sidebar and one in the tabbed thingie.
    one is this :

    <div id="content_5" class="content">
                 		<form id="searchBox" method="get" action="">
    							<input id="s" name="s" type="text" value="" size="44" tabindex="8" />
    							<input id="searchsubmit" name="searchsubmit" type="submit" value="Find" tabindex="9" />

    and the other one here :

    <li id="search">
    				<h3><label for="s">Search</label></h3>
    				<form id="searchform" method="get" action="">
    						<input id="s" name="s" type="text" value="" size="10" tabindex="10" />
    						<input id="searchsubmit" name="searchsubmit" type="submit" value="Find" tabindex="11" />

    That creates duplicates.
    So either Try to remove the sidebar one (second) , or change the ID to Class in css.


    Thanks for the reply. I am aware that the problem is occurring because of the duplicated search boxes. I can get rid of the error by removing one of them (I would remove the one in the tabbed box myself), but I was wondering if there was something I could do in the html or css to resolve the conflict while maintaining both search boxes.

    Unfortunately, I don’t know enough about either (html or css) to correct this myself. While I have been able to tailor the theme to my liking via trial and error in the style sheet, this alteration is beyond my abilities. You know the saying … A little knowledge is a dangerous thing… 😉

    Any assitance is appreciated.


    like I said above, you can change the ID to class in the css
    #searchBox input#s
    .searchBox input.s
    changing also the xhtml from ID=”s” to Class=”s”

    but I don’t know how it will effect the rest of your theme, or you can duplicate the Searchbox class, naming one of them Searchbox1 and the other searchbox2 and changing also that in the xhtml

    @awrosey: When I designed the theme I intended for the search area in the box to replace the search widget in the sidebar. No need for two search boxes, right? If you want to keep both the search area in the drop-down box and in the sidebar you have to make the change suggested by krembo99. If you want it in the sidebar as a widget but not in the drop-down box you can edit it out from the dedicated drop-down php file. It was all set up to give people as many options as possible.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Typograph XHTML error assistance’ is closed to new replies.