×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Two bugs in index.html shown in dreamweaver?

Two bugs in index.html shown in dreamweaver? 15 years 5 months ago #4470

  • marcel
  • marcel's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hello,

When I open the index.html in Dreamweaver there is a error shown:
<table width='100%' class='{postclass}' align='center' cellpadding='0' cellspacing='0' class='searchresult'>

Firts it shows the cellpadding='0' twice and second there is two times a class.

Are these error's correct and what should it be?

Kind regards,
Marcel

Two bugs in index.html shown in dreamweaver? 15 years 5 months ago #4471

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You can have a class 10 000 times in a web page, but you got to have a single id on a page.

Don't look what dreamweaver is saying - important is the real output, because these {code}{/code} blocks are replaced with the actual html before the page is displayed.

Last but not least, the only template producing valid html is the modern one. All old template should be rewritten to follow the modern pattern.

Daniel
  • Page:
  • 1
Time to create page: 0.097 seconds