473,396 Members | 2,033 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,396 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 10714
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.