|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
I am long time programmer but a novice in ASP.NET. My main problem with coding is the style property of web controls. In this case it is the Label (UI.WebControls.Label). Whereas I am used to setting properties to manipulate the apperance of controls, with HTML it's all in the style. My question: Where can I find a comprehensive list of all style attribute for a given control? This seems like a resonable request (to me) since style is so all-important, but the documentation seems to end at the style element itself (I assume becase the actual style value is HTML, not ASP.NET). Others have given me a particular style that in response to a sepeific request, sometime they work, sometimes they don't. Without a full list I'm basically programming in the dark, and it is driving me nuts! TIA kpg Well, I found this:
http://www.w3.org/TR/CSS1 Quite helpful. It seems the style attribute was introduced with HTML 4.0 and it allows for the in-line use of CSS by default. Learn something new everyday :) kpg Which brings me to another point.
I type: vertical-align:center Well, this is worng, it should be: vertical-align:middle but I don't know this, well in HTML-land nothing complains, no syntax erros, no warnings, becuase browsers just ignore erros. Hey, that's great for end users, but what about developers? Is there no way to validate a page for correctness? Because of the extensible nature of HTML I assume such validations would need to be performed against a known standard, like XML validation. I guess I am just not aware of the tools available and what I need to use to streamline this whole web dev process. kpg You might also want to get familiar with the .NET Framework SDK
documentation. It comes with SDK download or you can access through the MSDN website. -- Show quoteHide quoteChristopher A. Reed "The oxen are slow, but the earth is patient." "kpg" <ipost@thereforeiam> wrote in message news:Xns972B6171EB274ipostthereforeiam@127.0.0.1... > Well, I found this: > > http://www.w3.org/TR/CSS1 > > Quite helpful. > > It seems the style attribute was introduced with HTML 4.0 > and it allows for the in-line use of CSS by default. > > Learn something new everyday :) > > kpg Christopher Reed <carttu@nospam.nospam> said something like
> You might also want to get familiar with the .NET Yeah, looked in there. Plenty of info, but no list of style possibilities,> Framework SDK documentation. It comes with SDK download or you can > access through the MSDN website. some examples for specific issues though. My point was is that you need to look at the documentation and also look
into the QuickStart tutorials. While a list is all well and good, you need to research styles as they are used in context with ASP.NET. -- Show quoteHide quoteChristopher A. Reed "The oxen are slow, but the earth is patient." "kpg" <ipost@thereforeiam> wrote in message news:Xns972B80E413428ipostthereforeiam@127.0.0.1... > Christopher Reed <carttu@nospam.nospam> said something like > >> You might also want to get familiar with the .NET >> Framework SDK documentation. It comes with SDK download or you can >> access through the MSDN website. > > Yeah, looked in there. Plenty of info, but no list of style > possibilities, > some examples for specific issues though. Christopher Reed <carttu@nospam.nospam> said something like
> # Name resolution details: file://c:\temp\32957.htm (12/14/2005 point taken.> 7:56:02 AM) # My point was is that you need to look at the > documentation and also look into the QuickStart tutorials. While a > list is all well and good, you need to research styles as they are > used in context with ASP.NET. Additionally, while the functionality regarding styles within ASP.NET appear
to be consistent, when the various controls are rendered into HTML, the way the actual styles function are different as well. If you're looking to use stylesheets with list controls such as datalists and gridviews/datagrids, you'll need to do some try and error to figure out how the styles are actually interacting with the control. Also, look at this: http://www.w3.org/Style/CSS/. The link you mentioned earlier is for CSS1, while this link is more general and provides links to all of the current versions, including the proposed CSS3. For a really cool website, go to http://www.csszengarden.com. -- Show quoteHide quoteChristopher A. Reed "The oxen are slow, but the earth is patient." "kpg" <ipost@thereforeiam> wrote in message news:Xns972C50BBE56C1ipostthereforeiam@127.0.0.1... > Christopher Reed <carttu@nospam.nospam> said something like > >> # Name resolution details: file://c:\temp\32957.htm (12/14/2005 >> 7:56:02 AM) # My point was is that you need to look at the >> documentation and also look into the QuickStart tutorials. While a >> list is all well and good, you need to research styles as they are >> used in context with ASP.NET. > > point taken.
Result not expected with user control - any ideas why/
Problem adding attributes to DataListItem.. Role based security Tabbed control for ASP.NET pages Trouble with radio button list in Asp.net 1.1 Templated User Control & intellisense datagrid value grouping The lowly data field DropDownList(ddlist) and TextBox(tbox) Find the source of an event |
|||||||||||||||||||||||