473,383 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

apply css to content page .NET 2005

I am trying to apply a style contained in my Style.css sheet to a table
on my content page. The master page has a link to the css. I have
class="MyTable" and ID="MyTable" in the attributes of the table. When I
view the page in the VS designer it is correct but when I run the styles
I want aren't there.

Is there a step that I am missing? I didn't see a way to add a link to
the css in the content page.

Thanks,

Jennifer
*** Sent via Developersdex http://www.developersdex.com ***
Mar 30 '06 #1
2 1360
No that should work, i have done it that way many times. I sugest you look
at the source of the rendered HTML to see if you can figure it out.

"jmorgret" wrote:
I am trying to apply a style contained in my Style.css sheet to a table
on my content page. The master page has a link to the css. I have
class="MyTable" and ID="MyTable" in the attributes of the table. When I
view the page in the VS designer it is correct but when I run the styles
I want aren't there.

Is there a step that I am missing? I didn't see a way to add a link to
the css in the content page.

Thanks,

Jennifer
*** Sent via Developersdex http://www.developersdex.com ***

Mar 30 '06 #2

I'm not sure what I am looking for on the source page. The table shows
the correct class and id but the sytle attributes don't show up. It is
so weird that it shows the attributes in design mode in VS just not when
the page is run.

I don't know...

-Jennifer
*** Sent via Developersdex http://www.developersdex.com ***
Mar 31 '06 #3

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

Similar topics

1
by: abdul bari | last post by:
Hi I was wondering how you apply header referesh to an XSl sheet. I want the generated html page to refresh. The following code doesnt work. <head> <title>sample</title> <xsl:attribute name...
4
by: esmith2112 | last post by:
Having a bear of a time trying to implement replication under 8.2 environment. I've created all of the control structures on both source and target database and can actually see data being staged...
1
by: athirumurthi | last post by:
I have a WinINet communicating with an integration server (X-AspNet-Version: 1.1.4322) using form posts. One form post that includes jpeg content. However, the data received at the server is...
3
by: jfinnell | last post by:
I have a div named body in my content of my content page and resize to the full sized of the content control, (using my css). There seems to be about a quarter of an inch at the top of my content,...
5
by: Federico | last post by:
I have a problem, I have an event declared in a Master Page, and I want to use in a Content Page holder of a Content Page. When I want to create the method to handle the event, I can njot reference...
2
by: Learner | last post by:
Hello, This is first time I have started using Master Pages. I am using ASP.NET 2.0 (VB) in Visual Studion 2005. This is how I am doing it... I have created a master page and placed a...
1
by: LilC | last post by:
I'm creating an application that has a standard layout for all pages. The information that is displayed in the layout will be dynamic based on the user that is logged in. Thus when a page is...
2
by: Dst | last post by:
Using Visualstudio 2005, masterpage/contentpage layout. I have a old asp page which i need to display in a content page in a aspx page. I tried this: Get the webpage into a string. In page...
1
by: sudip2008 | last post by:
When using the Calendar Popup in a content page of a masterpage the strForName is always set to aspnetForm This breaks this line from working properly window.opener.document.forms...... How can...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.