Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

@media print and @media screen

Status
Not open for further replies.

damipera

Technical User
Dec 1, 2005
134
0
0
GB
Hi,

I have a CSS with

@media print{
.image1{display:none;}
.image2{display:block;}
}

@media screen{
.image1{display:block;}
.image2{display:none;}
}

And when I look in my Dreamweaver in design view, the image for image1 class is not showing on the design view but it's still there in the code view.

The image for image2 class is showing in the design view of dreamweaver.

What I want is to show the images the other way around. I've tried to change the order of the CSS declaration but still no joy.

Is there any setting in Dreamweaver that does this? Im using DW version 8.

Thanks for any inputs.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top