Template muddled all of a sudden [Solved]

Template muddled all of a sudden [Solved]

Postby RevTyler on Sun May 08, 2011 9:06 pm

Hey,

I'm pretty new to Lifetype and web-dev in general. I downloaded MirrorDarkBlue template and have been playing with it. I finished my mods a few weeks ago and it looked great. I don't look at my page much. The last time I checked it was a week or so ago, but now it's all skewed. I even tried putting in the original files and it's still acting strange. The extra-strange part is that it still looks fine on my android phone...

The standard template looks alright though.

Any ideas? Or do I just have to switch templates?

Tell me if it's just my browser? http://www.studioreveries.com
Last edited by RevTyler on Tue May 10, 2011 5:01 pm, edited 1 time in total.
RevTyler
 
Posts: 3
Joined: Sun May 08, 2011 9:02 pm
LifeType Version: 1.2.11

Re: Template muddled all of a sudden

Postby jondaley on Mon May 09, 2011 1:36 pm

Works for me. (firefox 3.6, linux)

Maybe you have some sort of weird thing cached in your browser?
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Re: Template muddled all of a sudden

Postby RevTyler on Mon May 09, 2011 5:11 pm

Very strange... I'm on Firefox 4.0 and it garbled. IE 8 garbles it as well...

If it looks fine I suppose that's alright. Maybe I'll downgrade firefox to 3.6.
RevTyler
 
Posts: 3
Joined: Sun May 08, 2011 9:02 pm
LifeType Version: 1.2.11

Re: Template muddled all of a sudden

Postby raciloni on Tue May 10, 2011 4:28 pm

in the header.template file search for :

Code: Select all
    <div class="topm-4"><a href="{$url->templatePage("projects")}" title="Projects" class="styleMenu">Projects</a</div>
    <div class="topm-4"><a href="{$url->templatePage("contact")}" title="Contact" class="styleMenu">Contact</a</div>


and replace it with :


Code: Select all
    <div class="topm-4"><a href="{$url->templatePage("projects")}" title="Projects" class="styleMenu">Projects</a></div>
    <div class="topm-4"><a href="{$url->templatePage("contact")}" title="Contact" class="styleMenu">Contact</a></div>
raciloni
 
Posts: 7
Joined: Sun Dec 13, 2009 3:22 pm
LifeType Version: lifetype-1.2.11_r711

Re: Template muddled all of a sudden

Postby RevTyler on Tue May 10, 2011 5:01 pm

Fantastic!

Haha... silly mistake. Thank you :D
RevTyler
 
Posts: 3
Joined: Sun May 08, 2011 9:02 pm
LifeType Version: 1.2.11

Re: Template muddled all of a sudden [Solved]

Postby jondaley on Thu May 12, 2011 1:00 pm

Interesting. That is obviously bad HTML, but I'd expect browsers to be able to realize it and not get thrown off for the rest of the page.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch


Return to Templates

cron