picture size in em - update 2

buntstich - July 24, 2008 - 19:24
Project:Header image
Version:5.x-1.1
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi, thanks a lot for these great module. The modul works fine and i place the block in the header region. But i like to define the Header image in "em" to scale it in the browser like types. I try this...

  <div id="header_img"><?php print $header ?></div> 

in page.tlp.php and in the css..

#header_img, img {
   height: 3.13em;
   width: 18.75em;
   display: block;
}

This is the only way i find, because now all images (e.g. logo) have this scale.

Sorry for my level in english. I hope you understand and maybe you have an answer.

best regards

buntstich

#1

buntstich - July 25, 2008 - 11:02
Title:picture size in em» picture size in em - update

I try header image with a node,

In the textarea i use this code:

<img style="height: 3.13em; width: 18.75em; display: block;"img src="/sites/files/u1/box-rot.jpg" width="300" height="50" />

In node view it work fine, but header image convert it in a field_item.

buntstich

#2

buntstich - July 25, 2008 - 11:13
Title:picture size in em - update» picture size in em - update 2

Sorry, the node workflow work fine in Garland, its only a theme problem.

buntstich

#3

Sutharsan - July 25, 2008 - 13:23
Assigned to:buntstich» Anonymous
Status:active» fixed

#4

Anonymous (not verified) - August 8, 2008 - 13:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.