1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Alternatives to HTML table code when usingWP?

Discussion in 'BlackHat Lounge' started by dgfalk, May 12, 2011.

  1. dgfalk

    dgfalk Power Member

    Joined:
    Apr 26, 2010
    Messages:
    687
    Likes Received:
    94
    Im making a page using wordpress thats gonna be a huge list (probably 200+) of items. What I want is a small thumbnail picture on the left, and a text link to the right and centered by the picture.

    I was tryin to use basic HTML <table> codes but its not quite working, I can only get the text to be aligned with the bottom of the picture. Also its been a long time since Ive used basic html but it seems likes its a bit "outdated" I want this page to load as fast as possible, what are my options here?
     
  2. llewopsnimajneb

    llewopsnimajneb Regular Member

    Joined:
    Jan 10, 2011
    Messages:
    242
    Likes Received:
    139
    Occupation:
    SEO, Affiliate marketer, Online marketing lecturer
    Location:
    Backwardstown
    Try making the product listings posts and post them to a category, you should be able to get a image to the left and text to the right...

    You may need to hack a little bit of .PHP but it shouldn't be too difficult.
     
  3. Maxi1

    Maxi1 Newbie

    Joined:
    Feb 8, 2011
    Messages:
    22
    Likes Received:
    11
    I like the plugin "Easy Columns". After it is installed you get a button in the visual editor - it allows you to create different types of multiple columns (1/4, 1/2, 3/4, 1/3, 2/3).
    For separating a page in two columns and writing in the first column the code it would generate looks like this:
    [wpcol_1half id="" class="" style=""]Half Column Text Here[/wpcol_1half]
     
  4. dgfalk

    dgfalk Power Member

    Joined:
    Apr 26, 2010
    Messages:
    687
    Likes Received:
    94
    Thanks ill give it a try. By looking at it though it looks like it will be hard to align everything in the left column with the content on the right side.
     
  5. dgfalk

    dgfalk Power Member

    Joined:
    Apr 26, 2010
    Messages:
    687
    Likes Received:
    94
    I tried easy columns, didnt like it and its not working for me. any other suggestions?
     
  6. breakpoint

    breakpoint Registered Member

    Joined:
    Dec 2, 2007
    Messages:
    65
    Likes Received:
    8
    Try learning CSS with HTML and use divs with float and text-align attibutes, or spans.

    Search google for help.

    CSS is the best way to outdue tables