Helpful Information
 
 
Category: CSS
Some help in moving objects, please...

Hi, I was hoping the good people here would be able to help me. Getting code support through proboards is next to impossible, and is much like pulling teeth.

Anyway, I have this site I'm trying to 'skin', and I'd like to move the mandatory advertisements to the bottom of the page.

Here's the url for the site:

http://slcontrast.proboards34.com/index.cgi

I've seen people move the ads above the logo, but that's it. Is it possible to move them to the bottom?

Thanks in advance.

Woah there - our Forum Rules say no playing with your free host's adverts.

We're not allowed to help you here.

cr3ative

Okay, sorry about that, then. I know we're allowed to move them around, just not remove them.

But if your rules say you can't touch em at all, that's cool. Thanks all the same.

I think you'll have great difficulty. There's very little structure with which to create a useful selector - certainly nothing as simple and direct as an id. Presumably, the advertisement code (that is, the script element, etc. itself) is automatically inserted server-side so there's no scope for altering it.

By the way, the vast amount of client-side code is somewhat concerning. Aside from the fading text (which is replaceable itself), I don't anything that necessitates client-side scripting.

Finally, blue on blue/black isn't that readable. I don't think I could look at that for very long without getting eye strain.

Mike

Since the ad is in an iframe and it is the only iframe on your page, I'd try something like this in the style section:
iframe {
position:absolute;
top:600px;
}or however many pixels you need to put it at the bottom.

Since the ad is in an iframe and it is the only iframe on your page, I'd try something like this in the style section:
iframe {
position:absolute;
top:600px;
}or however many pixels you need to put it at the bottom.The problem with that though is that it would render the use of iframes on other pages difficult. There might not be any of course, but this is why I asked about the code generation. It seems odd to place the iframe in that particular spot...

Mike

It seems odd to place the iframe in that particular spot...I just assumed it was the default spot chosen by the host, for maximum visibility/aggravation. This host gets you coming and going, I suspect. They will, I'm sure, be happy to charge a fee billed either to the content provider or the users, whoever caves in first, to get rid of the annoying ad in the middle of the page (see the link at the bottom of the page for sign-up to view the page ad free?). Anyways, I'm not completely happy with my solution either. I got to thinking, it looks like the last three characters in the iframe's source are going to be cgi (untested but highly likely). So we could come up with a script that gets iframe elements by tag name, parses out the last three letters of their source and moves them to the bottom if that string equals 'cgi' (here we could get creative and find the actual bottom of the content minus the height of the iframe and stick the thing there). Just a thought, I'd write it up myself but, I have a paying job on rush that I need to attend to over the next few days. Alternatively, we could attack all iframes but reserve a class that would be untouched, for the page's designer to use if he/she wants an iframe.

Okay, I think I understood a 'little' of that.

(by the way, the skin is a work in progress)

there is a 'header' and 'footer' section for the main page, and each individual board on the forum. The client side scripts (I believe these are the mods I collect you speak of) being a concern...I'm not too sure what's meant by that.

I'll give this iframe thing a try, and see what happens. I know very little of a whole lot, so for me looking through an endless sea of css, javascript and html is just a little overwhelming.

I have learned a lot by coming here over the years, though...










privacy (GDPR)