473,473 Members | 2,027 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how define a css file in a asp page who inherits from a masterpag

Hi,

i have an asp page (page1.aspx) that inherits from a masterpage
(MasterPage.master)

so i try to define a stylesheet (mystyle.css) page to Page1.aspx and i have
to put a <linktag between <headand </head.

But my problem is in a page who inherits from a masterpage i have no the tag
<head and </headand i can't reference my styleSheet

so i don't know how i can define my css file in the asp page who inherits
from a masterpage

thanks for your help

--
Sebho
Aug 25 '06 #1
2 1810
Theres a good thread covering it here.

http://forums.asp.net/thread/1349790.aspx

Regards

John Timney (MVP)
"Sebho" <Se***@discussions.microsoft.comwrote in message
news:24**********************************@microsof t.com...
Hi,

i have an asp page (page1.aspx) that inherits from a masterpage
(MasterPage.master)

so i try to define a stylesheet (mystyle.css) page to Page1.aspx and i
have
to put a <linktag between <headand </head.

But my problem is in a page who inherits from a masterpage i have no the
tag
<head and </headand i can't reference my styleSheet

so i don't know how i can define my css file in the asp page who inherits
from a masterpage

thanks for your help

--
Sebho

Aug 25 '06 #2
Well, Thank you
--
Sebho
"John Timney (MVP)" wrote:
Theres a good thread covering it here.

http://forums.asp.net/thread/1349790.aspx

Regards

John Timney (MVP)
"Sebho" <Se***@discussions.microsoft.comwrote in message
news:24**********************************@microsof t.com...
Hi,

i have an asp page (page1.aspx) that inherits from a masterpage
(MasterPage.master)

so i try to define a stylesheet (mystyle.css) page to Page1.aspx and i
have
to put a <linktag between <headand </head.

But my problem is in a page who inherits from a masterpage i have no the
tag
<head and </headand i can't reference my styleSheet

so i don't know how i can define my css file in the asp page who inherits
from a masterpage

thanks for your help

--
Sebho


Aug 25 '06 #3

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

Similar topics

6
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked...
1
by: Michael Evanchik | last post by:
Tying not to spaghetti code which seems to be easy to do in .net, im trying to do my main .net html in index.aspx, use repeated .net html in an .ascx files and all code im doing in .vb code behind...
13
by: Bijoy Naick | last post by:
My project contains multiple aspx pages. Many of these pages have code-behind that use several helper functions. Instead of copying each helper function into each aspx page, I am thinking of...
6
by: mister.mwa | last post by:
Hello, I have the following problem: I have a class Foo, and a class Bar. I want Foo to inherit from Bar, but i want to put them in separate files Foo.vb and Bar.vb. Then i will use the Foo...
3
by: Lucky | last post by:
Hi guys! it's me againe! this time i'm facing some problem with the .NET 2005 IDE. i've created one "website" and i've added one webform. now i can see 2 files default.aspx and default.aspx.cs...
2
by: farhad13841384 | last post by:
Hi , I Hope You fine. I have some problem with this code for paging in asp.net this bottom code work correctly without any error but when I try to place separate code in .VB file then error is...
9
by: Morris Neuman | last post by:
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to play a wave file that is not located in the website folders but is in a plain folder on the same machine, windows 2003...
1
by: 1388-2/HB | last post by:
I have a class file in my App_Code folder called "clsBasePage.vb" that looks like this: Public Class clsBasePage Inherits System.Web.UI.Page ...stuff... End Class It's a "page" in that it...
3
by: premprakashbhati | last post by:
hi, good evening.. i am going to upload an image in a web form .....for that iam using HTML input(file) control and one web control button i.e., Upload_Button() here is the code ...its work fine...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.