Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Need some help with forum CSS styling
Old 07-01-2012, 04:46 PM Need some help with forum CSS styling
abrodski's Avatar
Novice Talker

Posts: 10
Name: Al
Trades: 0
Hello guys!

I'm currently setting up my forum and I want to change some defaults.
I have SMF 2.0.2
The problem is that by default it doesn't have a post separator. But there's a mod to change that. Basically it modifies 2 files: Display.template.php and index.css
My question is about the latter one. It adds this at the end of the file:

.seperate {
/* border: 5px solid #fff; thickness and color of box outline*/
margin: 7px auto; /*to push the gap between the posts*/
}


I do get the white spacing between the posts, BUT what I had in mind was something that goes a little beyond that. I attached a file that shows how I would like it to look like more or less. The color of the border could be solid one, that's not so critical to me.
When I tried to uncomment the 2nd line, what happened is that I got a border around the post and everywhere (ie. top, bottom, right and left) was the same. Same thickness that is...
Anyway, if anybody knows what to do please let me know!
Attached Images
File Type: jpg forum-css copy small.jpg (51.1 KB, 2 views)
abrodski is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-01-2012, 06:08 PM Re: Need some help with forum CSS styling
chrishirst's Avatar
Defies a Status

Posts: 43,959
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You left the * in front of border.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-01-2012, 11:25 PM Re: Need some help with forum CSS styling
abrodski's Avatar
Novice Talker

Posts: 10
Name: Al
Trades: 0
It's OK now...just have to add a commenting sign. Didn't pay attention to that before...

.seperate {
border-top: 25px solid #3a5284; /*thickness and color of box outline*/
border-left: 1px solid #3a5284;
border-right: 1px solid #3a5284;
border-bottom: 1px solid #3a5284;

margin: 7px auto; /*to push the gap between the posts*/
}

It works like swiss clock now
abrodski is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need some help with forum CSS styling
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16120 seconds with 12 queries