DrupalBin
Submit Code
About
Recent Posts
TwitterFeed for D4D review
text
rewrite
Module to overrule the save settings of the "new node" form
Code
apidoc
Empty DateTime Object
Fix for listcars_manufacturer.module
listcars_manufacturer.info
listcars_manufacturer.module
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
test
theme
user
views
more tags
Home
css
CSS Code
June 17, 2010 - 1:38pm — Anonymous
Here some CSS code:
h1
{
font-size: 2em;
line-height: 1.3em;
margin-top:
0
;
margin-bottom: 0.5em;
/* 0.5em is equavalent to 1em in the page's base font.
Remember, a m
css
Read more
three block horizontal layout
June 7, 2010 - 11:18pm — Anonymous
#footer-blocks{
margin:
0
;
background-color:
#667439}
#footer-blocks-inner{
padding:1em 2
%
;
}
#footer-blocks .block{
height:300px;
overflow:auto;
border:1px solid
#d0d5d9}
css
Read more
Fix for Different body class for each page
March 21, 2010 - 9:42am — Anonymous
/* In template.php: */
function YOURTHEME_preprocess_page(&$vars) {
$vars['body_bg_class'] = arg(0);
}
/* In page.tpl.php */
<body class="
<?php
print
$body_bg_class
;
?>
">
css
template.php
theming
Different body class for each page
March 21, 2010 - 9:32am — Anonymous
/* In template.php: */
function YOURTHEME_preprocess_page(&$vars) {
$vars['body_bg_class'] = arg(0);
}
/* In page.tpl.php */
<body class="
<?php
print
$body_bg_class
;
?>
">
css
template.php
theming
drupal_add_css not adding css
June 23, 2009 - 12:21pm — Anonymous
function
apb_zen_preprocess_page
(
&
$vars
,
$hook
)
{
if
(
drupal_is_front_page
(
)
)
{
drupal_add_js
(
path_to_theme
(
)
.
css
dougvann
drupal_add_css
Read more
RGBa PNG generator
March 17, 2009 - 10:22am —
bangpound
<?php
// $Id$
/**
* @file rgbapng.module
* @desc This module provides callbacks that generate transparent PNG for CSS backgrounds.
*
* DEPENDENCIES imageapi, imageapi_gd
background
css
rgba
theme
Read more
image_gallery.css
March 12, 2009 - 4:24am — Anonymous
ul.galleries
{
list-style-type : none;
margin :
0
;
padding :
0
;
}
ul.galleries li
{
position : relative;
background :
#eeeeee;
border : 1px
#cccccc solid;
margin : 1em
0
;
css
Read more
float these radios next to each other (please)
February 4, 2009 - 10:49pm — Anonymous
<
div
id
=
"edit-notify-wrapper"
class
=
"form-item"
>
<
/
div
>
<
div
class
=
"form-radios"
>
<
div
id
=
"edit-notify-type-1-wrapper"
class
=
"form-item"
>
<
label
class
=
"option"
>
css
Read more
Fix for chipt4's views block problem
December 17, 2008 - 10:08am — Anonymous
This is the HTML generated by Views [1.x-dev on D5] for my block:
<
div
id
=
"block-views-newreleases"
class
=
"block block-views region-even odd region-count-2 count-5 collapsiblock-processed"
>
css
ff3
views
Read more
chipt4's views block problem
December 17, 2008 - 10:03am — Anonymous
This is the HTML generated by Views [1.x-dev on D5] for my block:
<
div
id
=
"block-views-newreleases"
class
=
"block block-views region-even odd region-count-2 count-5 collapsiblock-processed"
>
css
ff3
views
Read more
1
2
3
next ›
last »