changes to stylesheet do not display

14 views
Skip to first unread message

zalel

unread,
Oct 4, 2012, 3:05:12 PM10/4/12
to css-d...@googlegroups.com
I have made a couple of small changes in a CSS stylesheet, but they do not display in any of the browsers, Chrome, Firefox or Safari. 

The text should be bold, 11-point, with a right padding of 10px. None of these attributes show. 

I don't see why. Can anyone offer a suggestion about what I am doing wrong? 

Thanks, 
Nicky 

.sidebar_right {
font-family:"Trebuchet MS", Verdana, Helvetica, "Helvetica Neue", Geneva, sans-serif;
font-size:11pt;
line-height:18pt;
font-weight:bold;
padding-left:10px;
padding-right:10px;
color: #6C3E30;
}

Benoit Rajalu

unread,
Oct 4, 2012, 3:09:22 PM10/4/12
to css-d...@googlegroups.com
Could you provide the html you're trying to format with this CSS?

Possible issues are:
- You are not targeting the right element. Is it a <p> inside that .sidebar_right? If so, target all .siderbar_right p{}.
- You have formatting for the text that comes later in your css and overrides this change. Use font-size:11pt !important; and same for the paddings. See how that works out. Again, targetting more precisely would be enough.
--
--
You received this because you are subscribed to the "Design the Web with CSS" at Google groups.
To post: css-d...@googlegroups.com
To unsubscribe: css-design-...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages