How to create a text block?

0 replies
  • WEB DESIGN
  • |
Part of my problem here is I'm not even sure what I'm asking. I want an image to sort of hover in one place off to the right-hand side of the screen within a specific Wordpress Post. Basically it is to be an ever-present 'clicky', or link.

I found CSS code to.. I guess..statically float an image, which happens to also be a link that opens a new window.

The problem is that, in my 'test environment', (which is IE9 locally which is what I use to view the .HTML file I'm writing), the floating/static/whatever image I have floating off to the right covers text as I scroll up/down the screen.

So I guess I want to somehow make a column? Or something? So that all the text is within certain limits, and the floating image off to the right won't cover any text when the screen is scrolled up or down. Because the text will be contained within X and the image would be OUTSIDE of those limits off to the right.

Does that make sense?

The CSS code I'm using right now looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<style type="text/css">
p.pos_fixed
{
position:fixed;
top:250px;
right:5px
;
}
</style>
</head>
<body style="font-family:arial">
<p class="pos_fixed"><a href="http://www.mydomain.com/mylinkfile.php" target="_blank"> <img border="2" style="border-color:#FF0000" src=...

..etc

I've cut out my URL, but this is the first chunk of an .HTML file I'm working on right now. Actually this is an alternate test version I'm working with in my super sophisticated 'testing environment' =) I'll have to copy/paste into Wordpress soon in order to see how I'm doing! (And maybe I'll be using RAW HTML plugin right about then as well...)

I had another thread where people pretty much said it was silly for me to be doing this (learning how to do it manually), and just to use the visual editor, etc..... maybe that is the case. I've had problems with it and that's a whole separate issue. Right now, this is what I'm doing.

Anyone that can help, it'd really be appreciated. Thanks!
#block #create #text

Trending Topics