vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How Do I Do a 50% <br> (https://vborg.vbsupport.ru/showthread.php?t=154717)

DieselMinded 08-08-2007 11:54 PM

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>

Zate 08-09-2007 03:34 AM

use div tags and some CSS on the 2 elements your trying to line up.. or use a spacer.gif that is transparent.

DieselMinded 08-09-2007 04:24 AM

I wish i knew what you just said ...

Thanks Anyway :)

Brandon Sheley 08-09-2007 05:11 AM

Quote:

Originally Posted by DiesellMinded (Post 1313274)
I wish i knew what you just said ...

Thanks Anyway :)

lol

maybe check out www.w3schools.com

StrifeX 08-09-2007 09:00 AM

<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.)

MaestroX 08-09-2007 09:30 AM

For a half a BR just do this:

Code:

<br style="line-height:0.5">
No big long complicated solution.

StrifeX 08-09-2007 11:26 AM

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

And don't forget the closing: <br style="line-height:0.5" /> :p

MaestroX 08-09-2007 11:34 AM

lol, forgot about the pesky /

As far as I know its valid XHTML ;)

nexialys 08-09-2007 12:11 PM

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.

DieselMinded 08-09-2007 03:33 PM

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!


All times are GMT. The time now is 01:29 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.01245 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete