Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old January 3rd, 2006, 04:45 PM   #1
New Member
 

Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 cyberpac9 is on a distinguished road
css - print and screen?

ok...i have two css files that are linked within the webpage like so:

HTML Code:
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
<link rel="stylesheet" type="text/css" media="screen" href="screen.css" />
and then here are the codes for each of the files:
HTML Code:
print.css:
@media  print{
body{font-family: arial; font-size: 6pt; width: 30%; border-width:  1px; border-style: dashed;}
.trans{visibility: hidden; position: absolute;  bottom: 0; right: 0;}
}

screen.css:
@media  screen{
body{font-family: Verdana, Arial, Helvetica, sans-serif; font-size:  12px;}
h1{color:#FF0000; font-size: 14px;}
}
for some reason in IE the print comes out full page instead of 30%...why is that? it works perfectly in Firefox and passes validation...any thoughts?
cyberpac9 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
css , print , screen


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Without Prompt chrisgeast JavaScript 2 September 7th, 2007 06:34 AM
Using css to print straight to screen? nate2099 Your Design and Layout 9 April 8th, 2007 04:14 AM
IE Print issue moojoo HTML, XHTML and CSS 11 September 29th, 2006 05:16 AM
print from my website dber HTML, XHTML and CSS 7 June 24th, 2006 06:54 PM
Print ClaireB JavaScript 2 September 9th, 2005 02:52 PM


Search Engine Optimization by vBSEO 3.2.0 RC8