Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Cascading Style Sheets

Reply
Thread Tools

Cascading Style Sheets

 
 
=?Utf-8?B?SmltIEhlYXZleQ==?=
Guest
Posts: n/a
 
      06-06-2004
Hello, I am hoping I have a very basic question for Cascading Style Sheets
If I am using an ASpanel control and I have a number of controls in the panel, how do I get the controls to all collectively center in the panel? I see an attribute for Text centering, but that is different then having all of the controls center within the panel. I could put them all in a table and center the table, but is there a better way to accomplishe this

Thanks in advance for your assistance.
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\) [MVP]
Guest
Posts: n/a
 
      06-07-2004
the <ASPanel> creates a <SPAN> tag. You can attach a style to the panel
through its CssClass property. And, yes, that is the way I would do it, as
it conforms to web standards. NOTE, however, that it may fight you in grid
layout, so turn off the grid.

If you know all of the controls at design time, you can set them up in a
table in the panel (so you can turn on or off the collection) and put them
where you want. I would turn off the damn grid first, as it is just SO
annoying and fights any type of liquid layout.

Did I mention that the grid layout is annoying? ;->

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Jim Heavey" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello, I am hoping I have a very basic question for Cascading Style

Sheets.
> If I am using an ASpanel control and I have a number of controls in the

panel, how do I get the controls to all collectively center in the panel? I
see an attribute for Text centering, but that is different then having all
of the controls center within the panel. I could put them all in a table
and center the table, but is there a better way to accomplishe this>
>
> Thanks in advance for your assistance.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.NET Web Application and Cascading Style Sheets Fred Nelson ASP .Net 1 05-05-2005 03:46 PM
programmatically access Cascading Style sheets file John ASP .Net 2 12-16-2004 09:13 AM
Styles and Cascading Style Sheets JezB ASP .Net 5 04-30-2004 02:40 PM
Cascading Style Sheets Herb Stull ASP .Net 2 01-22-2004 10:09 PM
Re: Cascading style sheets Todd Cary HTML 0 12-05-2003 03:52 AM



Advertisments