announcements displayed next to each other(horizontally) in a block
lavanyashastri - October 9, 2008 - 15:31
| Project: | Announcements |
| Version: | 5.x-1.2 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
I want to get the announcements block in my header to look something like this:
Title1 Abstract1 Title2 Abstract2 Title3 Abstract3
the divs need to be next to each other.
managed to get one title-abstract pair next to each other
but when i want more than one announcement to be displayed in a block
i get something like:
Title1 Abstract1
Title2 Abstract2
Title3 Abstract3
i just started learning css so i really dont know how to go about doing this.
if anyone's got some tips i'd really appreciate it.
thanks

#1
It looks like I need to add a wrapper around each announcement so that you can do this.
#2
Okay. I've committed this change, hopefully in time to get tonight's -dev version roll-up.
Once you've downloaded the new version, you can add something like this to your CSS:
#block-announcements-0 .announcements {width: 33%;
float: left;
border: 1px dotted #880000;
margin-right: 2px;
}
You can find the correct block name in the HTML output.
BTW, there is also an even/odd class if you want to do zebra striping.
--project followup subject--
Automatically closed -- issue fixed for two weeks with no activity.
#3
Automatically closed -- issue fixed for two weeks with no activity.
#4