Good day there, all the best for 2012.
http://shinymanstudio.co.za/projects/COT/ on this project I am having a problem trying to style text.
In the main text content block the text is styled fine, however duplicating this for the other text boxes is problematic.
placing this;
Breaks the layout, I tried putting in a selector for sidebar but this also seems to be incorrect.
Surely "p" should be global and should not break the layout when placing a "p" in the other text boxes.
If anyone could give me some insight into the problem it would be greatly appreciated.
-Thank-you
http://shinymanstudio.co.za/projects/COT/ on this project I am having a problem trying to style text.
In the main text content block the text is styled fine, however duplicating this for the other text boxes is problematic.
placing this;
<div id="sidebar">
<div class="sidebar-news"><p>testing</p></div>
p {
font-family: 'Lucida Grande', Helvetica, Arial, san-serif;
font-size: 15px;
color: #000;
padding: 5px 20px;
}
Breaks the layout, I tried putting in a selector for sidebar but this also seems to be incorrect.
Surely "p" should be global and should not break the layout when placing a "p" in the other text boxes.
If anyone could give me some insight into the problem it would be greatly appreciated.
-Thank-you



