|
#1
|
|||
|
|||
|
Just looking how to add a <HR> code or something similar to my comments script to separate comments for my images, as right now they've got no separation between them. That and maybe change the bullet style beside them?
|
|
#2
|
||||
|
||||
|
The answer is CSS. You can add lines to the items, remove the bullets, do almost anything.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#3
|
|||
|
|||
|
I looked all over it. Where do I add that? I'm using the base of the 'simple' template included with the install. I edited it the way I like it, but just wondering where to add these to.
This is my css for comments: #comment-top { background:#333; border-bottom:1px solid #aaa; padding:5px; margin-bottom:25px; height:15px; } #comments { width:95%; text-align:left; page-break-after: always; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; border: thin solid #666666; } #comments ul { list-style-type:none; margin:0px; padding:10px; } #comments li { display:block; margin:0px; margin-bottom:10px; color:#eee; text-decoration:none; padding:10px; border:1px solid #aaa; page-break-after: always; } |
|
#4
|
||||
|
||||
|
list-style-type:none; should supress any bullet style in your list of comments.
To insert a line at the bottom of each comment you can use border-bottom:1px solid #aaa; instead of border:1px solid #aaa; in #comments li { or add border-bottom:2px solid #aaa; after border:1px solid #aaa; to enforce the bottom border |
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
are you sure you edit the right css file?
Perhaps you have a link yo we can see |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
you have to apply the style definitions to the <ul> and <li> tag, not to the <span>
Please repair your HTML code before, you even have no <head>... http://validator.w3.org/check?uri=ht...hp?showimage=5 |
| Post Reply |
| Thread Tools | |
|
|