2 replies [Last post]
Inflicted
Inflicted's picture
Offline
newbie
Haarlem, Netherlands
Last seen: 14 years 46 weeks ago
Haarlem, Netherlands
Joined: 2004-09-17
Posts: 6
Points: 0

I thought I had solved my problem, but it doesn'twork in Safari.
I have a php tag in my content block.

<div id="Content">
<?php @ require_once ("include.php"); ?>
</div>

In Safari the browser puts a space between the content
and the menu, and I can't figure out why. If I change it to a class:

<div class="Content">
<?php @ require_once ("include.php"); ?>
</div>

It works in Safari, but not in any other browser!

Is there another way to do this?

thanks

Fruitcake
Offline
Enthusiast
Perth, Australia
Last seen: 13 years 35 weeks ago
Perth, Australia
Timezone: GMT+8
Joined: 2004-04-12
Posts: 257
Points: 0

php tag???

Have you got an example?

Could php be adding any white-space?

I am Dan, Dan I am.

Inflicted
Inflicted's picture
Offline
newbie
Haarlem, Netherlands
Last seen: 14 years 46 weeks ago
Haarlem, Netherlands
Joined: 2004-09-17
Posts: 6
Points: 0

CSS for php in Safari?!?!?

Was away for a while...
Thanks for the reply.

Here are the examples:
HTML
CSS

Hope you know a workaround for this...

thanks