Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help
#1
Hey I'm pretty new to banner codes, so I've been wondering how I get this code

<iframe src="http://files.bannersnack.com/iframe/embed.html?hash=4b749ab7ee647080a05130bcb2820208&clickTag=86B71429JP146170R&alt=screenshot&t=1310339344" width="728" height="360" frameborder="0"></iframe>

into an CSS codeark on my page, if its possible?

sorry my bad english... :)

- Ida
Reply
#2
It's an iframe? Easy, i've done it on two pages already. Take a look here:

sfchat.net

Inspect the webpage, I created it myself, if you need any help just ask, but the IRC chat itself is an IFRAME. You should be able to figure it out through a few html webmaster addons/tools or extensions in chrome(/iron) that are already built in.

"Inspect Element" is sufficient for what you want to know.

Basically some IFRAMES embedd their own css in them, but you should be able to contain it's value by placing it within a <div id="something">

and using a css block with something like:
Code:
div#something {
     whatever: whatever;
}
Reply
#3
Well my web code looks pretty different...
Cant really explain wich kind of code tamplets I am using...
But this is some of the code;
PHP Code:
* {
     
margin0px;
     
padding0px;
     }
html {
    
font-size100%;
    
height100%;
    }
html {
    
scrollbar-face-color#;
    
scrollbar-highlight-color#;
    
scrollbar-shadow-color#;
    
scrollbar-3dlight-color#;
    
scrollbar-arrow-color#;
    
scrollbar-track-color#;
    
scrollbar-darkshadow-color#;
    
}
*+ 
html {
    
scrollbar-face-color#;
    
scrollbar-highlight-color#;
    
scrollbar-shadow-color#;
    
scrollbar-3dlight-color#;
    
scrollbar-arrow-color#;
    
scrollbar-track-color#;
    
scrollbar-darkshadow-color#;
    


So how Am I able to get the banner code, into this, without destorying anything on the template on www.vielamort.com?
Reply
#4
That's not different, and I don't know why you put that in a PHP code lol, that's CSS.

That big banner you see is inside a div called "logo-desc"

Add this to that code you showed me:
Code:
#logo-desc {
   whatever css you want here
}

You haven't told me exactly what you want to do with the banner yet.
Reply
#5
o.o... in the top of the code ark? Or, should it be in a special place, guess, normal I'm putting it in to an banner uploader on the forum page i have maded the website on.
I have this code for the header;
/* Header */
#wrap #logo-desc p,#wrap #logo-desc img,div#page-header div.navbar,div#page-header div.navbar ul.linklist {
display: none !important;
}
#wrap div.headerbar {
margin: 0;
border-bottom: 1px solid #ccc;
}
#wrap div#page-body h2 {
font-weight: bolder;
border-bottom: 1px solid #ccc;
margin-bottom: 1em;
}


But where should that code you have been showing me be putted in ?
- sorry if i'm a pain in the ass...
Reply
#6
No, you never place css in the original html, unless you are forced to have a identifier for the css that is different from the main style.css because the css in the file itself takes priority. Always refer to it via a script file externally from the original file, and with CSS you can generally place a css block anywhere, it's just more organized if you start by going

Header {
}

Logo {
}

content {
}

footer {
}

because it's easier to find things.
Reply
#7
I really dont get it z_z... Tried to put the code in with the banner code, put it just destroyed the theme...
so... I dont know, about you maybe could put it in? And then I'm seeing on where you put it ? maybe... if thats a opportunity?
Reply
#8
It destroyed the code how? And what do you want to do exactly? What are you trying to achieve with css?
Reply
#9
It just maked it whole in totaly different colors....
- I want the banner, instead of the banner I already have,
guess, on the banner their, theres links to the different sites on the website Smile
So.. if it could be possible to put it in to the code i already have, it could be fantastic!
Reply
#10
I have no idea what you just said unfortunately, sorry :S

You made what different colors?
Which banner do you want to show?
On the banner that is visible, there's only a link to "/forum"
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)