Jump to content
JASPER

Error for height attribute in Twitter feed code.

Recommended Posts

Error: Attribute height not allowed on element a at this point.

From line 147, column 9; to line 147, column 130

>↩        <a class="twitter-timeline" href="https://twitter.com/NewHomesExpert1" data-widget-id="687196043902107648" height="390px">Tweets

I am getting a error showing up in w3 validation.

 

How can I specify the height of the twitter feed on my home page without having it where it is above?

 

 

Share this post


Link to post
Share on other sites

I got a solution on another forum. I changed height="390px"   to data-height="390" and it passed the w3 validation and is the height I want.

 

Yes it was the Twitter one.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×