# Header Pic

**URL:** <https://forum.phpvms.net/t/header-pic/2947>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [July 1, 2010, 3:01am UTC](https://forum.phpvms.net/t/header-pic/2947 "2010-07-01T03:01:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [July 1, 2010, 3:01am UTC](https://forum.phpvms.net/t/header-pic/2947/1 "2010-07-01T03:01:17Z")

</div>

I need to have my header pic resize so it fits in a smaller resolution monitor. ie. it gets cut off at the end. I believe I need to put something in the .css file so it changes it size as needed?!

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [July 1, 2010, 4:40am UTC](https://forum.phpvms.net/t/header-pic/2947/2 "2010-07-01T04:40:54Z")

</div>

> I need to have my header pic resize so it fits in a smaller resolution monitor. ie. it gets cut off at the end. I believe I need to put something in the .css file so it changes it size as needed?!

You might, depends on what skin you are using.

in the css, look for the header part for it.

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [July 1, 2010, 4:55pm UTC](https://forum.phpvms.net/t/header-pic/2947/3 "2010-07-01T16:55:10Z")

</div>

Yes, I know …but what code would I put in the .css file to make the image resize automatically. I am at work, so I can’t foraward the code I am using right now.

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [July 1, 2010, 6:15pm UTC](https://forum.phpvms.net/t/header-pic/2947/4 "2010-07-01T18:15:19Z")

</div>

you might want to try this [External Link](http://archivist.incutio.com/viewlist/css-discuss/105064)

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [July 2, 2010, 2:56am UTC](https://forum.phpvms.net/t/header-pic/2947/5 "2010-07-02T02:56:55Z")

</div>

No, see…I start to read some of that and it confuses me more. In my .css file, where the image is, it has:

td.horizontal\_center {

background-color: #FFFFFF;

border-top-width: 0px;

border-right-width: 0px;

border-bottom-width: 0px;

border-left-width: 0px;

border-top-style: solid;

border-right-style: solid;

border-bottom-style: solid;

border-left-style: solid;

border-top-color: #FFFFFF;

border-right-color: #FFFFFF;

border-bottom-color: #FFFFFF;

border-left-color: #FFFFFF;

height: 155px;

display: table-cell;

vertical-align: top;

background-image: url(images\_template1/topbanner2.jpg);

background-repeat: no-repeat;

background-position: bottom left;

}

I have NO idea how to add a auto resize type attribute?! Can anyone help me out with this?!

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [July 2, 2010, 3:17am UTC](https://forum.phpvms.net/t/header-pic/2947/6 "2010-07-02T03:17:38Z")

</div>

I’m not sure. I changed the resolution of my monitor from 1680 to 1024 and your header looks fine. It seems to be centering itself perfectly.

> Without knowing exactly what your .css looks like, what you can try is adding
> 
> > width:100%;
> 
> or something like that. Other than that, I just don’t know.

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [July 2, 2010, 2:35pm UTC](https://forum.phpvms.net/t/header-pic/2947/7 "2010-07-02T14:35:05Z")

</div>

Yeah, it is fine in bigger resolutions. But the right side gets cut off in smaller resolutions. Apparently people still use 1024 and 1280 widths!

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [July 2, 2010, 5:05pm UTC](https://forum.phpvms.net/t/header-pic/2947/8 "2010-07-02T17:05:28Z")

</div>

That’s what I said in last post. I use 1680 (highest I can go) I reset it to 1024 and looked at your site and it looked fine. That was with Firefox, I didn’t check it in IE.

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [July 3, 2010, 1:25am UTC](https://forum.phpvms.net/t/header-pic/2947/9 "2010-07-03T01:25:25Z")

</div>

It cuts off the end of the picture! On either firefox or IE. It may look fine to you, but it should show “We’re out to be your airline” on the right side. Kind of obvious, I thought. But good that you didn’t notice, I guess.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [July 3, 2010, 1:57am UTC](https://forum.phpvms.net/t/header-pic/2947/10 "2010-07-03T01:57:06Z")

</div>

There’s no way to really fix this without a fluid layout and sizing the header itself to fit. Maybe add an overflow property

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [July 3, 2010, 5:22pm UTC](https://forum.phpvms.net/t/header-pic/2947/11 "2010-07-03T17:22:53Z")

</div>

I have no idea what that means I will just change the pic itself to fit all. Not a giant deal really. I just find there are so many resources out there to find out how do do things, but then, they are not so easy to understand how to get them to work easily with phpvms sometimes. I am just happy I can get phpvms working for my site and appreciate all the amazing work of people on here!!!
