View Full Version : random size space between chars and IE bug
jdl
April 29th, 2006, 01:23 AM
How do you go about creating random sized spaces between text on one line?
Instead of using :-/
And why does IE5 not allow my div to go to 100% of the centred window but
safari and opera is happy to do it?
The page is at : http://www.yabbit.net/example1.htm
Help appreciated, thanks.
bwh2
April 29th, 2006, 08:36 PM
How do you go about creating random sized spaces between text on one line?
Instead of using :-/
so you want the text to look like this..
text1 text2 text3 text4 text5 text 6 text7 text8
?
you would need to use repeatedly for that. if you're trying to figure out how to inject those "random" amounts of in there, you will need to use something like php or javascript.
jdl
April 29th, 2006, 08:47 PM
so you want the text to look like this..
text1 text2 text3 text4 text5 text 6 text7 text8
?
you would need to use repeatedly for that. if you're trying to figure out how to inject those "random" amounts of in there, you will need to use something like php or javascript.
So there is no way of creating space with css? I heard of using the code tags.
Anyway, thanks for the reply :)
bwh2
April 29th, 2006, 08:58 PM
So there is no way of creating space with css?
there is a way to change the spacing with css:
http://www.w3schools.com/css/tryit.asp?filename=trycss_letter-spacing
http://www.w3schools.com/css/css_text.asp
but to randomize it, you need something beefier than (x)html/css.
jdl
April 29th, 2006, 11:50 PM
ok thx bwh2
Would you know how to fix the width problem I'm having in IE please?
Or somebody...
THANKS again
Ankou
April 30th, 2006, 12:36 AM
A bit off topic here ... but you probably should consider using a table for the house information. The list date, address, price, beds, block size... that's pretty much screaming out "I'm tabular data!" There's a time and a place to stop using tables, but that's not one of the cases. :)
bwh2
April 30th, 2006, 02:08 AM
yeah, i agree w/ankou. i hadn't looked at the page before, but that's definitely a great spot for a table.
jdl
April 30th, 2006, 03:38 AM
Agreed, thanks
Ankou
April 30th, 2006, 03:42 AM
BTW - the reason I didn't look for the solution to the IE problem when you asked about it is because switching to the table for that data may fix the problem. But even if it doesn't fix it the code will be different which means any solution given would most likely be useless. :)
jdl
April 30th, 2006, 03:47 AM
Yep :) thanks again
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.