Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: IOS Reservations online hotel booking system for Elxis CMS.
 
Pages: [1] 2
  Print  
Author Topic: Graphics on different broswers  (Read 3095 times)
mkueb
Newbie
*
Offline Offline

Posts: 18


« on: December 29, 2008, 21:46:42 »

Hi everyone,

I notice there are different broswers that show different header and  content image sizes.

In Firefox, header image size looks fine. But, in Chrome and IE, header image is too wide or big.

How can I adjust them better in Chrome/IE? I tried adjusting templates and CSS...still no luck...

I hope you would help.

Thanks
Logged
Ivan Trebješanin
Elxis Team
Hero Member
*****
Offline Offline

Posts: 1646



WWW
« Reply #1 on: December 29, 2008, 22:39:09 »

You must show us the link. How can we talk about graphics, without seeing them???
Logged

I've got a snap in my finger...
Got rhythm in my walk...
mkueb
Newbie
*
Offline Offline

Posts: 18


« Reply #2 on: December 29, 2008, 22:57:09 »

Hi Ivan,

I apologize. Ok, here is http://www.betheldeafministries.org/tech/chrome.jpg and http://www.betheldeafministries.org/tech/firefox.jpg

Both are images.

Thanks
Logged
Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #3 on: December 30, 2008, 00:07:17 »

Please attach your template source + css files ... With this way we can help you more  Smiley
Logged

mkueb
Newbie
*
Offline Offline

Posts: 18


« Reply #4 on: December 30, 2008, 00:20:31 »

Hi Ivan,

Thanks! Included template, CSS, and Images files are too big. 1.19 MB

Can I email you?
Logged
Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #5 on: December 30, 2008, 00:21:53 »

Just include index.php and customize.css Wink
Logged

mkueb
Newbie
*
Offline Offline

Posts: 18


« Reply #6 on: December 30, 2008, 00:39:55 »

Allowed file types: doc, jpg, jpeg, pdf, png, txt, zip, gif
Maximum attachment size allowed: 128 KB, per post: 4

They are all images...css files are not accepted....


Thanks!
Logged
Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #7 on: December 30, 2008, 00:41:45 »

Oooops! Compress those 2 files in a zip file ... no graphics need
Logged

mkueb
Newbie
*
Offline Offline

Posts: 18


« Reply #8 on: December 30, 2008, 00:46:28 »

I attached them in zip file. I hope they work....

Thanks.... Smiley

* php_css.zip (5.22 KB - downloaded 68 times.)
Logged
Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #9 on: December 30, 2008, 00:58:02 »

Do you want that your header image be fit on the top ?
Logged

mkueb
Newbie
*
Offline Offline

Posts: 18


« Reply #10 on: December 30, 2008, 01:05:42 »

Yes please.....

Also, on the content page, I want big images fit on the content, too... Is that possible?

Just remember, Firefox looks good, but IE/Chrome need work...

Thanks.  Smiley
Logged
Ivan Trebješanin
Elxis Team
Hero Member
*****
Offline Offline

Posts: 1646



WWW
« Reply #11 on: December 30, 2008, 01:10:38 »

From what I see, you have overflow:hidden in main content div... just remove it and it will be ok. Wink
Logged

I've got a snap in my finger...
Got rhythm in my walk...
Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #12 on: December 30, 2008, 01:15:22 »

Replace :
Code:
<div id="oktoheader">
<div id="headright">
<!-- module Search loaded without template position -->
<?php elxLoadModule('mod_search', -2); ?>
<!-- module Language loaded without template position -->
<?php elxLoadModule('mod_language', -2); ?>
</div>
</div>

With :

Code:
<div id="oktoheader">

</div>
In: index.php

AND:
Replace :
Code:
#oktoheader {
text-align:left;
background: #78A1BB url(../images/elxislogo.jpg) no-repeat top left;
height: 75px;
border-bottom: 1px solid #1D4D6C;
}

With :

Code:
#oktoheader {
text-align:left;
background: #78A1BB url(../images/elxislogo.jpg) no-repeat top center;
height: 75px;
border-bottom: 1px solid #1D4D6C;
}
The new file elxislogo.jpg should replace with your header image ... and the color of your background should match on your background of image

background: #78A1BB url(../images/elxislogo.jpg) no-repeat top center;

Okto template has auto width dimension ... So you can set it to static by changing the value of width in this line :
Code:
#container {
padding: 0;
margin: 0;
width: 100%;
background: #C2C29C url(../images/bg.png) repeat 0 0;
text-align: center;
}

Change width to a static value (like 900px)

When you set the static width , On the content you can set your dimensions of your picture to a valid value to fit on there ... It should not be larger than that area ... you can get a screenshot from the final work and calculate dimensions on that area in a photo editor (like photoshop)
« Last Edit: December 30, 2008, 01:18:02 by Farhad Sakhaei » Logged

mkueb
Newbie
*
Offline Offline

Posts: 18


« Reply #13 on: December 30, 2008, 02:10:16 »

Hi there,

I followed your help and test them...

Take a look at two browsers:

http://www.betheldeafministries.org/tech/chrome_IE.jpg - content needs work.

http://www.betheldeafministries.org/tech/firefox.jpg

Looking forward to getting your help...

Thanks!  Smiley
Logged
Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #14 on: December 30, 2008, 02:13:57 »

Did you set the width to 900px ?
Logged

Pages: [1] 2
  Print  
 
Jump to: