|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
There seems to be a problem with line breaks when I use CSS letter spacing: doing <BR><BR> is the same as <BR>
Look at exemple: http://users.pandora.be/fourtyseven/blah.htm (look at the source) I'm using IE 6 on XP. Can anyone who use IE 5 tell me if it's the same? |
|
#2
|
|||
|
|||
|
It does it on IE5.5 with Windows 2000 too. I have no idea why thought. Sorry.
You could use <p></p> instead of <br> when you want a line break. That works. <STYLE> P { letter-spacing: 1px; } </STYLE> <P> bleh<BR> blih<p></p> blah </P> |
|
#3
|
|||
|
|||
|
doing that u would not be xhtml compliant as we all should be
![]() try this: <STYLE> .P{ letter-spacing: 1px; } </STYLE> <div class="P">bleh</div> <br> <div class="P">blih</div> <br> <div class="P">blah</div> this have kinda the affect ur lookin for or do u want something else? PHP Code:
__________________
You know your a web programmer when you see a '$' and think of PHP rather than money. |
|
#4
|
|||
|
|||
|
forget that "php highlight" thing I did and u can add another <br> to the code I put and it should work.
|
|
#5
|
|||
|
|||
|
Technically there should be no need for 2 lots of <BR> anyway. If you are using them for vertical spacing then use padding or margin in CSS.
Emperor |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Line breaks and CSS letter spacing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|