Cal Who said:
Some HTML elements seem to always start a new line.
Two <asp.Menu> elements, one after the other in the code, appear on two
lines even though there is no <br /> between them.
I would like them to be next to each other on the same line.
Can that be done?
Thanks
There's a lot to learn for asp.net. It all ends up as xhtml.
That's best styled with css and you want to know both.
I reckon you can get by with cut and paste for javascript but HTML and css
you need a reasonable understanding.
2 alternatives.
Table or divs.
Tables are usually sneered at nowadays.
So I'd wrap each with a div and both with another div.
style the two inner ones float:left
You may have to stick a both:clear in the mix as once you get that floating
going everything may want to join in.
But you can style a whole band with the background-colour on your outer div.
That also stops your next bit of html going on the same line.
You want to read up on css formatting - specifically table less pages.
Experiment a bit.
So next time you have to do layout you already understand how css and divs
can do it.
If I just tell you all the answers that may solve your immediate problem but
you don't learn nuthin, mate.
So if you think I'm being a bit mean. it's in your interest to think things
through for yourself.