pandaLOVEbby
Jan 15 2010, 10:25 PM
I'm not sure if there was a post for this already. But, is there a way to code div overlays for MySpace so that it looks the same no matter what browser you're using. I tried googling it. But nothing that I read made any sense to me.
Mikeplyts
Jan 16 2010, 12:00 AM
Sorry to inform you this; but such a thing is not possible (at least, in my opinion).
Sure, a layout can look similar in different browsers, but it won't be exactly the same in all. If one thing is good in Internet Explorer, it's most likely off in Firefox. If one thing is good in Firefox, it could look bad in Safari. Maybe something looks awesome in Safari, but it's got some things that just aren't right in Chrome. Oh, and excellent Chrome layout, but Netscape won't take it.
However, what exactly are you trying to get to look the same in all browsers? Fonts, content areas, positioning, colors, images, HTML/CSS properties and attributes, etc.?
pandaLOVEbby
Jan 16 2010, 01:37 AM
I just want the positioning to be right.
Mickey
Jan 16 2010, 06:02 AM
It depends. How do you want it positioned (centered, to the left, etc.)?
IVIike
Jan 17 2010, 03:23 PM
If you use the DIV codes provided here they should work in the majority of browsers.... I mean I use those and I have had very few problems as far as positioning goes.
Mickey
Jan 18 2010, 05:15 PM
^True. Here are a couple of examples. If you want a centered DIV, use something like this:
CODE
<div style="position: absolute; top: #px; left: 50%; margin-left: #px; z-index: 9;">
Insert content here.
</div>
Replace the top and margin left number signs with appropriate values according to where you want it. Just a note: you can use negative values to pull things up or to the left. There's also this:
CODE
<div style="position: absolute; top: #px; left: #px; z-index: 9;">
Insert content here.
</div>
That's for aligning things to the left. Again, replace the number signs on the top and left properties with appropriate values. If you want to position things to the right, replace left with right.
shawtiegotem
Feb 15 2010, 05:53 AM
I don't understand, i been reading up on Html, CSS, been getting ebooks and learning about creating web pages.
W3C says using such html like "div style=" is deprecated when we could just use divs for a class, like <div class=""> or is myspace really that bad and can't use css2 or css3?
haha it feels good knowing the basics finally!
Mickey
Feb 15 2010, 06:39 AM
How does that make MySpace bad? It's the designers who choose to use style over class. Anyway, style isn't deprecated. It's just so much cleaner and easier to use class instead.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.