This forum is for assistance with theme development.

Arcmateria sidebar -> individual blocks (FF/IE) Grrrrr

So I'm modyfing the arcmateria theme and I'm having a problem with the sidebar.

The whole menu is created in the "div id=Sidebar"
I can put a background image into it or something but that's not what I'd like.

Beeing a css beginner I starrted playing with the theme to try to obtain what I'd like.

The first thing I did is open block.tpl.php and see how the blocks are made.
title is only a h2 text and the content is "div class=content" wich belongs to Sidebar.

#Sidebar .content {
background blabla
{

did not give the expected results. it was shifted to the right and margin-left:-20px did not help.

Second thing I did was create 2 new div ID's. BlockTop and BlockDown
I positioned them in block.tpl.php above/below the block code and in the css file gave the appropriate background to each class.
Margin-left:-20px to align the thing with SideBar and it was working almost pefectly.

1) It was screwed up in IE.
No idea why but most of the time I use margin-left, it does not work with IE, so I have to use padding-left.
And now after I used padding-left, It was aligned fine in IE, but was shifted to the left in firefox.

2) IE does not seem to take 1px high divs...

3) those BlockTop and BlockBottom divs also appear in the middle content section.
How would I filter whem in block.tpl.php to only appear on the sidebar?

Anyone please give me some hints/ideas

css styling primary links

I need help with my primary links tabs. Things are really coming together since my posts last night and I'd like to even be able to boast that I've taken this live soon. My button_normal.png and button_over.png are showing up fine, but I can't get the button_current.png to show up. I've tried putting the css id=current everywhere in the following code, but nothing works. Thanks in advance for any and all assistance. I know it will help. I have this code in the page.tpl.php:

kubrick doesn't work in IE

I found the theme kubrick isn't work properly at IE browser. The Right Sidebar was shifted to downside. Do you know how to fix it? and the Font also look incorrect.

Thanks

Yet another beginner: line spacing question

I am sorry if this goes to the wrong forum. I am new and still trying to figure out Drupal (and CSS too, unfortunately). For that, I am putting together a kind of alumni site using a contributed theme, Andreas03, which is pretty much in its beginnings: www.canarinhosbest.org (That's Portuguese, in case you're wondering).

Now, my question: why isn't there any line spacing between paragraphs, even though the CSS file specifies a bottom margin for the p element? How do I get some line spacing there?

IE7 display fix

I just installed IE7 final last night, and had to fix a bunch of sites so they display correctly in IE7...

The one fix that solved the majority of display issues is applying a "min-height:" to the divs that are giving you problems...

e.g.

#content { min-height: 200px; }

so yeah, IE7 understands 'min-height' ... and the "holy hack" .clearfix doesn't seem to be breaking anything in IE7... yet....

Node Path disappears when logged out

Hi,
I noticed that $node->path disappears when I logged out as an administrator.
Is there any way to display it? Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development