Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2009, 11:41 PM
Deadly Stream Deadly Stream is offline
 
Join Date: Feb 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default CSS Width

First off, I do apologise for the crude title, I'm not exactly sure how to explain this.

I've been editing postbit.css so that the Signature area is the same colour as the User Info area. For the most part I have it sorted but for some reason the area won't stretch all the way across the bottom of the post, at the right side it's level but there's a gap at the left.

This image will show you what I mean

This is the css code I have at the moment;

Code:
.signature {
        align: center;
        display: block;
	background: {vb:stylevar postbit_userinfo_background};
	_background-image: none;
	clear:both;
	height: auto !important;
	border-bottom:{vb:stylevar postbit_border};
	border-top:{vb:stylevar postbit_border};
        padding-top:10px;
        padding-bottom:10px;
        padding-right:5px;
        padding-left:5px;
	width: 100%;
	float: {vb:stylevar left};
}
I've tried a few different things and nothing I've done has got it, it either hasn't changed or it's made it worse.

If anyone has any ideas I'd be grateful, me and css aren't exactly the best of friends.

--Stream
Reply With Quote
  #2  
Old 12-31-2009, 12:23 AM
BSMedia BSMedia is offline
 
Join Date: Feb 2009
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove the padding-left and padding-right


add !important after width: 100%

Code:
width: 100% !important;
Reply With Quote
  #3  
Old 12-31-2009, 08:18 AM
Deadly Stream Deadly Stream is offline
 
Join Date: Feb 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately that didn't work.

Adding the !important didn't seem to make any difference and removing the right and left padding made it worse, there was a bigger gap at the left and then a gap at the right too.
Reply With Quote
  #4  
Old 01-04-2010, 08:08 PM
Deadly Stream Deadly Stream is offline
 
Join Date: Feb 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't suppose anyone has any ideas on this? It's really bugging me now, to me it does still look better than the default signature in the postbit and I could like with it but it would be nice if it could stretch all the way across.

--Stream
Reply With Quote
  #5  
Old 01-04-2010, 08:30 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Image link is dead, can you post it again.
Reply With Quote
  #6  
Old 01-05-2010, 05:39 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe attach the image to the thread
Reply With Quote
  #7  
Old 01-05-2010, 04:23 PM
Deadly Stream Deadly Stream is offline
 
Join Date: Feb 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, I've attached the image to this post.
Attached Images
File Type: jpg image.jpg (99.6 KB, 0 views)
Reply With Quote
  #8  
Old 01-05-2010, 04:55 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deadly Stream View Post
Sorry guys, I've attached the image to this post.
That's likely because the parent element (the div or table div that contains the signature block) has padding on the left to prevent padding from going all the way to the left side. Notice how the signature block is the exact distance away from the left line as the text in the post above it? And you likely don't want to remove that padding, otherwise your post text will be flat against the left line. The only way I see around that, would require a complex template edit.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04167 seconds
  • Memory Usage 2,246KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete