473,805 Members | 2,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Media types not working - or are they?

<link href="_cmn/styles-screen.css" rel="stylesheet " type="text/css"
media="screen" />
<link href="_cmn/styles-print.css" rel="stylehseet " type="text/css"
media="print" />

I have the above to lines of code in a very simple newsletter web page.
The styles for the "screen" render flawlessly in the browser however,
when I do a print-preview or even print, the styles for "print" do not
render at all.

I know the styles for both media types work as I have applied them
seperately to the pages.

Am I missing something?
Thanks.

Jul 21 '05 #1
1 1436
Paul wrote:
<link href="_cmn/styles-print.css" rel="stylehseet " type="text/css"
media="print" />

when I do a print-preview or even print, the styles for "print" do not
render at all.


You misspelt "stylesheet " for the rel attribute.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 21 '05 #2

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

Similar topics

5
1777
by: Will | last post by:
Is there multi-media support in Python? So I can... 1 - play video in all the standard formats... windows & Mac? 2 - play flash files 3 - Power Point 4 - Standard graphic formats 5 - Sound in all the standard formats 6 - etc Please note requirements: And, on video's, flash files, Power Point, Graphic
17
2397
by: Geoff Cox | last post by:
Hello, I am trying to have 1. web pages in large font 2. web pages with smaller font for printing I am using <link rel="stylesheet" media="print" type="text/css"
1
1817
by: Brian | last post by:
Warning: mild rant to follow: I was quite surprised and annoyed to learn that Mozilla 1.x loads stylesheets for media other than screen (or all), and treats them as if they were alternate stylesheets for media=screen. I first noticed it for handheld and tv. On a lark, I put in an aural stylesheet. It loaded that one, too. What the heck is that all about? A stylesheet for handheld or tv may not be appropriate for a computer screen. ...
5
4739
by: Alun | last post by:
I am trying to use the import method of attaching stlyesheets but I'm getting strange results. this is the code I'm using... <head> <title>CSS Example</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
1
2950
by: Garmt de Vries | last post by:
For a long time, I've used CSS to style my webpages, but only for media "screen" and "print". Now I've started looking into styling them for other media like "projection" and "handheld". I'd be happy to hear your advice on a couple of practicalities. 1. media="all" required? In the <head> of my pages, I have the following: <link rel="stylesheet" href="style.css" type="text/css"></link>
11
1931
by: Wolfgang Meier | last post by:
Hi, I really hope I'm not hitting a frequently asked question here, because I think almost every author must have made that decision. Anyway, here goes: Would it be better to write one global stylesheet, then write specializations for media that need special treatment: <link ... media="all">
19
19279
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make things a bit easier. What I need to do is create a playlist and play it using JavaScript. I keep on getting close but not close enough to play the dang files. Has anyone done this before and can shed some light on what worked for them?
1
1963
by: vera esaulova | last post by:
I have problem whis Windows Media Services 9 Series. I have videostream, which will consist of two streams(512k/bit and 256k/bit).I need to allocate a stream 256k/bit. In SDK is written: Supporting Multiple Bit Rate Files Several versions of the same audio or video content can be stored in separate streams, encoded at different bit rates, in a Windows Media file. When a Windows Media player connects to an origin server, it requests...
5
2642
by: Fred Chateau | last post by:
I am currently using an Object element of type "application/x-mplayer2" to create a media player in ASP.NET 3.5, and was wondering if there is a better way to instantiate WMP in a browser. I'm hoping to find something with better cross-browser compatibility. I looked at System.Windows.Media.MediaPlayer in PresentationCore.dll but I'm assuming that is used for Windows Forms (WPF). I'm also looking at the Silverlight 2.0 MediaElement as a...
0
9718
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10368
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10107
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9186
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
4327
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3846
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.