The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Problem with div help please?
mystic12
post Jul 21 2014, 01:00 PM
Post #1


Member
***

Group: Members
Posts: 42
Joined: 8-May 14
Member No.: 20,862



Hey guys, I am trying to do some stuff myself on ym site and I messed up something on a page, please the HOME page here:

My Webpage

This page is fine but note the right sidebar, now on another page here:

My Mac page

You will see that there is nothing on right, the right side bar flows under the main content, I am thinking I may have deleted a div somewhere but I looked at both pages in depth but can't seem to find what's wrong, help please?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 22 2014, 04:15 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Both pages contain structural HTML errors. Use the W3C validator to find and fix these.

http://validator.w3.org/check?uri=http%3A%...0&verbose=1

http://validator.w3.org/check?uri=http%3A%...0&verbose=1

This post has been edited by Christian J: Jul 22 2014, 05:37 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
mystic12
post Jul 22 2014, 04:43 PM
Post #3


Member
***

Group: Members
Posts: 42
Joined: 8-May 14
Member No.: 20,862



Thanks but I am not understand the errors, for example this one:

Error Line 237, Column 6: Stray end tag div.

</div>


Error Line 239, Column 6: Stray end tag div.

</div>


Error Line 241, Column 6: Stray end tag div.

</div>

Not understanding what that means?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 22 2014, 05:23 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



I guess it means an unmatched </div>, that is there is no matching start tag.

I'm not so used to HTML5 validation (if it even can be called that), but I also find some errors odd. For instance this one.

CODE
Line 236, Column 13: No space between attributes.

<div class="highlightbox">


Huh? There's only one attribute as far as I can see. unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 22 2014, 05:35 PM
Post #5


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



That last one might be caused by

QUOTE
Line 236, Column 25: Quote " in attribute name. Probable cause: Matching quote missing somewhere earlier.

Perhaps the validator chokes on some previous syntax error and mixes up attributes and attribute values.

As usual, try to the fix errors one by one from the beginning and many of the later ones may sort themselves out.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 22 2014, 05:48 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Yeah. It's on line 231.
CODE

<img alt="Read our great and Unbiased Consumer Reviews Online at AngiesList.com"
src="http://www.pcandnetservices.com/wp-content/uploads/2014/07/webbadge.png />
                                                                           ^^^
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
mystic12
post Jul 23 2014, 12:19 PM
Post #7


Member
***

Group: Members
Posts: 42
Joined: 8-May 14
Member No.: 20,862



Got it working guys. Will deal with those errors soon, thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 03:44 PM