CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/4/2006 7:41:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 49 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
lutherq
Asp.Net User
Set table attributes via theme stylesheet9/4/2006 7:41:23 PM

0/0

Having attached a theme to the MasterPage.Master I am able to set attributes, such as the background image of the body, via the theme's stylesheet.  However, this same stylesheet does not allow me to set attributes for the table (<asp:table>) and its rows and cells.  What am I missing?  Thanks
IdiosMachi
Asp.Net User
Re: Set table attributes via theme stylesheet9/4/2006 8:17:39 PM

0/0

Setting attributes of a table isn't treated any differently when using a stylesheet within a theme as it would be using any other stylesheet. Paste some of your CSS code that isn't being applied correctly, so we can determine where the problem might be.
lutherq
Asp.Net User
Re: Set table attributes via theme stylesheet9/4/2006 9:13:03 PM

0/0

Thanks for getting back so quickly....here is what the body looks like:

<body>
    <form id="form1" runat="server">
        <asp:Table runat=server ID="Table1">
            <asp:TableRow ID="TableRow1">
                <asp:TableCell ID="TableCell1"></asp:TableCell>
                <asp:TableCell ID="TableCell2"></asp:TableCell>
                <asp:TableCell ID="TableCell3">
                    <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
                        MasterPage.Master
                    </asp:contentplaceholder>
                </asp:TableCell>
                <asp:TableCell ID="TableCell4"></asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </form>
</body>

With a theme designated in the web.config file:

#Table1
{
    background-color: Gray;
    border-width: thick;
    border-color: Lime;
    width: 800px;
}

#TableCell1
{
    width: 20%;
}

#TableCell2
{
    width: 20%;
}

#TableCell3
{
    background-color: Black;
    width: 40%;
    font-size: large;
    font-weight: bold;
}

#TableCell4
{
    width: 20%;
}

The backround color shows up, but none of the table does.   Thanks again! 

 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Core Internet Application Development with ASP.NET 2.0 Authors: Randy Connolly, Pages: 1049, Published: 2007
Del.icio.us Mashups Authors: Brett O'Connor, Pages: 0, Published: 2007
XML, Web Services, and the Data Revolution Authors: Frank P. Coyle, Pages: 356, Published: 2002
Rapid Application Development with Mozilla Authors: Nigel McFarlane, Pages: 770, Published: 2003
Yahoo! Hacks: Tips & Tools for Living on the Web Frontier Authors: Paul Bausch, Pages: 464, Published: 2005
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007

Web:
Set table attributes via theme stylesheet - ASP.NET Forums Master I am able to set attributes, such as the background image of the body, via the theme's stylesheet. However, this same stylesheet does ...
LAMS Themes or Skins - LAMS 2 - Confluence The theme is set on two levels - the server theme is set in the server .... Visual elements are related back to their theme via the parentTheme attribute. ...
Combining ASP.NET 2.0 master pages and themes Skins, as well as a CSS stylesheet, maintain the site's look and feel. ... Notice that the feedback uses the theme via its Theme attribute and uses the ...
4. AsciiDoc Backends Adds a table of contents to the start of the document. ... Use the theme attribute to select and alternative set of stylesheets. ...
Cutting Edge: A Quick Tour of Themes in ASP.NET 2.0 A stylesheet theme is bound by using the Stylesheet attribute, like so: ... the name of the theme (stylesheet themes cannot be set in this manner, ...
Admin CP Themes - MyBB Wiki You can edit all other attributes in the large text area to the right. .... The Edit Theme Properties table is directly below the stylesheets listing. ...
[Xaraya_devel] Re: TinyMCE Table I have now pointed that setting to my Theme Stylesheet (at . ... Attempted to change the Table attribute width="" to width="100%". 7. ...
Skins and Themes | O'Reilly Media Nov 15, 2004 ... The second type, called customization themes, cannot be overridden. You set a stylesheet theme by using the StyleSheetTheme attribute in the ...
Craig McMurtry's WebLog : ASP.NET 2.0 #1: Themes and Skins Sample Mar 4, 2005 ... The answer to that question is no: not all of the attributes of HTML ... NET 2.0 Theme folder. Once the stylesheet for the page is added to ...
Steps for Defining a New Theme In your custom style sheet, assign the attribute background-color: transparent to the following style classes: .primaryMenuRow , table.linkbar ...




Search This Site:










blanks in cookies disappearing

returning a single field from a database

getting server's local time

vs .net

readline interpreting hex 0d as end of line

is this the best way of doing this?

page freezes after adding update panel

unclickable fields inside the "div" border

cant get rss consumption to work

webservices, wcf, wf & wpf

sending an email via a web page in code

how to read filename arguments

advice please

foreach, checkboxlist, session

how do i use split method to parse standard delimited fields ?

query strings

add the radio buttons to the lisbox with some text

object reference error and stored procedure

localhost sending mail

asp.net 2.0 compiling problem

sending email through domino server from asp.net

calendar - hide other month's weeks

i need some class!

how can i get the localizepers_cs sample ?

release build

grouping of type date

export to excel - excel application not showing/displaying

adrotator - trying to display google address in it

application unavailable, .aspx applications not working! help, please!

page locking

  Privacy | Contact Us
All Times Are GMT