Tech boy Posted March 28, 2012 Share Posted March 28, 2012 I have created a web page that has been split into a left and right pane with a footer. This layout is fine for what I want to do. My problem is the left hand pane has the bbc news 24 embeded into. I have used div tags and specified their diemensions using %'s to try and handle different resoultions and screen sizes. The embed image doesnt say for sure what it's width and height values are in but I believe pixel's. Is it possible to change the embeded image size for different screen sizes/resolutions? thanks for any advice anyone can give. Tech boy Quote Link to comment https://forums.phpfreaks.com/topic/259872-changing-the-size-of-an-embed-object/ Share on other sites More sharing options...
salem80 Posted May 7, 2012 Share Posted May 7, 2012 Just make class name embed to your div and use this in style sheets .embed img{width:%; display:block;} Quote Link to comment https://forums.phpfreaks.com/topic/259872-changing-the-size-of-an-embed-object/#findComment-1343843 Share on other sites More sharing options...
Mahngiel Posted May 7, 2012 Share Posted May 7, 2012 I would recommend grabbing Firebug if you're going to be doing any web design, it just makes things so much simpler to troubleshoot. If you had it, you would easily be able to find the element measurement method. However, if that media is coming from an ad source, chances are the styling will be done inline and will nullify any stylesheet efforts you make. Quote Link to comment https://forums.phpfreaks.com/topic/259872-changing-the-size-of-an-embed-object/#findComment-1343844 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.