prise2admin
02-16-2005, 01:02 AM
How can i do a space with the half height of a normal <BR> ?????
|
||||
Half of a <BR> ???????prise2admin 02-16-2005, 01:02 AM How can i do a space with the half height of a normal <BR> ????? Antoniohawk 02-16-2005, 01:07 AM Try the following. br { height: .5em; } prise2admin 02-16-2005, 01:11 AM like that? <br { height: .5em; }> or like that? <br height: .5em;> or juste like that br { height: .5em; } ????? prise2admin 02-16-2005, 01:14 AM i have tried the 3 form and its don't work... cooleo100d 02-16-2005, 01:29 AM Hi, No it's a style. <br syle="height: .5em;" /> That should work, ~David prise2admin 02-16-2005, 01:32 AM no... sory lol what i will do!!!!!! cooleo100d 02-16-2005, 01:51 AM 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 cfc 02-16-2005, 02:08 AM <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. rmedek 02-16-2005, 02:26 AM http://archivist.incutio.com/viewlist/css-discuss/16884 http://codingforums.com/showthread.php?t=52292 prise2admin 02-16-2005, 02:41 AM All that don't work... so I will explain my problem in detail: I want to make a little space between two table exemple : <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> rmedek 02-16-2005, 02:56 AM Apparently you missed the link above where you can't style a <br>. Anyhow, adjust the margins/padding on your table. css: table { margin: 5px; padding: 0; } html: <table>...</table> Adjust those numbers to your taste. prise2admin 02-16-2005, 03:20 AM i'm not very good with css how i use this code ... thanks Bobo 02-16-2005, 03:45 AM 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) prise2admin 02-16-2005, 04:05 AM Yeah the style code work!!!!! We finish this topic!!!!! party time ! :thumbsup: <style>table { margin: 5px; padding: 0; } </style> ronaldb66 02-16-2005, 08:21 AM *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. prise2admin 02-16-2005, 11:54 PM So... :confused: whizard 02-17-2005, 12:04 AM http://www.nic.fi/~tapio1/Teaching/Semantics.php3 Dan |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum