[support] Css and drupal question

Rohan Smith rohanasmith at gmail.com
Wed Sep 5 11:02:44 UTC 2012


I dont really know, I do a lot of CSS trial and error :-P

Regards,

--
R.A.Smith

Kindly acknowledge receipt



On Wed, Sep 5, 2012 at 12:39 AM, Anthony <tony at tony-mac.com> wrote:

> OK I tried it Rohan and it actually worked.
> Thanks a million.
> But why? Why is the float decisive?
>
> On Tue, Sep 4, 2012 at 9:33 PM, Rohan Smith <rohanasmith at gmail.com> wrote:
>
>> make these changes:
>>
>>  #region-header-second {
>>
>>    1. border-right: 1px solid black;
>>    2. background:url(
>>    ../../../../../images/general/black_border_1_pix_wide.jpg<http://www.polam.org/images/general/black_border_1_pix_wide.jpg>)
>>    repeat-y;
>>
>> }
>>
>> #block-search-form {
>>
>>    1. width: 100%;
>>    2. float: right;
>>    3. margin-right: 2%;
>>    4. height: 28px;
>>
>> }
>>
>>
>> Regards,
>>
>> --
>> R.A.Smith
>>
>> Kindly acknowledge receipt
>>
>>
>>
>> On Tue, Sep 4, 2012 at 6:53 PM, Anthony <tony at tony-mac.com> wrote:
>>
>>> Dear All,
>>>
>>> I want to have a small drupal region (second header) framed vertically
>>> with a 1 pixel black border. I have a background image of 1 pixel width for
>>> the left and a border for the right
>>>
>>>  background:
>>> url("../../../../../images/general/black_border_1_pix_wide.jpg") repeat-y
>>> scroll 0 0 transparent;
>>>     border-right: 1px solid #000000;
>>> but as you can see (next to the search box) the border is offset 1 pix
>>> by the background image.
>>> Is there something in the syntax of border that allows me to pull it 1
>>> px. (I know I should look this up but maybe you have some other tricks I
>>> can use).
>>> I am using the omega theme with a grid so I might investigate the
>>> placement thru the grid.
>>> www.polam.org
>>>
>>> Driving me nuts!!
>>>
>>> How to solve?
>>>
>>> Muchas Gracias,
>>> Tony
>>>
>>> --
>>>
>>> *Anthony Stefan Maciejowski*
>>>
>>>
>>>
>>>
>>> --
>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>
>>
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>
>
>
> --
>
> *Anthony Stefan Maciejowski*
>
>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120905/d5cdb53c/attachment.html 


More information about the support mailing list