Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    New Coder
    Join Date
    Feb 2005
    Location
    montreal (qc)
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Half of a <BR> ???????

    How can i do a space with the half height of a normal <BR> ?????

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Try the following.
    Code:
    br { height: .5em; }

  • #3
    New Coder
    Join Date
    Feb 2005
    Location
    montreal (qc)
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    like that?
    <br { height: .5em; }>

    or like that?

    <br height: .5em;>

    or juste like that

    br { height: .5em; }

    ?????

  • #4
    New Coder
    Join Date
    Feb 2005
    Location
    montreal (qc)
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i have tried the 3 form and its don't work...

  • #5
    Regular Coder
    Join Date
    Jan 2005
    Location
    NY, USA
    Posts
    132
    Thanks
    1
    Thanked 1 Time in 1 Post
    Hi,

    No it's a style.

    <br syle="height: .5em;" />

    That should work,
    ~David

  • #6
    New Coder
    Join Date
    Feb 2005
    Location
    montreal (qc)
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no... sory lol what i will do!!!!!!

  • #7
    Regular Coder
    Join Date
    Jan 2005
    Location
    NY, USA
    Posts
    132
    Thanks
    1
    Thanked 1 Time in 1 Post
    Hi,

    I mispelled stlye: it should have been:
    <br style="height: .5em;" />

    If that doesn't work, then I don' think the height is the answer.

    ~David

  • #8
    cfc
    cfc is offline
    Regular Coder
    Join Date
    Dec 2004
    Location
    Keswick, Ontario
    Posts
    251
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <br style="line-height: .5em"/>

    ?

    Of course, I don't know if it will work with the rest of the line that the <br/> is on being at a different height.

  • #9
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts

  • #10
    New Coder
    Join Date
    Feb 2005
    Location
    montreal (qc)
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    All that don't work... so I will explain my problem in detail:

    I want to make a little space between two table exemple :

    Code:
    <table style="border: solid 4px #000" cellspacing="0" height="165" width="100%" bordercolor="black" >
    <tr>
    <td valign="top">
    <center>
    <FONT COLOR=#800000 FACE="Arial" SIZE=2>
    <b>NEWS</b>
    </font>
    </center>
    <br>
    <font face="arial" size=2>
    - news ........ 
    <br>
    - news............
    <br>
    - news.....
    <br>
    -  news.......
    <br>
    - news............ 
    <br>
    - news.........
    <br>
    <br>
    <center><small><a href=" link ad...i dont show u lol...">Historic</a></small></center>
    </font>
    </td>
    </tr>
    </table>
    
    <!-------------------------------------------------------!>
    
    HERE IS THE <BR> PROBLEM (between the 2 table i want a little space not a full br...
    
    <!-------------------------------------------------------!>
    
    
    <table style="border: solid 4px #000" cellspacing="0" height="100" width="100%" bordercolor="black" >
    <tr>
    <td valign="top">
    <center>
    <FONT COLOR=#800000 FACE="Arial" SIZE=2>
    <b>LINK OF THE DAY</b>
    </font>
    </center>
    <br>
    <font face="arial" size=2>
    - <a href="www.google.com">test1</a>
    <br>
    - <a href="www.google.com">test2</a>
    <br>
    - <a href="www.google.com">test3</a>
    <br>
    - <a href="www.google.com">test4</a>
    <center><small><a href=http://pages.infinit.net/dolbien/liens.html>Tout les liens</a></small></center>
    </font>
    </td>
    </tr>
    </table>
    Last edited by prise2admin; 02-16-2005 at 02:44 AM.

  • #11
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Apparently you missed the link above where you can't style a <br>.

    Anyhow, adjust the margins/padding on your table.
    Code:
    css:
    
    table {
     margin: 5px;
     padding: 0;
     }
    
    html:
    
    <table>...</table>
    Adjust those numbers to your taste.

  • #12
    New Coder
    Join Date
    Feb 2005
    Location
    montreal (qc)
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow

    i'm not very good with css how i use this code ... thanks

  • #13
    Regular Coder
    Join Date
    Jan 2004
    Location
    Port Huron, MI, U.S.A.
    Posts
    280
    Thanks
    0
    Thanked 0 Times in 0 Posts
    put:
    <style>table {
    margin: 5px;
    padding: 0;
    }
    </style>
    in the <head> section of your page, it will set all <table> tags to have the specified CSS attributes;
    I would just use this, though:

    <spacer type=vertical height=".5em" style="display:block;margin:0;padding:0;">

    it may be <space ... (without the 'r', and I might have the wrong setting/value for the 'type' attribute because I seldom use this tag--I forget)
    Oh, was I supposed to put something here? ........

  • #14
    New Coder
    Join Date
    Feb 2005
    Location
    montreal (qc)
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah the style code work!!!!! We finish this topic!!!!! party time !
    <style>table {
    margin: 5px;
    padding: 0;
    }
    </style>

  • #15
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,253
    Thanks
    0
    Thanked 0 Times in 0 Posts

    List?

    *sigh*
    Or, what appears to be an emulation of a list, only with dashes for bullets and line breaks for box imitations, can actually be marked up as an unordered list, which can be styled to your heart's content.

    As was indicated in the CSS-list reply, using line breaks still doesn't give you boxes to control; using a list does.
    Regards,
    Ronald.
    ronaldvanderwijden.com


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •