I want to display a string like GOOGLE in following format:
G
O
O
G
L
E
Please guide.
G
O
O
G
L
E
Please guide.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Verticle Text</title>
<style type="text/css">
/*<![CDATA[*/
.verticle{
width:10px;
padding:0;
font-size:1.4em;
font-family:georgia, "times new roman", serif;
}
/*//]]>*/
</style>
</head>
<body>
<div id="TextSpace" class="verticle">
G O O G L E
</div>
</body>
</html>
function vertString(string)
dim temp
temp = "<p>"
for i = 1 to len(string)
temp = temp & mid(string,i,1) & "<br />"
next
vertString = temp & "</p>"
end function
response.write vertString("Some text to display vertically!")
Comment