to the right!
-
How do you align calendars? I’ve been trying several ways, but I can’t get it to align to the right… unless it’s on Internet Explorer, but I would like it to look decent in other browsers too.
My calendar’s in my sidebar, and I have it like this:
<div id="calendar"> <h3><?php _e('Calendar'); ?></h3> <?php get_calendar(); ?></div>
and the closest combination in my stylesheet is like this:#calendar {float:right'}
Of course, my calendar would be aligned to the right, but I don’t want things that were supposed to be below it (categories, archives, etc) to float around it (on the calendar’s left and under the calendar’s right).My sidebar is inside a div tag “nav,” and the properties for nav is
#nav {position:absolute; left:11px; top:735px; width:248px; padding:2px; z-index:1; background-color:transparent; overflow:visible; text-align:right;}
Everything else but the calendar aligns to the right, including the heading “Calendar”.I also surrounded the
<?php get_calendar(); ?>
with a div tag and had the text align to the right in my stylesheet, but that didn’t work… and did the same with a paragraph tag…
- The topic ‘to the right!’ is closed to new replies.