PDA

View Full Version : How Do I Do a 50% <br>


DieselMinded
08-08-2007, 11:54 PM
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
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:

<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

<br style="line-height:0.5">
<br style="line-height:0.5"/>

Just like that to achieve a 50% <br>

<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!