Ok my problem is I have a wordpress site I would like a dotted border around each individual post. I have managed to get a border around all post but I would like it around individual post Below is the css and link to the site. If you can help me I would greatly appreciate it. http://www.inhomefix.com /* body { background: #ffffff url(images/blue.gif) top center repeat-x; color: #000000; font-size: 11px; font-family: Verdana, Helvetica, Arial, Sans-Serif; margin: 0px 0px 0px 0px; } a, a:visited{ color: #0066cc; text-decoration: none; } a:hover{ color: #000000; text-decoration: underline; } #container { width: 860px; text-align: left; margin: 0 auto; } #header { height: 69px; padding: 28px 0px 0px 0px; text-align: center; } #header h2 { color: #ffffff; font-size: 30px; font-family: Georgia, Times New Roman, Sans-Serif; font-weight: bold; text-transform: uppercase; margin: 0px; } #header h2 a { color: #ffffff; text-decoration: none; } #header h2 a:hover { color: #ffffff; text-decoration: underline; } #header h3 { color: #cccccc; font-size: 10px; font-family: Georgia, Times New Roman, Sans-Serif; font-weight: bold; text-transform: uppercase; text-indent: 10px; margin: 0px; } #menu { text-align: center; margin-bottom: 20px; } #menu h2 { font-family: Verdana, Helvetica, Arial, Sans-Serif; font-size: 12px; font-weight: bold; color: #cccccc; margin: 0px; padding: 0px 0px 0px 0px; } #menu li { display: inline; list-style-type: none; margin: 0px; padding: 0px; } #menu ul { margin: 0px; padding: 4px; } #menu ul li a { font-family: Verdana, Helvetica, Arial, Sans-Serif; font-size: 12px; font-weight: bold; color: #cccccc; padding: 0px 20px 0px 20px; margin: 0px; text-decoration: none; } #menu ul li a:hover { color: #cccccc; background: #000000; padding: 10px 10px 10px 20px; text-decoration: none; } #content { width: 560px; float: left; margin-top: 10px; margin-bottom: 20px; padding: 5px; border: dotted 1px; margin: 10px; } #content p{ margin: 0px; line-height: 18px; padding: 0px 0px 15px 0px; } #content p img{ border: none; margin-right: 5px; margin-bottom: 5px; padding: 1px; } #content p img a{ border: none; margin-right: 5px; margin-bottom: 5px; padding: 0px; } #content h1 { color: #0066cc; font-size: 16px; font-family: Verdana, Helvetica, Arial, Sans-Serif; margin: 0px; line-height: 150%; } #content h1 a { color: #0066cc; text-decoration: none; } #content h1 a:hover { color: #000000; text-decoration: underline; } #content h2 { color: #0066cc; font-size: 15px; font-family: Verdana, Helvetica, Arial, Sans-Serif; margin: 0px; line-height: 150%; } #content h2 a { color: #0066cc; text-decoration: none; } #content h2 a:hover { color: #000000; text-decoration: underline; } blockquote{ margin: 0px 0px 0px 25px; padding: 0px 25px 0px 10px; font-style: italic; color: #666666; border-left: 1px solid #cccccc; } #content blockquote p{ margin: 0px 0px 20px 0px; padding: 0px; } .postspace { background: #FFFFFF; width: 440px; height: 32px; margin: 0px; padding: 0px; } .postspace2 { background: #FFFFFF; width: 440px; height: 0px; margin: 0px; padding: 0px; } #sidebar { width: 220px; background: #ffffff url(images/side_background.gif) top center repeat-x; float: right; margin-top: 10px; margin-bottom: 20px; padding: 15px 15px 15px 15px; } #sidebar h2 { color: #333333; font-size: 15px; font-family: Verdana, Helvetica, Arial, Sans-Serif; font-weight: bold; list-style: none; padding: 0px 0px 5px 0px; margin: 10px; border-bottom: 1px dotted #0066cc; } #sidebar ul { list-style: none; margin: 0px; padding: 0px 0px 20px 0px; } #sidebar li { list-style: none; margin: 0px; padding: 0px; } #sidebar ul li { list-style: square inside; margin: 0px; padding: 5px 0px 0px 0px; } #sidebar ul li ul { padding: 0px; } #sidebar ul li a { color: #0066cc; text-decoration: none; } #sidebar ul li a:hover { color: #000000; text-decoration: underline; } #sidebar ul li ul li { color: #000000; padding: 5px 0px 0px 15px; } #sidebar ul li ul li a { color: #0066cc; } #footer { background: #2569ac url(images/blue.gif) top center repeat-x; color: #ffffff; text-align: center; padding: 15px; border-top: 10px solid #336699; clear: both; } #footer a { color: #ffffff; text-decoration: underline; } #footer a:hover{ color: #ffffff; text-decoration: none; } #main_start {position: absolute;left: -1000px;}; */
There's no wrapper for each post, so unless you want to use child selectors and do a hell of a lot of really unnecessary work with CSS, you can't. Find out how WordPress does it's templates and add a div wrapper with a class.