Newbie question re floating div css thing?

Soldato
Joined
6 Jan 2006
Posts
3,423
Location
Newcastle upon Tyne
Not 100% on the techinical name of it :p but on my site Ive got the logo at the top and I want to put a small "pay now with visa" logo at the far right of the logo.

Im sure Ive seen something done with a floating div that can be done with css?

Any pointers will be great :)
 
just float the image to the right using css i.e.

Code:
<img url="whatever.gif" alt="image" style="float:right;" />

It would be better practice to keep all css in an external file but this example is purely for illustration purposes
 
Just been having a look around and I think what Im referring to is an Iframe?

Have a look at my site www.rwco.net and I want the pay with visa to go in the white space to the right of the logo on every page.

Is that something I can do with css or is it better to go with an SSI?
 
first of all id recommend to stay clear of frames. I'm not sure that they are even still supported in the latest web standards. I suggest you try what I mentioned in my previous post. You should be able to just float the image to the right so that it fits in the white space. If that doesn't work you may want to look at absolute positioning too.
 
Back
Top Bottom