Connecting Tech Pros Worldwide Help | Site Map

invisible image?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 11:19 PM
sjp@soca.com
Guest
 
Posts: n/a
Default invisible image?

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.


  #2  
Old July 23rd, 2005, 11:19 PM
David Dorward
Guest
 
Posts: n/a
Default Re: invisible image?

sjp@soca.com wrote:
[color=blue]
> 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.[/color]

I thought you were using CSS? The align attribute has been replaced with the
float attribute.
[color=blue]
> 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.[/color]

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
  #3  
Old July 23rd, 2005, 11:19 PM
sjp@soca.com
Guest
 
Posts: n/a
Default Re: invisible image?

[color=blue]
>
> I thought you were using CSS? The align attribute has been replaced[/color]
with the[color=blue]
> float attribute.[/color]

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?
[color=blue][color=green]
> > When I insert the image using the IMG SRC= tag without the align
> > attribute, the image displays properly. But when I include the[/color][/color]
ALIGN[color=blue][color=green]
> > attribute (left or right, it doesn't matter), the image disappears.[/color]
>
> In what browsers?[/color]
IE 6+[color=blue]
> Have you ensured your markup and CSS are valid?[/color]
Yes
[color=blue]
> What is the URL so we can see the page in context?
>[/color]
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)

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.