Weather by You!

Templates and Projects support => Php templates => Topic started by: Andy9164 on November 29, 2013, 08:33:05 AM

Title: Pages show differently depending on browser
Post by: Andy9164 on November 29, 2013, 08:33:05 AM
Straight to the point...is there any way you can get the data to show the same in different browser types.

I am trying to learn and using WB_2 template as a basis. Have made some good progress but I am getting extremely frustrated that when I get a page looking right using Firefox as my design tool I then view in IE or Safari and some things are in the wrong place.

A good example, I loaded the index_txt file. Looks great in Firefox even if I don't change anything. when I look in IE the data in the cells is centered.

Here is the line from the txt file which says "left".
<td colspan="4" class="tableseparator"><style="text-align: left;">

Why does IE decide to centre it??

Have cleared the cache on IE etc.

Any help greatly appreciated.

Andy

Title: Re: Pages show differently depending on browser
Post by: Mr.Meteo on November 29, 2013, 09:38:54 AM
Hi Andy,

To be sure of the way it should be in different browsers, you could verify
with demo page: http://weatherbyyou.com/demo/Weather_blues_v2/

The syntax you are showing in your post is wrong:
<td colspan="4" class="tableseparator"><style="text-align: left;">

Right way should be:
<td colspan="4" class="tableseparator" style="text-align: left;">

Hope this help!

Regards,
Jacques
Ps. Templates are allways tested with newest version of IE, Firefox and Chrome
Title: Re: Pages show differently depending on browser
Post by: Andy9164 on November 29, 2013, 03:22:11 PM
Thanks Jacques for correcting my syntax. As I said I am "learning" and as we say, 3 steps forward, 2 steps back.

I also apologise, I cut the text from the wrong line. It was the table data which was ok in Firefox but not IE. Seems I either lost (or needed) a text-align: left; in the td section of styles.css. Makes me think that if its not specified Firefox defaults to left and IE to center.

Have attached poor quality picture of my project so far. As you can see it is based around WB_2 layout but different. Hope you don't mind. I will give WBY links and credits on the pages when finished.

Andy
Title: Re: Pages show differently depending on browser
Post by: Mr.Meteo on November 29, 2013, 05:28:11 PM
Hi Andy,
Your Weather Shed adaptation is great!  8)

You've learned a lot!!

Regards,
Jacques