I'm trying to walk the walk and not just talk the talk. ;-)

This just means I am wrestling with a phptemplate theme to make some adjustments to primary link tabs. I don't want them to float around, over, under, round, and through other header and page elements. So I thought I'd start with getting them to align/float left instead of right the way they do now. Figuring that if they'd stay up against the left margin I could control what was to the left of them and the tabs wouldn't 'crawl' all over elements to the left of them when the page was expanded.

I started with the spreadfirefox theme, made a number of minor adjustments in the style.css, but I can't find where to get set the primary link tabs from floating right. Would someone be able to point me to the right code to make them align or float left. Any help appreciated. GZ

Comments

gatezone’s picture

This post was the closest I found but the code doesn't match up and when I tried it with similar code it didn't change the primary link tabs:

http://drupal.org/node/19006

laura s’s picture

View source and find the div tags, if any, for the block. Then float: left the block. If you set the block's width, then you won't get funny wraps willy nilly.

The tags are different with every theme, for the most part.

You also might look at where your menus are in your page.tpl.php and play with that. You have a lot of control that way.

.:| Laura • pingV |:.

_____ ____ ___ __ _ _
Laura Scott :: design » blog » tweet

gatezone’s picture

Thanks, I'll check the clues you provide!