![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
baffled by this css, cant seem to get it
the css i am talking about is the source code post, im trying to get the right border to be solid, but cant figure out where to add it.
here is the example (first post) http://90mb.com and the css code Code:
.wp_syntax { margin-bottom:10px; overflow:auto; overflow-x:auto; overflow-y:hidden; width:100% !important; width:99%; background:#F7F7F7; padding-bottom:0 !important; padding-bottom:15px; border:1px solid #CCC; border-width:1px 0; } .comment .content .wp_syntax { margin-top:10px; } *+html .wp_syntax { padding-bottom:15px !important; } .wp_syntax div, .wp_syntax td { vertical-align:top; padding:2px 4px; } .wp_syntax .code { color:#333; } .wp_syntax pre { border:none; background:none; margin:0; padding:0; width:auto; float:none; clear:none; overflow:visible; font-size:12px; line-height:1.333; } .line_numbers pre { padding-left:10px; } .wp_syntax table, .post .content .wp_syntax table { border-collapse:collapse; background:#F7F7F7; border:none; margin:0; } .wp_syntax td, .post .content .wp_syntax td { border-top:none; padding:2px 4px; border:none; } .wp_syntax .line_numbers, .post .content .wp_syntax .line_numbers { text-align:right; color:#666; overflow:visible; background:#E3E4E6; border-right:1px solid #CCC; border-left:1px solid #CCC; }
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Monger Cash
Industry Role:
Join Date: Jul 2010
Posts: 2,773
|
I didn't clean it all up, but try this and see what you get...
Code:
.wp_syntax { margin-bottom:10px; /*overflow:auto; overflow-x:auto; overflow-y:hidden;*/ /*width:100% !important; width:99%;*/ width: 600px; background:#F7F7F7; padding-bottom:0 !important; padding-bottom:15px; border:1px solid #CCC; /*border-width:1px 0;*/ } .comment .content .wp_syntax { margin-top:10px; } *+html .wp_syntax { padding-bottom:15px !important; } .wp_syntax div, .wp_syntax td { vertical-align:top; padding:2px 4px; } .wp_syntax .code { color:#333; } .wp_syntax pre { border:none; background:none; margin:0; padding:0; /*width:auto; float:none; clear:none; overflow:visible;*/ font-size:12px; line-height:1.333; } .line_numbers pre { padding-left:10px; } .wp_syntax table, .post .content .wp_syntax table { border-collapse:collapse; background:#F7F7F7; border:none; margin:0; } .wp_syntax td, .post .content .wp_syntax td { /*border-top:none;*/ padding:2px 4px; /*border:none;*/ } .wp_syntax .line_numbers, .post .content .wp_syntax .line_numbers { text-align:right; color:#666; overflow:visible; background:#E3E4E6; /*border-right:1px solid #CCC; border-left:1px solid #CCC;*/ } Hit me up on ICQ if you want.. I'm invis but online. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Carpe Visio
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,061
|
It looks like you just need to update div class=wp_syntax.
In .wp_syntax, you have border-width: 1px 0; This shorthand css means top and bottom borders will have a width of 1 px, and left/right have zero. Try changing this line to: border-width: 1px 1px 1px 0; |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Monger Cash
Industry Role:
Join Date: Jul 2010
Posts: 2,773
|
I'd considered that.. but then he tries to add the left & right borders further down in the css.. he should just border the whole wp_syntax div itself, then adjust the inner contents from there ><
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed Fetishist
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,526
|
btw, on that site, how do you get those "hot posts" ?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed Fetishist
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,526
|
well, how do you that?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
using post views plugin then just call it via widget or template tag
<?php get_most_viewed('post',5);?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
pussy lips
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Industry Role:
Join Date: Dec 2007
Location: Las Vegas
Posts: 3,220
|
I have been looking to take a night class to really learn css I wish there was a good non-online non adobe option
__________________
Network Of Adult Blogs With Hardlink Rentals Available |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed Fetishist
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,526
|
thank you!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Industry Role:
Join Date: Feb 2011
Location: La Isla Bonita Power Level: ❤❤❤❤❤❤❤❤❤❤
Posts: 886
|
Quote:
Is she the one from your sig? If so then I might be interested with her suggestions too... I have lotsa CSS/HTML work to be done. Can you give me her number? I would like to take a look at her pricing. ![]()
__________________
![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |