2

CSS View Please Help

http://drupal.org

I am trying to get two images to display horizontal in a block. Currently they are displaying verticaly. The images are inserted into a CCK field using filefield/imagefield.

Here is the information about the field from the Theme Information in Views:

Field Content: Image (field_image) (ID: field_image_fid): views-view-field.tpl.php, views-view-field--field-image-fid.tpl.php, views-view-field--Portfolio.tpl.php, views-view-field--Portfolio--field-image-fid.tpl.php, views-view-field--block.tpl.php, views-view-field--block--field-image-fid.tpl.php, views-view-field--Portfolio--block.tpl.php, views-view-field--Portfolio--block--field-image-fid.tpl.php, views-view-field--block-1.tpl.php, views-view-field--block-1--field-image-fid.tpl.php, views-view-field--Portfolio--block-1.tpl.php, views-view-field--Portfolio--block-1--field-image-fid.tpl.php

Here is the CSS I am trying using in views.css

div.view-Portfolio div.views-field-image-fid {
display: inline;
padding: 3px;
background-color: #eeeeee;
border: 1px solid #eeeeee;
float: left;
margin: 5px;
text-align: left;
}

What am I doing wrong? Or should this code go somewhere else? I am barely beginning to understand CSS so please explain it as if I knew nothing. Thanks for your help.

Read »
Created by aaron 2 years 9 weeks ago
Category: News   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Recent comments