473,513 Members | 2,524 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dumb noob cannot get UL to stack vertically

Day two of HTML!

And I am using an HTML generator in a set-up where I never see the HTML,
but the generator is designed to use almost the same syntax as HTML so I
think I can communicate this:

I had a UL containing simple LIs with just a string, and they stacked
vertically. Nice. But the user has to click on any of the items in a
radio button kinda way, so I made them into inputs, type submit. Now
they all appear in a row. Yikes!

I have a CSS going for the UL and am having great fun changing the color
and border but do not see anything that would let me specify a vertical
stacking.

Any help appreciated.

kenny
Aug 29 '08 #1
2 1773
Kenny wrote:
Day two of HTML!

And I am using an HTML generator in a set-up where I never see the HTML,
but the generator is designed to use almost the same syntax as HTML so I
think I can communicate this:

I had a UL containing simple LIs with just a string, and they stacked
vertically. Nice. But the user has to click on any of the items in a
radio button kinda way, so I made them into inputs, type submit. Now
they all appear in a row. Yikes!

I have a CSS going for the UL and am having great fun changing the color
and border but do not see anything that would let me specify a vertical
stacking.

Any help appreciated.

kenny

I gave the elements some CSS:

display: block

How'd I do?

kenny
Aug 29 '08 #2
On 2008-08-29, Kenny wrote:
Day two of HTML!

And I am using an HTML generator in a set-up where I never see the HTML,
Do yourself a favour and use a text editor.
but the generator is designed to use almost the same syntax as HTML
Almost??? There's no excuse for not having valid HTML.

Check the page with <http://validator.w3.org>.
so I
think I can communicate this:

I had a UL containing simple LIs with just a string, and they stacked
vertically. Nice. But the user has to click on any of the items in a
radio button kinda way, so I made them into inputs, type submit. Now
they all appear in a row. Yikes!
URL? PLease provide the location of the page so we can see just
what the problem is.
I have a CSS going for the UL and am having great fun changing the color
and border but do not see anything that would let me specify a vertical
stacking.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Aug 29 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1733
by: Tony Vasquez | last post by:
Hi fellas. I have a problem. I am trying ot get a popup window to appear in the center of the screen, both vertically and horozontally. I am trying to display a large version of an image in this window... but the image size varies. I now have to know the size of the image before I can center it properly. So, this is the code I am using. ...
6
7690
by: Finn Newick | last post by:
By defining a style as follows: @media aural, handheld {td.layout {display:block;}} I'm hoping to linearise layout tables when viewed by screenreaders and handheld devices (it is also be in some selectable user preferences). This works as intended in Netscape 7 - all the cells stack vertically above each other nicely, but not in...
2
57832
by: Chris Herring | last post by:
Hi there: Well, let me start off by saying that I am a Visual Studio drag and drop weenie, not a real programmer. So I tend to get confused when things do not look like the instructions said they were going to look :) . Here is my current dilemma: I am having a strange problem with my ASP.NET application. I am building the application using...
14
8189
by: Olumide | last post by:
In the following C++ class, MyClass{ // Members } From which I create two objects (using the default constructor), (1) MyClass *object1 = new MyClass(); // Stack (2) MyClass object2 = MyClass(); // Stack or Heap?
7
7813
by: Holger Grund | last post by:
What's special about System::String? For instance, why can't one write a function like using System::String; void foo( const String% ); or what's wrong with: int main() {
13
1537
by: cgough | last post by:
My true programming language is C++. I am at best a VB6 hacker that is just getting into VB.NET. I have a quick question about when to new and when not to new. Consider the following 2 classes. In the first I new an integer and assign it to i, in the second one I don't bother. In both cases, an integer is created and I can use it. If I...
5
5016
by: Peter Lapic | last post by:
I have to create a image web service that when it receives an imageid parameter it will return a gif image from a file that has been stored on the server. The client will be an asp.net web page that calls the web service to render a vertical strip of images. After doing some research I am unable to find some vb.net code that can assist...
7
1912
by: DJP | last post by:
Hi, I had sort of a noob question on memory allocation for strings. char *str1 = "Hello World!"; char str2 = "Hello World!"; In the above bit are both str1 & str2 stack allocated or heap allocated or otherwise? Also, unless explicitly malloc'ing a string buffer are we not required to free it? Or are there other circumstances in which we
6
19314
Motoma
by: Motoma | last post by:
Hello all! My end goal is to create an HTML layout that will expand and contract with the window size, while maintaining a variable number of content columns. In the example below, you will see that if you stretch the browser window until there is two columns, divs on the right stack flush with each other vertically; however, divs on the...
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7565
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7128
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5704
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5103
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3255
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.