• 0

Div/Css Code Im noob Help Plz


Question

First of all this is Myspace.com/hellojesus and what i did so far to it.

Ok I know I did this wrong, I made a flash Table and wanted to replace The Contact Table that Myspace already provides for me, And this is my code..

<div style="z-index: 2; position: absolute; left: 68px; top: 443px; ; width: 0px; padding: px; border: black 0px dashed;"><iframe src="http://www.geocities.com/thething316/MyContact.swf" height=150 width=300 scrolling="no" frameborder="0"></iframe></div>

I know Something is wrong cause it look good in Internet Explorer and Bad On fireFox(test it on both browsers and ull see) btw Its www.myspace.com/hellojesus

And Someone told me that my coding was off, What I want to do is Remove the Myspace contact table and replace it with my own, its the same size(300px 150px) except its flash!

So Can Someone Please Help me thanks.

-edit- omg I resized my browser and my contact table moved!?!?!

-edit- I tryed using this but it just was all black and my flash didnt show up!

<style type="text/css">

.contactTable { display: none }

width:300px !important; height:150px !important; padding:0px !important;

background-image:url("<iframe src="http://www.geocities.com/thething316/ContactTable.swf" height=150 width=300 scrolling="no" frameborder="0"></iframe>");

background-attachment:scroll; background-position:center center;

background-repeat:no-repeat; background-color:transparent; border:0px;}

.contactTable table, table.contactTable td { padding:0px !important;

border:0px; background-color:transparent; background-image:none;}

.contactTable a img {visibility:hidden; border:0px !important;}

.contactTable .text {font-size:1px !important;}

.contactTable .text, .contactTable a, .contactTable img {filter:none;}

</style>

-edit- I was givin this advise

"Just create a DIV, size it to the same size as the contact table, use absolute positioning to put it in the correct place, and place the embed code for your flash file, within the container :)"

But Im noob! :cry:

Edited by Narutorocker
Link to comment
https://www.neowin.net/forum/topic/337672-divcss-code-im-noob-help-plz/
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ok first off, why are you putting the flash in an iframe? Why are you not just embedding it?

&lt;object width="300" height="150"&gt;
&lt;param name="movie" value="http://www.geocities.com/thething316/MyContact.swf">;embed src="https://www.geocities.com/thething316/MyContact.swf" width="300" height="150"&gt;
&lt;/embed&gt;
&lt;/object&gt; 

also, your div is messy messy messy

&lt;div style="z-index: 1; position: absolute; left: 68px; top: 443px; width: 300px; height: 150px; padding: 0px; border: 0px"&gt;

try that ;)

  • 0
  neoific said:
Ok first off, why are you putting the flash in an iframe? Why are you not just embedding it?

&lt;object width="300" height="150"&gt;
&lt;param name="movie" value="http://www.geocities.com/thething316/MyContact.swf">;embed src="https://www.geocities.com/thething316/MyContact.swf" width="300" height="150"&gt;
&lt;/embed&gt;
&lt;/object&gt; 

also, your div is messy messy messy

&lt;div style="z-index: 1; position: absolute; left: 68px; top: 443px; width: 300px; height: 150px; padding: 0px; border: 0px"&gt;

try that  ;)

586132377[/snapback]

Ok I put the Code like this

&lt;div style="z-index: 1; position: absolute; left: 68px; top: 443px; width: 300px; height: 150px; padding: 0px; border: 0px".. width="300" height="150"&gt;

&lt;iframe src="https://www.geocities.com/thething316/MyContact.swf" height="150" width="300" scrolling="no" frameborder="0"&gt;&lt;/iframe&gt;
&lt;/embed&gt;
&lt;/object&gt;

Did i do it right? It Moves still when i Resize my Browser, But Someone told me this

" use % instead of fixed values.

as you can see mine stays there even if you resize the browser "

Person Who Told me was This dude >>>> http://myspace.com/projectx5

Can Someone Please Put it in % for me yeah Im noob at coding but still learning so thanks so very much!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • How long until the Windows 11 hating bots come and say that Windows 11 committed atrocities against their family and their dog?
    • If you never consented to cookies (required), and you're blocking ad domains and you never see ads on Neowin (despite whitelisting) wouldn't you agree the adblock popup notice is doing what it is supposed to do?
    • It's just exactly what it looks like. The facial polygon count is low and rigid, and the background appears heavily blurred. You can clearly see jagged edges around the car window as it exits the tunnel. The character animations feel like they're from 2010. The Xbox Series S has performance similar to an RX 570 or GTX 1660, which is disappointing and contributes to holding back game development. The Switch GPU is roughly on par with a 2050 or 3050, which is even worse. Developers have often discussed the challenges and limitations of developing for outdated/low end hardware, noting how it can hold back progress. This isn't a new issue. I am sure we will hear about the "Challenges" they had to overcome here and sacrifices that had to be made for compatibility with the outdated/low end hardware.
    • Whether on Edge or Firefox, I don't get this prompt to accept cookies, because they're already whitelisted by the Cookie AutoDelete extension, both on Edge and Firefox. And, as I've already said, using Edge (yesterday), Neowin isn't whitelisted (I never use Edge), and I didn't get that pop-up. And this morning, after checking, still no pop-up, and everything is activated, the proof (screenshot), I have no ads on the right side. I must add that I block the following trackers Doubleclick, and Scorecardresearch, as well as a few other undesirable ones, via the Host file. Back to square one! After all, it's a simple click to continue, so I'll do with it. 🤷🏽‍♂️ Thank You
    • F'ing FIIINALLY! Much easier to ask people what their hardware is 🙏 and could also very well just say DDR4 or DDR5 without asking to bloat it too much. I'm also curious to see what it will say in More device info...
  • Recent Achievements

    • Week One Done
      jbatch earned a badge
      Week One Done
    • First Post
      Yianis earned a badge
      First Post
    • Rookie
      GTRoberts went up a rank
      Rookie
    • First Post
      James courage Tabla earned a badge
      First Post
    • Reacting Well
      James courage Tabla earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      400
    2. 2
      +FloatingFatMan
      178
    3. 3
      snowy owl
      171
    4. 4
      ATLien_0
      169
    5. 5
      Xenon
      134
  • Tell a friend

    Love Neowin? Tell a friend!