Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: CSS Issue with h2

    Have you taken in what Glenn Herbert has said? A large part of your issue is badly-formatted HTML...
    20 years a Zencart User

  2. #2
    Join Date
    Sep 2011
    Posts
    226
    Plugin Contributions
    0

    Default Re: CSS Issue with h2

    Quote Originally Posted by schoolboy View Post
    Have you taken in what Glenn Herbert has said? A large part of your issue is badly-formatted HTML...
    I mentioned part of the cause of that in my previous post.

    I use TinyMCE editor, and paste information from the manufacturers website into TinyMCE. All formatting from the manufacturers website will be pasted into my Product Description.

    Taken that I have 4000 products, it is relatively time consuming to clean up all of the HTML every time I need to add a product.

    I only started having this problem once I started using h2 tags for my paragraph headings. Before, everything seemed to align.

    So I am guessing the problem is caused by the h2 tags (with the messy HTML) in this case?

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: CSS Issue with h2

    Copying and pasting directly from your MFG's web pages can introduce a RAFT OF PROBLEMS, ranging from CSS and design malfunctions, to invalid markup, to Google penalties...

    Try PASTING clipped stuff into a plain text editor FIRST, then copying it off that editor, then pasting it into TinyMCE.

    This will remove all the rouge formatting.
    20 years a Zencart User

  4. #4
    Join Date
    Sep 2011
    Posts
    226
    Plugin Contributions
    0

    Default Re: CSS Issue with h2

    Quote Originally Posted by schoolboy View Post
    Copying and pasting directly from your MFG's web pages can introduce a RAFT OF PROBLEMS, ranging from CSS and design malfunctions, to invalid markup, to Google penalties...

    Try PASTING clipped stuff into a plain text editor FIRST, then copying it off that editor, then pasting it into TinyMCE.

    This will remove all the rouge formatting.
    Some tables that I copy have over 80 rows.. I don't see how a text editor can help with that

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: CSS Issue with h2

    So I am guessing the problem is caused by the h2 tags (with the messy HTML) in this case?
    It has nothing to do with the h2 tags, but with the <td> elements that enclose them. You need a </td> after the end of each of them, before the next <td>. (You should probably also have <tr> and </tr> tags to delineate the table rows, but I don't want to get into analyzing the antiquated HTML markup.)

    If you copy through a plain text editor to strip all the unnecessary table formatting, then insert <p> and </p> tags around each paragraph and <h2> tags if you want them, you will not have to worry about table rows.
    And Google at least (not sure about other search engines) is beginning to factor the quality of the HTML markup into its page rankings. Lots of invalid HTML in your product descriptions as you have them will start to hurt you.

 

 

Similar Threads

  1. Layout issue / css problem with IE only. Can't find the issue!
    By linnx in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Apr 2011, 10:54 AM
  2. Need Help with CSS Issue
    By Globie in forum General Questions
    Replies: 3
    Last Post: 25 Nov 2008, 07:25 PM
  3. CSS issue with firefox3
    By jrod31 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Aug 2008, 06:23 AM
  4. CSS Issue with IE <UL> and <LI>
    By MCanes in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 May 2007, 02:25 AM
  5. CSS Issue with border
    By bradlawson in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jul 2006, 12:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg