Page 1 of 1

Stuck with what MUST be simple code:

Posted: Mon Apr 04, 2011 2:07 am
by fgatlin
Hello All,
I have a problem I cannot seem to solve. I have been at this code all day, and now I am stuck.

I have 3 lines of code:

Code: Select all


<?php wp_register();?>
<?php wp_loginout();?>
<?php wp_meta(); ?>
They print out reading top to bottom, but I would like to have them read side by side. Obviously, this is a Wordpress code. I am creating a Meta menu without using the widget placement, as I want to display it elsewhere on the page.

Thanks.

Re: Stuck with what MUST be simple code:

Posted: Mon Apr 04, 2011 2:18 am
by deejay
Hi

Sorry, I'm not sure if I understand the question properly. Is it the out put to your webpage your trying to get these functions to read side to side. If so could we have a look at a link or a screen shot for what you have so far.

Thanks

Re: Stuck with what MUST be simple code:

Posted: Mon Apr 04, 2011 2:27 am
by fgatlin
Thank you for your reply.
Yes, I am trying to have it read side by side instead of in a list. Here is a screen shot...
The Site Admin and Logout are what I would like to display side by side.
Image

Re: Stuck with what MUST be simple code:

Posted: Mon Apr 04, 2011 11:23 am
by greyhoundcode
Not so much a PHP or even a WordPress coding issue but a CSS one.

You could wrap things up in an unordered list and set display: inline or you could use some other technique, like wrapping each element in a div and floating them. Take a look at this for some ideas.