WordPress.org

Ready to get started?Download WordPress

Forums

$1 Million Dollar WordPress CSS Question (4 posts)

  1. SrebrenicaGenocide
    Member
    Posted 5 years ago #

    I would like two ads to appear before each article. I want to accomplish this in CSS, but I DO NOT know how to code 1 table with 2 collumns in CSS. This is what I tried:

    #AdBlockLeft {
    	float: left;
    	width: 328px;
    	}
    
    #AdBlockRight {
    	float: right;
    	width: 328px;
    	}

    The code above produces 2 ads, but they are not next to each other (they are not in one line horizontally), instead, they look as if somebody placed them in 1 table but two rows. You know what I am saying? Can you help me PLEASE?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    Try making them both "display: inline" as well. If that causes problems, try it with just one of them.

  3. drewactual
    Member
    Posted 5 years ago #

    float them both left, or just the second one right. where can I pick up my mil? :-)

  4. SrebrenicaGenocide
    Member
    Posted 5 years ago #

    Hey guys, it didn't work.
    I will leave only 1 ad, instead.
    But thank you for your support! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags