A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Safari CSS debug - sfpostcontent
Jun 29, 2010
5:42 pm
Member
Forum Posts: 103
Member Since:
May 8, 2010
Offline

p_width 943

c_widt 968

Jun 30, 2010
4:35 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

And they are correct values as I recall.

So it looks like something else is in play when using those browsers on a PC. I do not have access to a PC so I can not take a look myself but I think you should, perhaps, start to take a look at what plugins you have active to see if any of those are havng an effect. Also try briefly switching to the WP default theme to see if your theme might be the cause.

Yellow Swordfish
Jul 1, 2010
2:31 am
Member
Forum Posts: 103
Member Since:
May 8, 2010
Offline

Tried disable all plugins, changing themes etc … still same thing ^^

 

Ive tried to test on fresh installation and the result is the same. The issue is prob a css related conflict in between, that specific theme and the div structure of the forum … maybe the solution is something like coloring the background in the div behind the post div white or so … since the placement of the text is in the correct place.

Jul 1, 2010
3:34 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

I really can't think of anything that would be the cause. We have no other reports of specifically Safari/Chrome – PC display problems and we do test those browsers under Windows.

You could try removing the word-wrap code although the cookie values you gave me should work just fine. But if you want to gve it a try then you need the file sf-header-forum.php. Function sf_setup_header() and look for and delete the following code section:

# set word wrap to the cookies p value
if(isset($_COOKIE["p_width"]) && isset($_COOKIE["c_width"]))
{
    $c_width = $_COOKIE["c_width"];
    $p_width = $_COOKIE["p_width"];
    if($p_width > $c_width ? $w = ($c_width-80) : $w = $p_width);
    ?>
    <style type="text/css">
    .sfpostcontent p, .sfpostcontent pre {
        width: <?php echo($w); ?>px !important;
        text-wrap: normal;
        word-wrap: break-word;
    }
    td.source {
        max-width: <?php echo($w-40); ?>px !important;
        text-wrap: normal;
        word-wrap: break-word;
    }
    </style>
    <?php
}
Yellow Swordfish
Jul 1, 2010
5:22 pm
Member
Forum Posts: 103
Member Since:
May 8, 2010
Offline

Hehe that didnt work either.

Ive noticed that it displays the same way on my iphone and that i cannot write any text (make the text field activate the keyboar on the phone) in the tetx field on the iphone .. strange

Jul 2, 2010
2:44 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

have you determined that other users have this display issue with Safari/Chrome for Windows?

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: irlandes1, MacBravO
58 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2626

Members: 7363

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10895

Posts: 79576

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22236), Mr Papa (23688)