Sparky: Styling background and border of a row

  • janrijn
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 1 month ago - 11 years 1 month ago #34699 by janrijn
I would like to style a row that contains (Content) and a Module (Right)
I named the row mid_row with class name cont_mod
I would like to have a white background with a red border for this container

How can I style this with css?

This is the link to the test site

So far I haven't found the solution, I hope you can help me here.

If there is a solution to outline two rows it would even be better.
Last edit: 11 years 1 month ago by janrijn.

Please Log in to join the conversation.

More
11 years 1 month ago #34706 by ivan.milic
In template_css.css at bottom put:

.cont_mod > DIV{
background:white;
border:1px solid red;
}

Please Log in to join the conversation.

  • janrijn
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 1 month ago #34712 by janrijn
That is the solution, however the border shows up again under the styled row.

When I look at the style elements, the clr that comes after the row also has this styling now.

Do you know how to solve this?

Please Log in to join the conversation.

More
11 years 1 month ago #34722 by ivan.milic
Send link so we could see that

Please Log in to join the conversation.

  • janrijn
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 1 month ago #34746 by janrijn
Hi,

the link hasn't changed and is the same as in the initial post: zero.icre84u.nl
Thanks.

Please Log in to join the conversation.

More
11 years 1 month ago #34764 by ivan.milic
Use:

.cont_mod > DIV.container{
background:white;
border:1px solid red;
}

instead
The following user(s) said Thank You: janrijn

Please Log in to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum