runeveryday — 2012-10-30T21:05:02-04:00 — #1
how to layout the webpage according to the image?
the following is my html. but i feel the layout is not good? is there a better way to get that?
<p>p<br />r<br />o<br />g<br /></p>
<img src="#" />
<a href="#">one</a><a href="#">two</a><a href="#">test</a><br />
<a href="#">three</a><a href="#">fourtest</a><br />
<a href="#">example</a><a href="#"></a><a>more </a>
ps:the layout which locates on the right of the image is bad.if the test div are many.when under IE7 ,there are some misplacement in it. is there another way to layout it?
ralphm — 2012-10-31T03:16:37-04:00 — #2
Yeah, I don't think I'd use <br> elements there ... but you haven't posted any layout information as yet (i.e. CSS).
runeveryday — 2012-10-31T04:35:25-04:00 — #3
if you could not use br, which element will you be use?
ralphm — 2012-10-31T04:50:14-04:00 — #4
It depends ... I wonder if it's worth doing as text at all, because it doesn't mean much. I would use an image with meaningful alt text, or perhaps CSS3 to make the text vertical ... although that won't work in all browsers.
Or perhaps you could wrap the word in a column div, and each letter in a div set to width: 100% ... but I don't see the point, personally.
dresden_phoenix — 2012-11-01T01:36:34-04:00 — #5
For that amount of effort you could wrap each letter in a span, display:block; and width:1em (or whatever) to the paragraph.