I need to change content on my employer's website, but need to do it without the content being changed by the styles. I've done several searches online and attempted quite a few procedures I've seen posted on various sites, but none have worked. The styles for the top left sidebar create the arrow image next to all links. I need to add content to this sidebar only without the addition of the arrow.
Here is the code for the sidebar:
Code:
<div class="sidebar">
<div class="sidebaritem">
<!-- rounded corners - top **** -->
<div class="rtop"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
<h1>useful information</h1>
<!-- **** INSERT NEWS ITEMS HERE **** -->
<h2>July 2008</h2>
<p>This is where you find our latest news.</p>
<p><a href="news.html">read more ...</a></p>
<p></p>
<h2>June 2008</h2>
<p>This is where you can find earlier announcements.</p>
<p><a href="news2.html">read more ...</a></p>
<!-- rounded corners - bottom **** -->
<div class="rbottom"><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1"></div></div>
</div>
Here is the code for the styles:
Code:
/* sidebars */
.sidebar
{ float: left;
width: 194px;
padding: 16px 15px 15px 15px;
}
/* sidebar items / links */
.sidebaritem
{ text-align: left;
width: 194px;
float: left;
margin: 0px 0px 11px 0px;
padding: 0px 0px 0px 0px;
}
.sidebaritem h1, .sidebaritem h2, .sidebaritem p{margin: 0px 10px 0px 10px}
.sidebaritem h1
{ font-weight: normal; padding: 8px 0px 16px 0px;
text-transform: uppercase;
}
.sidebaritem p
{ line-height: 16px;
padding: 0px 0px 8px 0px;
}
.sidebaritem a, .sidebaritem a:hover
{ padding: 0px 0px 2px 14px;
text-decoration: none;
}
.sbilinks ul{margin: 0px 0px 18px 10px;}
.sbilinks li
{ list-style: none;
padding: 0px 0px 0px 0px;
margin: 0px 0px 5px 0px;
}
.sbilinks li a, .sbilinks li a:hover
{ height: 16px;
text-decoration: none;
width: 149px;
}
And the code for the styles color:
Code:
.sidebaritem
{ background: #E1E5D5;
color: #555;
}
.sbilinks li a, .sidebaritem a
{ background: transparent url(arrow.png) no-repeat left center;
color: #555;
}
.sbilinks li a:hover, .sidebaritem a:hover
{ background: transparent url(arrow_select.png) no-repeat left center;
color: #555;
}
I'm embedding a weather module in place of the internal news links, and possibly a local news feed if it will look good. Needless to say, I don't want the arrow images to be added to the links for the module and the feed. I've tried several different ways, but each time the arrows get added.
Any suggestions?
|