• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

css positioning issue

Here's my page: http://parkhillvet.com/

I'm trying to position div#primary.aside main-aside (the green box in the upper left corner that says "Featured This Month") at the top of the browser window, floating above all the other elements on the page. I've given it absolute positioning with a high z-index but it won't budge.

Any help would be greatly appreciated.
0
PitaMaria
Asked:
PitaMaria
  • 2
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
That's because it is 'absolutely positioned' inside another div.  Put it before the 'wrapper' div so it is only contained by the 'body'.
0
 
PitaMariaAuthor Commented:
@DaveBaldwin: Always a pleasure to see you tackling my problems, sir. Thanks for your attention.

I'm creating a WordPress theme and was hoping to move that div with CSS versus moving its placement in the code. I was afraid that was impossible and you've confirmed it for me.

No worries. Since I posted the question I've discovered a different solution that's working for me. Thanks again.
0
 
Dave BaldwinFixer of ProblemsCommented:
Cool, glad to help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now