blueman378 Posted February 15, 2009 Share Posted February 15, 2009 Hi guys, using Chrome on Vista seems to give a strange alignment issue with attaching images, ironically ill attach a screenshot. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/ Share on other sites More sharing options...
trq Posted February 15, 2009 Share Posted February 15, 2009 Isn't chrome in beta? Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762641 Share on other sites More sharing options...
Daniel0 Posted February 15, 2009 Share Posted February 15, 2009 Isn't chrome in beta? No, it was taken out of beta a while ago. Anyway, I don't know why it would behave like that. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762642 Share on other sites More sharing options...
blueman378 Posted February 15, 2009 Author Share Posted February 15, 2009 just checking but i believe the glitch doesnt happen on the original post only its sucessors. and no chrome is not beta anymore. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762643 Share on other sites More sharing options...
blueman378 Posted February 15, 2009 Author Share Posted February 15, 2009 nope thats really wierd, it works fine here. maybe its something to do with them being 1 after the other? Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762644 Share on other sites More sharing options...
Daniel0 Posted February 15, 2009 Share Posted February 15, 2009 It happens for me in this topic as well. Chrome on XP. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762648 Share on other sites More sharing options...
blueman378 Posted February 15, 2009 Author Share Posted February 15, 2009 what resoloution are you using? im 1280x1024 ah ok now its changed on this topic, now the top attachement is gone wierd, but the second one is fine... thats lost me completly. ah well guess its jsut something we will have to put up with, if more people complain then fix it? Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762649 Share on other sites More sharing options...
blueman378 Posted February 15, 2009 Author Share Posted February 15, 2009 firefox is slightly buggy as well, although the image is in the right place the line extends out too far. ill have a play around with the web dev toolbar let you know what i find. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762651 Share on other sites More sharing options...
blueman378 Posted February 15, 2009 Author Share Posted February 15, 2009 that fixes it in firefox, on the class .attachments {forum.css (line 353) changing clear:right; to clear:both; that should fix it in chrome as well. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762653 Share on other sites More sharing options...
Daniel0 Posted February 15, 2009 Share Posted February 15, 2009 This is a diff of the vanilla stylesheet (style.css) and our stylesheet (style_mod.css): --- style.css 2009-01-10 12:48:42.000000000 -0500 +++ style_mod.css 2009-02-15 05:49:40.000000000 -0500 @@ -1,3 +1,25 @@ +#header { + width: 100%; + background: url(/media/images/forums/bg_header.png) repeat-x; + height: 133px; + margin: 0; + padding: 0; +} + +#header h1 { + padding: 0; + margin: 0; +} + +#header h1 a { + text-indent: -9999em; + width: 429px; + height: 133px; + background: url(/media/images/forums/logo.png) no-repeat; + display: block; + outline: none; +} + /* ************************************* */ /* Common styles for the theme */ /* ************************************* */ @@ -241,23 +263,23 @@ /* A quote, perhaps from another post. */ blockquote { - color: #000000; - background-color: #D7DAEC; - border: 1px solid #000000; + background: url(images/quote_bg.png) 5px 5px no-repeat #eee; + border: 1px solid #AAA; margin: 1px; - padding: 1px; - font-size: x-small; + padding: 5px 5px 5px 28px; + font-size: 8pt; line-height: 1.4em; } /* A code block - maybe even PHP . */ -code +code, .phpcode { color: #000000; background-color: #dddddd; display: block; font-family: "courier new", "times new roman", monospace; - font-size: x-small; + /*font-size: x-small;*/ + font-size: 9pt; line-height: 1.3em; /* Put a nice border around it. */ border: 1px solid #000000; @@ -393,6 +415,17 @@ background-color: #E0E1E8; } +/* Solved Topic Background colors */ +.solvedbg { + color: #000000; + background-color: #D6F5D3; +} +.solvedbg3 { + color: #000000; + background-color: #D6EFDC; +} + + /* Color for background of posts requiring approval */ .approvebg { @@ -529,6 +562,7 @@ width: 100%; overflow: auto; line-height: 1.3em; + font-size: 85%; } /* Sometimes there will be an error when you post */ @@ -865,4 +899,4 @@ padding: 2px; cursor: pointer; color: white; -} \ No newline at end of file +} that fixes it in firefox, on the class .attachments {forum.css (line 353) changing clear:right; to clear:both; that should fix it in chrome as well. Doing that adds a large amount of vertical whitespace in the post body. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762655 Share on other sites More sharing options...
blueman378 Posted February 15, 2009 Author Share Posted February 15, 2009 yes i just noticed that. there doesnt seem to be anything in the diff to cause it must be an error with the original theme. ill keep playing if i see anything that works without adverse side effects ill let you know. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-762657 Share on other sites More sharing options...
Mchl Posted February 26, 2009 Share Posted February 26, 2009 Another example here: http://www.phpfreaks.com/forums/index.php/topic,240597.0/topicseen.html FF3 on Vista 1440x900 Will attach screenshot if needed. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-771959 Share on other sites More sharing options...
Maq Posted February 26, 2009 Share Posted February 26, 2009 Another example here: http://www.phpfreaks.com/forums/index.php/topic,240597.0/topicseen.html FF3 on Vista 1440x900 Will attach screenshot if needed. I get the attachment picture in the top middle part of the topic as well. FF3 on Ubuntu 8.10 Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-771969 Share on other sites More sharing options...
blueman378 Posted March 2, 2009 Author Share Posted March 2, 2009 This is more a problem with the original SMF theme isnt it? Ill send them a support ticket requesting them to look at this topic. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-774394 Share on other sites More sharing options...
nrg_alpha Posted March 2, 2009 Share Posted March 2, 2009 I was just about to submit this error and found this thread. This issue seems to be with Chrome/Safari (win) [not sure how attachments render with Mac users thought]. Quote Link to comment https://forums.phpfreaks.com/topic/145278-image-attachments-gone-haywire/#findComment-774823 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.