Fixed width and height of html index opening from new_blank -
i've searched around , couldn't find i'm looking for. problem following:
i have website , website has seccion that's on air in there flash player , links, both placed inside column in center of html page.
http://www.radiolacrema.com/envivo
this web page accessed link. browser , image displaying on air within home of website, when clicked home opens in new_blank , wish open in fixed width + height ( 430x800 ) , have background fixed size.
is possible? i've tried using following:
<div id="container" style="width: 420px; height: 400px; overflow: hidden">
containing whole body structure had no luck, sticks left , browser window still maximized, background.
hope can understand need with. want people click on image , have pop open fixed width, fixed height , not full window, can
i'm not sure if you're looking check out demo below.
css:
body { background-image: url(http://www.radiolacrema.com/fondo21.jpg); position:fixed; } .container { margin-left:400px; margin-top:50px; }
jquery:
$(document).ready(function() { $("[class~='floatnowrap']").each(function () { $(this).css("width", $(this).outerwidth()); }); });
jfiddle: http://jsfiddle.net/lynchjustrules/efj9j/
after doing research, don't think can resize browser window in chrome, if want specific sizes tablets , mobile devices, should check out @media css tricks here: http://css-tricks.com/css-media-queries/
Comments
Post a Comment