JAB Creations
Sun 23rd May '04, 5:55am
Hello everyone!
This code will just print out HTML only *IF* it detects IE.
<if condition="is_browser('ie')">
<div class="div-content">
<else />
</if>
This code is to counter that by adjusting the site if it does not detect IE.
<if condition="is_browser('ie')">
<else />
<table border="0" cellpadding="0" cellspacing="0" class="table-content-forum"><tr><td>
</if>
This is found in my admin in the common templets in the header box. These codes allow all browsers to scroll correctly instead of having to click and drag the scrollbar which requires effort, and we don't like having to make an effort!! :D
Alas we aren't in the right place if we don't want to make an effort :mad: IoI....
Anyway I want to stick this code into a regular PHP file but I keep getting all sorts of funky stuff messing up the php file at server side.
So how do I correct the syntex? Am I correct in assuming that the header box is just the content for the $header string? I'm sure it's something blatantly simple. :rolleyes:
This code will just print out HTML only *IF* it detects IE.
<if condition="is_browser('ie')">
<div class="div-content">
<else />
</if>
This code is to counter that by adjusting the site if it does not detect IE.
<if condition="is_browser('ie')">
<else />
<table border="0" cellpadding="0" cellspacing="0" class="table-content-forum"><tr><td>
</if>
This is found in my admin in the common templets in the header box. These codes allow all browsers to scroll correctly instead of having to click and drag the scrollbar which requires effort, and we don't like having to make an effort!! :D
Alas we aren't in the right place if we don't want to make an effort :mad: IoI....
Anyway I want to stick this code into a regular PHP file but I keep getting all sorts of funky stuff messing up the php file at server side.
So how do I correct the syntex? Am I correct in assuming that the header box is just the content for the $header string? I'm sure it's something blatantly simple. :rolleyes: