I have a website that has images on it, and underneath the images are text. My only option of aligning the images and text separate from each other, is to do <div align="right">, <center>, or <div align="left">. Neither of them help with what I want to do, and nor does <display:inline> or <float:right>, even adding them to the image links does no good.
My Question: I would like the images to be right next to each other on the page, with the text, not one below the other. Can you give me the correct code/s?
10 2170
No doubt whatsover that this is a reasonable and good question. Got a clickable link to to the page in question?
I sure do. http://giveback.bridgettesdiary.com
There is a list of charities I've listed for my readers to help out, and I need those aligned together in pairs of two.
Thanks for your help in advance! :-D
This is one way to do it. Get rid of <center> and the <br>s: -
<p style="width:500px;margin:0 auto">
-
<a href="http://www.marchofdimes.com/">
-
<img style="float:left" src="http://i41.tinypic.com/28t8aia.png"/></a>
-
Give a helping hand to infants in need.
-
The March of Dimes is dedicated to improving
-
the life of infants by preventing birth defects,
-
premature delivery, and infant mortality,
-
See what you can do today!
-
</p>
<center> is deprecated. Don't have time to mess with this this morning.
Thanks for the help, but I didn't mean the text aligned next to the photo. I meant photo and photo. I liked the text underneath. Any other ideas?
Ouch! You are unlikely to get much help for your favorite charities from your readers feeding 185 markup errors combined with frozen mousetype in a table based layout.
It is 2009, not 1999-- time to ditch tables for layout and the deprecated coding practices associated with them...
Doctype moved to strict. Garbage code deleted. Tables ditched. Markup and CSS validated. Cursory checked at +4 in compliant browsers and at text-size "largest" in IE 6 & 7. http://www.chelseacreekstudio.com/ca/cssd/heart.htm
Good luck.
Lol, thanks for the help, but do you think someone that bad at HTML would be able to make that with no in-depth instructions? *numb*
If an online example doesn't do it for you, knock yourself out and take a university course, or take an online course, or buy a book, or flail around until you find someone willing to stoop to whatever level of mediocrity you wish...
I hope you don't get me wrong here, it's just that I have a very busy life, the blogging is a hobby. I'm only 14, you can't expect me to know the how-tos of modern and hip HTML/CSS and I have barely any time to learn any. I started out with a Blogger template. Hopefully I'll get to take some courses this year on the topic. Thanks for all your help!
What are some books you recommend on that form of HTML?
@Dormilich
Thanks! I'll be sure to check those out.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Steven Bethard |
last post by:
I have a string with a bunch of whitespace in it, and a series of chunks
of that string whose indices I need to find. However, the chunks have
been whitespace-normalized, so that multiple spaces...
|
by: Graham Cross |
last post by:
Dear All
Is there an HTML way of aligning the images on this page
http://www.ageconcernleics.com/review03/chairs03.html
so that they appear evenly spaced relative to the text column on the...
|
by: Dave |
last post by:
Hello all,
I need to know if you can vertically align Items within an
ItemTemplate. For example I have two columns, one column
has a stack of 6 textboxes, my second column can have 1 to
n...
|
by: Linux Boy via .NET 247 |
last post by:
(Type your message here)
Hi everyone,
I would like to ask a question about aligning text within one label.
I have an application that everytime the user click on Enter Record button, they will...
|
by: Steven Bethard |
last post by:
I've got a list of word substrings (the "tokens") which I need to align
to a string of text (the "sentence"). The sentence is basically the
concatenation of the token list, with spaces sometimes...
|
by: tomasio |
last post by:
Dear NG-readers,
I want to align text right to an image. The last line of text should
align with the bottom edge of the image. Unfortunately, the results
using my poor CSS knowledge mounted in...
|
by: Steven Bethard |
last post by:
I have some plain text data and some SGML markup for that text that I
need to align. (The SGML doesn't maintain the original whitespace, so I
have to do some alignment; I can't just calculate the...
|
by: Steven Bethard |
last post by:
I'm trying to align an XML file with the original text file from which
it was created. Unfortunately, the XML version of the file has added and
removed some of the whitespace. For example::
......
|
by: agbee1 |
last post by:
Hello:
I've finally made the effort to ween myself from overly using tables and use CSS for my positioning. However, I am having a problem with my navigational menu properly aligning in Firefox,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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...
|
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,...
|
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...
| |