登录 | 注册 | FAQ
Anonymous

Validator error

+ 发表回复

2 篇帖子 分页: 1 / 1


Validator error

SteveH » 周日 4月 20, 2014 12:27 pm

Hello

I am getting the following validator error:
•<div> Anchor "logo_text0" Already Defined (At line 107, column 1)


The script in question is this:

代码: 全选
<div id="main">   
<div id="site_content">
<div id="site_heading">
<div id="logo">
[b]<div id="logo_text0">[/b]
<h1>dima <span class="logo_colour">dayoub</span></h1>

<img id="picright1" src="images/facebook.png" width="64" height="64" alt="Facebook" />
<img id="picright2" src="images/twitter.png" width="56" height="56" alt="Twitter" />
<img id="picright3" src="images/rss.png" width="56" height="56" alt="Rss" />

</div>
</div>
</div><!--close site_heading-->
<div id="header">
<div id="menubar">
<ul id="menu">
<li class="current"><a href="index.asp">Home</a></li>
<li><a href="mywork.asp">My Work</a></li>
<li><a href="testimonials.asp">Testimonials</a></li>
<li><a href="projects.asp">Projects</a></li>
<li><a href="contact.asp">Contact Me</a></li>
</ul>
</div><!--close menubar-->
</div><!--close header-->    
<div id="banner_image">
<div id="slider-wrapper">       
<div id="slider" class="nivoSlider">
<img src="images/slide1.gif" alt="" />
<img src="images/slide2.gif" alt="" />
<img src="images/slide3.gif" alt="" />
<img src="images/slide4.gif" alt="" />
<img src="images/slide5.gif" alt="" />
<img src="images/slide6.gif" alt="" />
</div><!--close slider-->
</div><!--close slider_wrapper-->
</div><!--close banner_image-->          
<div id="content">
<div class="content_item">
[b][color=#FF0000]<div id="logo_text0">[/color][/b]


Does this mean I cannot use that attribute twice on the same page? How would I get around that, please?

Thanks!
头像

SteveH

  • 帖子: 40
  • 注册: 周一 2月 03, 2014 7:32 pm

Re: Validator error

SteveH » 周六 4月 26, 2014 11:26 am

Hello

Thank you for your reply.

I will take a look at classes, thanks, to overcome the ID error.

I have not used PHP anywhere, and wouldn't use it!

Thanks.
头像

SteveH

  • 帖子: 40
  • 注册: 周一 2月 03, 2014 7:32 pm


+ 发表回复

分页: 1 / 1