468,534 Members | 2,290 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,534 developers. It's quick & easy.

invisible image?

sjp
I have a little 3 page site built by hand in notepad using CSS. In my
content window I want to insert an image with the ALIGN=left attribute.
When I insert the image using the IMG SRC= tag without the align
attribute, the image displays properly. But when I include the ALIGN
attribute (left or right, it doesn't matter), the image disappears. An
appropriate sized empty space is left on the page, and right clicking
on the empty space brings up all of the usual image related options,
including the image size, name, etc. Its just not visible. No, there
isn't the little "x" that would appear if there was some sort of
problem. Remember, just deleting the Align tag makes the image appear.
But adding the align tag shifts the text around so I have a nice
empty space on the side of the page, where the image should be, just no
image!

Any idea what is happening?

FWIW, both the CSS and the html code are extremely simple and
straightforward.

Jul 23 '05 #1
2 10362
sj*@soca.com wrote:
I have a little 3 page site built by hand in notepad using CSS. In my
content window I want to insert an image with the ALIGN=left attribute.
I thought you were using CSS? The align attribute has been replaced with the
float attribute.
When I insert the image using the IMG SRC= tag without the align
attribute, the image displays properly. But when I include the ALIGN
attribute (left or right, it doesn't matter), the image disappears.


In what browsers?
Have you ensured your markup and CSS are valid?
What is the URL so we can see the page in context?

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #2
sjp

I thought you were using CSS? The align attribute has been replaced with the float attribute.
Does that mean if I am using CSS for overall page layout, that I can't
use the Align tag in my HTML code if a situation requires it?
When I insert the image using the IMG SRC= tag without the align
attribute, the image displays properly. But when I include the ALIGN attribute (left or right, it doesn't matter), the image disappears.


In what browsers?

IE 6+ Have you ensured your markup and CSS are valid? Yes
What is the URL so we can see the page in context?

A site that is being designed isn't online yet.....but if it would
help, I could post the code here. The CSS page and the 3 HTML pages
add up to less text than we have used on these few replies. (like I
said, its a very simple, small site)

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Tristan Miller | last post: by
2 posts views Thread by acko bogicevic | last post: by
4 posts views Thread by Miguel Dias Moura | last post: by
6 posts views Thread by Selden McCabe | last post: by
1 post views Thread by beihotmailanmelden | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.