Something obvious I’m missing – CSS
-
The images in my sidebar are all hyperlinked and correctly positioned, however I have now added a hyperlinked image in my “sideblog” and regardless of how I try to position it, it is fixed to the right edge. I tried adding some CSS and it messed up all the other images in the sidebar.
Here’s the CSS:
/* Left Sidebar */#left {
width: 179px;
float:left;
margin: 0;
padding: 0;
overflow: hidden;
}#left h2 {
color: #fff;
background: #6A829E;
font-family: verdana, “Microsoft Sans Serif”, Times, serif;
font-size: 8pt;
padding: 3px 6px;
margin: 0px;
margin: 0 0 10px 0;
border-bottom: 1px solid #fff;
}#left p {margin:0 6px 0 12px; padding: 0;}
#left a {color: #6A829E; text-decoration: none; margin: 0; padding: 0; line-height: 14pt;}
#left a:hover {color: #333; text-decoration: underline;}#left ul{
list-style-type:none;
margin:0 0 12px 0;
padding:0;
}#left ul li{
list-style-type:none;
margin:0 0 0 12px;
padding:0;
}#left ul ul{
margin:0;
padding:0;
}#left ul ul li{
/* list-style-type:square;
list-style-position: outside; */
margin:0 0 0 12px;
padding:0;
color: #6A829E;
}
Thanks!
The topic ‘Something obvious I’m missing – CSS’ is closed to new replies.