473,390 Members | 875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,390 software developers and data experts.

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 10712
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tristan Miller | last post by:
Greetings. Occasionally I come across sites that use something like the following combination of CSS and HTML: h1 { height:100px; width: 500px; background:url(welcome.gif) no-repeat; }
2
by: acko bogicevic | last post by:
Hi On my aspx page i have hyperlink: <A id="lnkEndUser" onclick="window.open('AddHelpLink.aspx','cal','width=250,height=300,left =270,top=180') href="javascript:;"><IMG src="Slike\usr.gif"...
4
by: Miguel Dias Moura | last post by:
Hello, i have 5 panels in an ASP.net / VB page. The panel 1 is visible the other 4 are NOT visible. I also have 5 images: image 1, image 2, ..., image5. When i click one of the images,...
6
by: Selden McCabe | last post by:
I have a form with a bunch of image buttons. When the user moves the mouse over a button, I want to do two things: 1. change the Imagebutton's picture, and 2. make another control visible. I'm...
1
by: Miguel Dias Moura | last post by:
Hello, I have a GridView in my page which is created in runtime. It works fine. My page has 2 Asp Buttons: - The HIDE button makes GridView.Visible = False; - The SHOW button makes...
1
by: beihotmailanmelden | last post by:
Hello, here's the situation: I have a banner on a third party page that, if you click on it, links to another third party page. I cannot install a counter on that thirdparty page. Is there...
3
by: rockdale | last post by:
Hi, All: I have a datagrid with TemplateColumn as following: <asp:TemplateColumn Visible="False" > <ItemStyle Width="0px"></ItemStyle> <ItemTemplate> <asp:Label id="lblMin_Value"...
9
by: Mel | last post by:
I have 10 columns total. 3 of them are invisible. The rest are read- only BoundFields, 3 of which are editable fields using TemplateFields. Upon editing, I want to validate what the user enters...
2
by: donpro | last post by:
https://testbed.odysseyshipping.com/ In the footer, I am having problem with the list-style-image statement in my CSS 1) In Firefox, my custom image shows in front og all list items EXCEPT...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.