/    Sign up×
Community /Pin to ProfileBookmark

Include file shown correctly in FF not in IE

I use a simple include file command (ASP) to show my navigation menu and header on each page…
For some reason IE present the main content under the include part instead of next to it, while Firefox show’s it correctly.

[B]website:
[url]http://www12.asphost4free.com/stoner/index.asp[/url][/B]

There is a link on the website (on the navigation menu) where you can view my CSS code.

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@jogolApr 21.2006 — [URL=http://nemesis1.f2o.org/aarchive?id=11]Curing float drops and wraps[/URL]
Copy linkTweet thisAlerts:
@stonerauthorApr 21.2006 — Thanks...

But how would you explain the fact that its working perfectly when its just the .html and .css files.... and when I put part of it as an include file the position of the objects change .
Copy linkTweet thisAlerts:
@WebJoelApr 22.2006 — the proper way to write shorthand for css' background is:

[B]background: background-color | background-image | [SIZE=3]background-repeat[/SIZE] | background-attachment | background-position; [/B]

so, it should look more like:

[B]background: #f4f4f4 url("bg.gif") repeat-y top center;[/B]

Your *css is
[CODE]background: #f4f4f4 url(images/bg.gif) top center [B]repeat-y[/B];[/CODE]
You want the "repeat-y" part immediately after the (images/bg.gif)

It does seem to work the way you have it in your page though...
×

Success!

Help @stoner spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...