Forum Moderators: not2easy

Message Too Old, No Replies

Drupal CSS Tabs in "primary links"

Primary links template modding with only CSS

         

Casethejoint

2:03 pm on Jan 20, 2006 (gmt 0)

10+ Year Member



Hola -- Anyone had success in creating cross-browser working simple tabs (ie. just with CSS, not using "sliding doors" or making image calls) in the "primary links" div of Drupal, without having to mod the template?

SuzyUK

11:55 am on Jan 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes..

if you still have the default drupal.css being called you need to explicitly override some (or all might be better) the defaults for the primary tabs ul and li elements.

you should not need to modify any template files once the default CSS is neutralised you can style the list as you like

but if you like it is not hard to mod the template just paste the entire primary links list into the header template file and then absolutely position it

Suzy

Casethejoint

12:49 pm on Jan 22, 2006 (gmt 0)

10+ Year Member



Thanks for the reply, SuzyUK -- I've just been working with /style.css but will now dig further into /drupal.css. Doubtless I'll be back if IE continues not to like my style :)