Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 08-08-2007, 11:54 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How Do I Do a 50% <br>

Im tring to line something up perfect ....

2 <br> 's is too short and 3 <br>'s is too long how can i do a Half <br>

<dm>
Reply With Quote
  #2  
Old 08-09-2007, 03:34 AM
Zate Zate is offline
 
Join Date: Apr 2003
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

use div tags and some CSS on the 2 elements your trying to line up.. or use a spacer.gif that is transparent.
Reply With Quote
  #3  
Old 08-09-2007, 04:24 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wish i knew what you just said ...

Thanks Anyway
Reply With Quote
  #4  
Old 08-09-2007, 05:11 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
I wish i knew what you just said ...

Thanks Anyway
lol

maybe check out www.w3schools.com
Reply With Quote
  #5  
Old 08-09-2007, 09:00 AM
StrifeX StrifeX is offline
 
Join Date: Dec 2006
Location: New York
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<div style="margin-bottom:5px"></div> - Use margins instead of line breaks. Also, if you need, sometimes FF and IE parse codes differently... I could give you an <if> condition that allows you to make different margins in each browser (PM me if interested.)
Reply With Quote
  #6  
Old 08-09-2007, 09:30 AM
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Location: UK
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For a half a BR just do this:

Code:
<br style="line-height:0.5">
No big long complicated solution.
Reply With Quote
  #7  
Old 08-09-2007, 11:26 AM
StrifeX StrifeX is offline
 
Join Date: Dec 2006
Location: New York
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure <br> has a style attribute (that's valid XHTML?)

And don't forget the closing: <br style="line-height:0.5" />
Reply With Quote
  #8  
Old 08-09-2007, 11:34 AM
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Location: UK
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, forgot about the pesky /

As far as I know its valid XHTML
Reply With Quote
  #9  
Old 08-09-2007, 12:11 PM
nexialys
Guest
 
Posts: n/a
Default

you can use the "official" paragraph structural:

<p>your paragraph</p>

it will give a <br > and a half to all your content...

and yes, BR and P and other content wrappers can have style.
Reply With Quote
  #10  
Old 08-09-2007, 03:33 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So i Need To Put

HTML Code:
<br style="line-height:0.5">
<br style="line-height:0.5"/>
Just like that to achieve a 50% <br>

HTML Code:
<table class="tborder" width="100%" border="0" cellspacing="1" cellpadding="6">
<tr>	
<td width="100%" align="center" class="tcat">Welcome to Bomb Bay</td>
</tr>
<tr>
<td align="center" class="alt1" 
<br>
The Diesel Bombers Auction House Using vbay technologies
<br>
<br>
Must Be a Bombardier To Use this Feature as a Seller For Security Reasons and for The Sellers and Buyers Safety
<br>
<br>
Diesel Bombers Or Its Sponsors Are not Responsible for any transactions made through Bomb Bay This is an Additional Feature 
<br>
<br>
We Can not enforce the sell to the winning bidder 
<br>
<br>
As Always it is a Buyer Beware Market 
<br>
<br>
<br>
</td>
</tr>


</table>
This is what im trying to make a 50% <br> Taller

Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:52 PM.


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.05208 seconds
  • Memory Usage 2,244KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete