PDA

View Full Version : How Can I Do This?


Sammael
11-12-2009, 02:18 PM
On the page in this photo: http://img94.imageshack.us/i/denemef.jpg/
I would like to make a line from the top to the bottom and the line should be near "Super Green Hosting". I want to do this because when I add 10 images near the texts, the images are not in aligntment(they're not in a row from top to bottom). How can I do that?

Here is the code: http://img694.imageshack.us/i/codeq.jpg/

By the way I'm wondering, when I'm writing contents, I can't make more than 1 space by pressing the spacebar key. Is there a way to make more spaces?

Thanks in advance.

Sammael
11-12-2009, 03:04 PM
Right now it looks like this: http://img156.imageshack.us/i/yolla2.jpg/

I want it to look like this: http://img94.imageshack.us/i/yolla1.jpg/


thanks,

gentleone
11-12-2009, 04:05 PM
It can't be done with an unordered list. You want it to give a nice order and alignment then a table would be the best solution.

Regarding your extra spaces you can put   into your code where you want the extra spaces.

domedia
11-12-2009, 04:36 PM
That can absolutely be done with an ordered list (not unordered, the list is ordered by numbers).
Tables are for tabular data, it does not belong in anything here. The image shown is a list and should be marked up as such.
Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>HTML List</title>
<style type="text/css">
<!--
ol {
width: 100px;
}
span {
float: right
}
-->
</style>
</head>
<body>
<ol>
<li><span>new</span>Item one</li>
<li><span>new</span>Item two</li>
<li><span>new</span>Item three</li>
</ol>
</body>
</html>

domedia
11-12-2009, 04:38 PM
Regarding your extra spaces you can put &nbsp; into your code where you want the extra spaces.
Hardcoding spaces is rarely a good idea. Leave the layout issues to CSS. Floating and margins are all normal techniques.

gentleone
11-12-2009, 04:46 PM
Hardcoding spaces is rarely a good idea. Leave the layout issues to CSS. Floating and margins are all normal techniques.

I just wanted to edit my post with telling him that this is not the way he should align his vertical in the unordered list, but I saw that I have limiter of 30 minutes for editing a post.