Welcome to SP!  -
Areas & RangesMountains & RocksRoutesImagesArticlesTrip ReportsGearOtherPeoplePlans & PartnersWhat's NewForum

SPv3 formatting problems

Suggestions and comments about SummitPost's features, policies, and procedures. Post bugs here.
 

Re: SPv3 formatting problems

Postby Dow Williams » Sat Jan 26, 2013 10:07 pm

Josh Lewis wrote:@ Dow Wiliams, the bullet points were not working due to invalid HTML. You need to have the
Code: Select all
<ul></ul>
in the code. I placed it in the page you mentioned. But you need to apply this to the links. :wink:


Thanks for the thought Josh...but don't do that again....whatever you did threw off margins on the top and bottom and it took me a bit to get it back....it is all fine...I am not to worried what any of it looks like at the moment....
User Avatar
Dow Williams

 
Posts: 2349
Joined: Mon Jul 12, 2004 1:59 pm
Location: Utah and Canadian Rockies
Thanked: 219 times in 101 posts

Re: SPv3 formatting problems

Postby Bubba Suess » Sat Jan 26, 2013 10:08 pm

Montana Matt wrote:OK, was finally able to track down the issue with sections that only have HTML in them not displaying. Should be fixed now.

They are working again on my pages. Thanks Matt!
User Avatar
Bubba Suess

 
Posts: 697
Joined: Tue Oct 04, 2005 9:15 pm
Location: Mount Shasta, California, United States
Thanked: 173 times in 97 posts

Re: SPv3 formatting problems

Postby chugach mtn boy » Sat Jan 26, 2013 10:26 pm

Montana Matt wrote:OK, was finally able to track down the issue with sections that only have HTML in them not displaying. Should be fixed now.


Fixed on my pages. Thanks.
User Avatar
chugach mtn boy

 
Posts: 888
Joined: Sat Jun 10, 2006 7:54 pm
Location: Anchorage, Alaska, United States
Thanked: 181 times in 109 posts

Re: SPv3 formatting problems

Postby boyblue » Sun Jan 27, 2013 12:31 am

rgg wrote:I fiddled some more, and got it working with a vertical scroll bar too! Here is the code:

Code: Select all
<noformat>
<center>
<table class='thumb'>
  <tr>
   <td style="text-align:center;">
    <div style="width:770px;height:470px;overflow:auto;">
     <a href=/view_object.php?object_id=832086>
      <img src="http://www.summitpost.org/images/original/832086.jpg">
     </a>
    </div>
    <br>180 Degree Panorama From Summit
   </td>
  </tr>
</table>
</center>
</noformat>


And here is the preview.


Thanks, Rob! I just implemented your code and it works perfectly. I see it even fixed the visibility issue of the caption. :D
-Gordon
User Avatar
boyblue

 
Posts: 131
Joined: Sat Feb 15, 2003 9:30 am
Location: Newark, California, United States
Thanked: 71 times in 44 posts

Re: SPv3 formatting problems

Postby Josh Lewis » Sun Jan 27, 2013 1:17 am

Edit: Not quite sure what to do about the situation I mention below, align="center" is deprecated as well. :x :x

Folks, just a heads up, I see all this panorama code going around. I strongly suggest not using the center tag but instead including in the table something like this:

Code: Select all
<table class='thumb' align='center'><tr><td>  Code...</td></tr></table>


The main difference was I added a align='center'. This is because it is deprecated by the W3C. The reasoning for this is because HTML tags are intended to be used for display and not formatting. So as a result, they dropped support for it. For now it doesn't really affect us, but for the future we should have good practice now. Use the align attribute! Plus, center tag is actually more characters. :wink:

For those who are curious, <div align="center"></div> does the same thing as <center><div></div></center>. There's a phrase out there that less is more. 8)
Last edited by Josh Lewis on Sun Jan 27, 2013 7:07 pm, edited 1 time in total.
My Websites: Alpine Josh · Alpine Ascent · AceMaps
User Avatar
Josh Lewis

 
Posts: 2275
Joined: Thu Jan 06, 2011 11:12 pm
Location: Lynnwood, Washington, The Cloudiest Place on Earth, United States
Thanked: 472 times in 323 posts

The following user would like to thank Josh Lewis for this post
boyblue

Re: SPv3 formatting problems

Postby mrchad9 » Sun Jan 27, 2013 1:33 am

I am impressed by the folks who can understand every post in this thread.

Now where is that copy of Euler's formula I had...
User Avatar
mrchad9

 
Posts: 4174
Joined: Thu Jul 02, 2009 12:01 am
Location: San Ramon, California, United States
Thanked: 1202 times in 814 posts

Re: SPv3 formatting problems

Postby Montana Matt » Sun Jan 27, 2013 1:38 am

Dow Williams wrote:Matt, you guys kind of shot yourselves in the foot on the photo layout within each beta page. I thought you guys might add some sort of image tool. You need to make it easier, not harder.

There will be a change (or additional option) to the submission interface coming soon. "Soon" being a relative term because changing such a thing isn't easy and will require some serious effort.
Dow Williams wrote:Ryle, or whoever designed it originally at least had some insight that a climber or whoever could put his photos in one place and they would free flow to the side, not worrying about hard page/paragraph breaks

Actually, that was me that designed it the first time too. I think it really came down to the fact that Josh, Ryle and I didn't know/care about HTML/CSS enough at that time to do it the "right" way. I understand that change is hard, but the current implementation is way better than the previous one.

Does it break the formatting on some pages? Yes, but not all that many.

Does it improve the overall readability and format of the site? Yes, most definitely.

The content submission interface wasn't ever really all that great. Going forward, we're going to move to a more modern system. I'm looking at some WYSIWYG (What You See IS What You Get) interfaces to make the submission process easier.
User Avatar
Montana Matt
Site Admin
 
Posts: 1135
Joined: Sun Apr 11, 2004 10:06 pm
Location: Ashland, Oregon, United States
Thanked: 340 times in 184 posts

Re: SPv3 formatting problems

Postby Josh Lewis » Sun Jan 27, 2013 3:04 am

Please report your bugs to this page:
http://www.summitpost.org/known-issues- ... -v3/835415

This will help organize the issues and help separate solved from unsolved.
My Websites: Alpine Josh · Alpine Ascent · AceMaps
User Avatar
Josh Lewis

 
Posts: 2275
Joined: Thu Jan 06, 2011 11:12 pm
Location: Lynnwood, Washington, The Cloudiest Place on Earth, United States
Thanked: 472 times in 323 posts

Re: SPv3 formatting problems

Postby Gangolf Haub » Sun Jan 27, 2013 9:05 am

Small issue since I don't think anyboy else ever used this: the annotation in panoramas is off. I'm afraid I should never have used it but it seemed such agood idea at the time ...

Example:
http://www.summitpost.org/gro-er-gabler ... nde/251660
User Avatar
Gangolf Haub
Forum Moderator
 
Posts: 8384
Joined: Wed Nov 12, 2003 4:28 pm
Location: Mainz, Germany
Thanked: 507 times in 286 posts

Re: SPv3 formatting problems

Postby rgg » Sun Jan 27, 2013 11:15 am

Josh Lewis wrote:Folks, just a heads up, I see all this panorama code going around. I strongly suggest not using the center tag but instead including in the table something like this:

Code: Select all
<table class='thumb' align='center'><tr><td>  Code...</td></tr></table>


The main difference was I added a align='center'. This is because it is deprecated by the W3C. The reasoning for this is because HTML tags are intended to be used for display and not formatting. So as a result, they dropped support for it. For now it doesn't really affect us, but for the future we should have good practice now. Use the align attribute! Plus, center tag is actually more characters. :wink:

For those who are curious, <div align="center"></div> does the same thing as <center><div></div></center>. There's a phrase out there that less is more. 8)



Hi Josh,

Like the <center> tag, the align attribute itself is also deprecated as of HTML 4.01 and not officially supported in HTML 5. I tried getting stuff centered without using either of them, but found it rather tricky. I tried things like <div style="text-align:center;">...</div> around the whole thing (that is, instead of the <center>...</center>), but that didn't quite do what I wanted. I guess I don't complete understand CSS and HTML, and learning it isn't made any easier by the fact that browsers don't completely follow the rules...

However, even though deprecated, there must be such an enormous number of HTML pages around using center as a tag or attribute that I can't believe that any serious browser will actually stop supporting it anytime soon. Therefore I'll keep using both for the time being.

Cheers, Rob
User Avatar
rgg

 
Posts: 433
Joined: Sat Oct 02, 2010 7:15 pm
Location: Amsterdam, Netherlands
Thanked: 96 times in 76 posts

The following user would like to thank rgg for this post
Josh Lewis

Re: SPv3 formatting problems

Postby rgg » Sun Jan 27, 2013 11:28 am

Gangolf Haub wrote:Small issue since I don't think anyboy else ever used this: the annotation in panoramas is off. I'm afraid I should never have used it but it seemed such agood idea at the time ...

Example:
http://www.summitpost.org/gro-er-gabler ... nde/251660


If, by annotation, you mean the caption, then yes, some of us noticed. In this post above I posted my latest version of improved code that fixes it for sliding panorama's. I still have to go through a bunch of my pages to get them right again, and I might still improve my latest improvement (for example by not using the deprecated center tag and align attribute).

Cheers, Rob
User Avatar
rgg

 
Posts: 433
Joined: Sat Oct 02, 2010 7:15 pm
Location: Amsterdam, Netherlands
Thanked: 96 times in 76 posts

Re: SPv3 formatting problems

Postby Gangolf Haub » Sun Jan 27, 2013 11:56 am

rgg wrote:
Gangolf Haub wrote:Small issue since I don't think anyboy else ever used this: the annotation in panoramas is off. I'm afraid I should never have used it but it seemed such agood idea at the time ...

Example:
http://www.summitpost.org/gro-er-gabler ... nde/251660


If, by annotation, you mean the caption, then yes, some of us noticed. In this post above I posted my latest version of improved code that fixes it for sliding panorama's. I still have to go through a bunch of my pages to get them right again, and I might still improve my latest improvement (for example by not using the deprecated center tag and align attribute).

Cheers, Rob

No, Rob, I mean the labels for the mountains. It was a hell of a job to get the coordinates right in the first place, which is why I don't use this feature anymore. Also, they have a history of looking slightly different on different browsers. I just realized that the problem does only occur on firefox, not on IE, which is why you probably didn't even see it.

As I said - minor problem.
User Avatar
Gangolf Haub
Forum Moderator
 
Posts: 8384
Joined: Wed Nov 12, 2003 4:28 pm
Location: Mainz, Germany
Thanked: 507 times in 286 posts

The following user would like to thank Gangolf Haub for this post
rgg

Re: SPv3 formatting problems

Postby Dow Williams » Sun Jan 27, 2013 3:48 pm

Montana Matt wrote:The content submission interface wasn't ever really all that great. Going forward, we're going to move to a more modern system. I'm looking at some WYSIWYG (What You See IS What You Get) interfaces to make the submission process easier.


I was over at Dixie University's computer department discussing my ideas for a broader use of my beta, etc....(used to be Dixie College until Friday)...Keep in mind this use to be a jr college until this year...but right away they showed me "image tools" (I requested KISS terminology whilst speaking in front of me!) that do exactly that....and I was under the impression you surely were going to make that significant change....that is what climbers, kayakers, mountain bikers, alpinists, bc skiers, etc. need Matt. All along, this site has been way too complicated for new contributors...even someone like me got so use to writing pages that I could not see how important a change like that should have been until now....but I have always received feedback from users of my beta that contributing to the site was too difficult and time consuming....

To make a half step to cost me 40 hrs of work to revise every page, but did not eliminate a step in the contribution process, in fact added one in terms of guessing how images align, was a bit short sighted you have to admit. I advise you think all these items through before making changes in the future. Either go all the way to your final objective with every minute change or don't make it. I am too much of a perfectionist not to correct all my maligned pages...can't stand the beta looking like crap for x amount of time...but my trust of these kind of changes without any input from major contributors, has been challenged.

I commend all three of you for your effort. Chad and Josh not being paid a dime, that is truly "giving" first and foremost (same as putting your money where your mouth is sort of thing), so I can't complain about being forced to sit in front of my computer longer than I want. These two, no matter their intent/success, contributed way more hours than that I am sure....and I know how sincere you are about wanting to make positive changes.

If I can partner with Dixie University and give back to my community I will move on with Gearbeans.com as previously stated. I really think my vision for how to attract new members and open up the site, in comparison to what is important to the majority of your "current active members" are at odds (voting, power points, both meaningless to me).

Thanks for you time and open discussion these past two weeks. I wish you luck with the revisions. They are guaranteed to be some improvement over the stagnation that had been present. If you want to communicate with me further about any glitches in my stuff, you, Chad or Josh, do it via email....I will be checking out of the forums again. I just don't have the time to climb, fix every beta page and keep track of communications here. I would appreciate a heads up (email) on any further changes that will drastically affect my beta presentation so I can arrange for someone to go make the necessary changes to keep it presentable until I get it all moved.

Cheers
User Avatar
Dow Williams

 
Posts: 2349
Joined: Mon Jul 12, 2004 1:59 pm
Location: Utah and Canadian Rockies
Thanked: 219 times in 101 posts

Re: SPv3 formatting problems

Postby rgg » Sun Jan 27, 2013 4:52 pm

Gangolf Haub wrote:
rgg wrote:
Gangolf Haub wrote:Small issue since I don't think anyboy else ever used this: the annotation in panoramas is off. I'm afraid I should never have used it but it seemed such agood idea at the time ...

Example:
http://www.summitpost.org/gro-er-gabler ... nde/251660


If, by annotation, you mean the caption, then yes, some of us noticed. In this post above I posted my latest version of improved code that fixes it for sliding panorama's. I still have to go through a bunch of my pages to get them right again, and I might still improve my latest improvement (for example by not using the deprecated center tag and align attribute).

Cheers, Rob

No, Rob, I mean the labels for the mountains. It was a hell of a job to get the coordinates right in the first place, which is why I don't use this feature anymore. Also, they have a history of looking slightly different on different browsers. I just realized that the problem does only occur on firefox, not on IE, which is why you probably didn't even see it.

As I said - minor problem.


Mostly I use Google Chrome, but I frequently check if things look ok in Firefox and IE. I get what you mean with labels now though, and, for the record they still work in Google Chrome as well..

Cheers, Rob
User Avatar
rgg

 
Posts: 433
Joined: Sat Oct 02, 2010 7:15 pm
Location: Amsterdam, Netherlands
Thanked: 96 times in 76 posts

Re: SPv3 formatting problems

Postby Josh Lewis » Sun Jan 27, 2013 7:56 pm

@ Rob: Thank you for bringing up the issue of align="center" being deprecated. :x I'm actually a little mad about that. I almost want to write to the W3C myself except I know that nothing would change from that. :? So I started a thread about this in Stack Overflow. I suppose it wouldn't be that bad, but we could have a class that adjusts the alignment of objects. So I'll do some more learning. If the alignment attribute is indeed going away some day (in the distant future) than I can get to work with creating a simple alternative that will both work and be easy for the average poster.

@ Dow Williams: To be honest, I actually didn't want SP V3 launched so soon. I felt that the coding wasn't quite stable, but Matt did have to do the server swap considering that 2 servers were being used (the SP one and the test server). A sub directly of SP could have been made for testing, but that would not have given Matt the opportunity to test out the configurations and to have SP compatible with the new server (from what I understand he had to do a lot of work to make this work). The doctype was indeed needed. I knew that it might break pages with not as well formed HTML. But already we were seeing the bad effects of no doctype declared. Internet Explorer was not supporting box-shadow, round corners, and other formatting. In the web world, especially with SP at it's "early age" we want the future to be as solid as possible. Even if that creates some inconveniences in the present. There is nothing we can do to prevent bad HTML from not working and securing the future of SP.
My Websites: Alpine Josh · Alpine Ascent · AceMaps
User Avatar
Josh Lewis

 
Posts: 2275
Joined: Thu Jan 06, 2011 11:12 pm
Location: Lynnwood, Washington, The Cloudiest Place on Earth, United States
Thanked: 472 times in 323 posts

PreviousNext

Return to Site Feedback

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

© 2006-2013 SummitPost.org. All Rights Reserved.