本文介绍了MySpace DOM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了在MySpace中定制艺术家空间的一些工作。您似乎将您想要的HTML格式转化为编辑个人资料页面(其中有几个空白框)。 MySpace页面似乎已经是HTML,所以你只能入侵那个。建议的调整包括不完整的HTML代码(例如,< DIV> 没有< / DIV> 标签以抑制某些部分)和样式表,您可以放置在任何地方(意味着编辑个人资料页面的某个地方)。最好的是,提供布局的网站会说:布局代码 - 复制并粘贴代码底部我想要认识部分!



这不可能是这个跛脚,可以吗?



有没有一致的指南来为程序员/ HTML设计师定制MySpace页面?是否有连贯的DOM(包括 .contactTable 等)?是否所有的调整只是人们从生成的HTML中看出的黑客?



谢谢!

解决方案

如果您鞭打Firebug并在Firebug的编辑器中进行一些检查>点击页面>编辑CSS,这不应该太难了,看看你可以学习什么关于页面的结构。然后模拟一下大概你想要的东西,并记下哪些元素和哪些风格需要工作,并找出如何在配置文件编辑器中设置。



尝试从挑战的角度来看待这一点。在上面,MySpace允许您访问DOM,以便您可以拧紧各种各样的事情。在不利的地方,他们对HTML构图的选择是有争议的。


I've been given the task of doing some work customizing an artist's space in MySpace. It seems that you sort of hack the HTML you want into your edit profile page (which has several empty boxes). The MySpace page, it seems, is already HTML so you can only hack into that. Suggested "tweaks" include incomplete HTML code (e.g., a <DIV> tag without a </DIV> tag to supress certain sections) and stylesheet pieces that you can "place anywhere" (meaning somewhere on your edit profile page). And the best one is that sites that offer layouts say, "Layout Code - Copy and Paste the code at the bottom of your 'I'd Like to Meet' Section!"

This cannot possibly be this lame, can it?

Is there any coherent guide to customizing MySpace pages for programmers/HTML designers? Is there a coherent DOM (including things like .contactTable etc.)? Could it be that all the tweaks are just hacks people have figured out from looking at the generated HTML?

Thanks!

解决方案

This shouldn't be too hard if you whip out Firebug and do a bunch of "Inspect > click on page > edit CSS in Firebug's editor" work to see what you can learn about the structure of the page. Then mock it up to roughly how you want it and note down which elements and which styles need work and figure out how to get that set up in the profile editor.

Try approaching this from the point of view of a challenge. On the upside, MySpace allows you access to the DOM so you can screw with all sorts of things. On the downside, their choice of HTML composition is somewhat arguable.

这篇关于MySpace DOM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 10:28