2011-06-07, 04:43 AM
2011-06-07, 07:17 AM
Banner/Logo is an image, it doesn't resized using any width attribute. You've to resize it using any Photo editing software like Photoshop.
2011-06-07, 07:38 AM
i am working on photoshop but i don't understand what banner size by default i made one banner
width 950 px
Height 160 px
width 950 px
Height 160 px
2011-06-07, 07:46 AM
If you've make it 950px wide then you've to edit your container's width to 950px as well.
2011-06-07, 08:18 AM
(2011-06-07, 04:43 AM)kokoko Wrote: [ -> ]i want to know what's my site header/ banner size that fit in any resolutions
This is possible. Check out this code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Resizable image</title>
<style type="text/css">
body {
width: 100%;
}
#container {
width: 90%;
margin: 0 auto;
}
#header img {
width: 100%;
}
</style>
</head>
<body>
<div id="container">
<div id="header">
<img src="http://www.bba-bn.net/include/designs/atrox_design/Bilder/header.png" />
</div>
</div>
</body>
</html>
Works fine in Chrome, Firefox, Opera, Safari, IE8, IE7 AND IE6.
If you only specify a width, the height will be set automatically to a proportional value.
2011-06-07, 08:36 AM
thanks