![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Server Side Includes Issue
Hi All,
I have an interesting issue with server side includes and IE7. This what the page should look like: http://www.duralantiques.com.au/newindex.html But this is what it looks like using SSI. http://www.duralantiques.com.au/newindexssi.html See how it automagically creates the margin between the header and menu, then between the content and the footer. What's even more bizzare it doesn't create the gap between the menu and the content Here is the SSI page <!--#include virtual="header.shtml"--> <!--#include virtual="menu.shtml"--> <div id="mycontent"> <!-- Open Main Content --> <p><img alt="Inside" src="images/inside.jpg" class="rightpic" /><span class="bold">Dural Antiques</span> is housed in beautiful, colonial style premises, custom built by the owners, Donna and Anton Lees, for an antique shop/centre. There is a large 4000sq.ft.(approx. 400sq. metres) showroom, big workshop facilities, large storeroom for overflow stock, facilities for unloading 40ft containers, parking on site for up to 20 cars, and the whole building is highly secure from break-ins and even ram raids. </p> <p>The multi-award winning and highly successful business has been established for over 20 years and has a large and loyal customer base from the surrounding (and quickly growing) Hills District, about 40mins north-west of the Sydney CBD. Set in a high profile position on a main road, there’s constant passing traffic and yet the premises has a rural outlook. </p> <p>The owners do not need to travel to acquire new stock. They benefit from house calls, deceased estates, and locals bringing goods to sell as constant fresh stock. The business attracts many thousands of people annually, has a massive mailing list and a steadily growing customer base. In short, Dural Antiques is a highly successful, long established, award-winning business, with a constantly growing customer base, and new goods coming through the door. It’s set in a highly secure, custom-designed building, surrounded by an area of established buyers and collectors amidst one of the fastest growing communities in New South Wales. </p> </div> <!-- close main content --> <!--#include virtual="footer.shtml"--> Any help would be great. Cheers Evan |
|
|||
|
RE: Server Side Includes Issue
Answered my own question.
Make sure you remove the new BOM(Byte Order Mark) tag being added to your web documents by certain web authoring software. "Evan" wrote: > Hi All, > > I have an interesting issue with server side includes and IE7. > This what the page should look like: > http://www.duralantiques.com.au/newindex.html > > But this is what it looks like using SSI. > http://www.duralantiques.com.au/newindexssi.html > > See how it automagically creates the margin between the header and menu, > then between the content and the footer. What's even more bizzare it doesn't > create the gap between the menu and the content > > Here is the SSI page > <!--#include virtual="header.shtml"--> > <!--#include virtual="menu.shtml"--> > <div id="mycontent"> <!-- Open Main Content --> > <p><img alt="Inside" src="images/inside.jpg" class="rightpic" /><span > class="bold">Dural Antiques</span> is housed in beautiful, colonial style > premises, custom built by the owners, Donna and Anton Lees, for an antique > shop/centre. There is a large 4000sq.ft.(approx. 400sq. metres) showroom, big > workshop facilities, large storeroom for overflow stock, facilities for > unloading 40ft containers, parking on site for up to 20 cars, and the whole > building is highly secure from break-ins and even ram raids. > </p> > <p>The multi-award winning and highly successful business has been > established for over 20 years and has a large and loyal customer base from > the surrounding (and quickly growing) Hills District, about 40mins north-west > of the Sydney CBD. Set in a high profile position on a main road, there’s > constant passing traffic and yet the premises has a rural outlook. > </p> > <p>The owners do not need to travel to acquire new stock. They benefit from > house calls, deceased estates, and locals bringing goods to sell as constant > fresh stock. The business attracts many thousands of people annually, has a > massive mailing list and a steadily growing customer base. In short, Dural > Antiques is a highly successful, long established, award-winning business, > with a constantly growing customer base, and new goods coming through the > door. It’s set in a highly secure, custom-designed building, surrounded by an > area of established buyers and collectors amidst one of the fastest growing > communities in New South Wales. > </p> > </div> <!-- close main content --> > <!--#include virtual="footer.shtml"--> > > Any help would be great. > > Cheers > Evan |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|