473,382 Members | 1,665 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,382 software developers and data experts.

CSS - Aligning to the bottom of a DIV

S
Here's a very basic question. . .

I have a DIV that contains content that I need to be bottom-justified.

What is the CSS code to do that?

Thanks,

---------------S

Nov 23 '05 #1
12 2122
S <ju*******@gmail.com> wrote:
I have a DIV that contains content that I need to be bottom-justified.

What is the CSS code to do that?


Provide the context please, what is it that you are actually trying to
do?

--
Spartanicus
Nov 23 '05 #2
S
http://www.dorseygraphics.com/review/ginsberg/

When you mouse over the word "series" at the bottom of the page, a menu pops
up. I need the elements of the menu to live near the bottom, with space
above them for more items if needed.

I'm creating a template in case other web developers are asked to work on
this site. I need to make it easy to add items to the menu, and justifying
the content along the bottom of the DIV makes it very easy to just drop in
new menu items and they will stack up, with the bottom of the menu never
moving.

---------------S

On 11/23/05 1:10 AM, in article
2r********************************@n...utvinternet.ie,
"Spartanicus" <in*****@invalid.invalid> wrote:
S <ju*******@gmail.com> wrote:
I have a DIV that contains content that I need to be bottom-justified.

What is the CSS code to do that?


Provide the context please, what is it that you are actually trying to
do?


Nov 23 '05 #3
On Tue, 22 Nov 2005 21:04:56 -0800, S <ju*******@gmail.com> wrote:
I have a DIV that contains content that I need to be bottom-justified.
What is the CSS code to do that?


CSS...

div { padding-bottom: 0; }
p { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }

Markup...

<DIV><P>Bottom aligned content</P></DIV>

CSS1 Recommendation...

http://www.w3.org/TR/CSS1

....read it.

--
Rex
Nov 23 '05 #4
On Wed, 23 Nov 2005 07:46:12 -0800, S <ju*******@gmail.com> wrote:
http://www.dorseygraphics.com/review/ginsberg/


Your page does not communicate. Someone, or something, has convinced you
to place a lot of "fliegen dreck" in it.

Back to the drawing board and start to think in terms of proper
presentation suggestions.

(hint: it would be a good thing to be able to read your text)

--
Rex
Nov 23 '05 #5
Please do not top post here, corrected this once.

S <ju*******@gmail.com> wrote:
I have a DIV that contains content that I need to be bottom-justified.

What is the CSS code to do that?
Provide the context please, what is it that you are actually trying to
do?

http://www.dorseygraphics.com/review/ginsberg/

When you mouse over the word "series" at the bottom of the page, a menu pops
up.


Sorry, I don't do Javascript.

Btw, before asking others to help you with a code problem it's
considered good form not to expect them to have to correct basic syntax
errors to see if that has any baring on the problem you are having.
http://validator.w3.org/check?uri=ht...view/ginsberg/

--
Spartanicus
Nov 23 '05 #6
S
Well.

I don't know what a top post is, so I'm not going to worry about it.

Also, to other posters, I was not asking for a critique of web design. You
guys can be layout nazis if you want, but don't waste my time responding to
a post by not answering a question, and then doubling the insult by
criticizing a design. I was not here to ask for your high and mighty
bullshit answers to design questions I never asked. You stop telling me how
to be a designer, and I'll stop telling you how to be an ass hole.

I'm not going to visit this list anymore. You pricks are more interested
in advertising your own design principals rather than actually helping
people who are trying to learn real CSS.

And what's with this "I don't do Javascript" bullshit?! I was not asking
for help with javascript.

Eh - fuck you all.

------------S


On 11/23/05 9:02 AM, in article
i9********************************@n...utvinternet.ie,
"Spartanicus" <in*****@invalid.invalid> wrote:
Please do not top post here, corrected this once.

S <ju*******@gmail.com> wrote:
I have a DIV that contains content that I need to be bottom-justified.

What is the CSS code to do that?

Provide the context please, what is it that you are actually trying to
do?

http://www.dorseygraphics.com/review/ginsberg/

When you mouse over the word "series" at the bottom of the page, a menu pops
up.


Sorry, I don't do Javascript.

Btw, before asking others to help you with a code problem it's
considered good form not to expect them to have to correct basic syntax
errors to see if that has any baring on the problem you are having.
http://validator.w3.org/check?uri=ht...review/ginsber
g/


Nov 23 '05 #7
On Wed, 23 Nov 2005 10:48:20 -0800, S <ju*******@gmail.com> wrote:
I don't know what a top post is, so I'm not going to worry about it.
It's the way you are posting, i.e. "upside-down"
Also, to other posters, I was not asking for a critique of web design.
Maybe not, but I could not read the text on your page,
it's to damned small.
You guys can be layout nazis...
Following "Goodwin's Law" you have lost this thread now, but you are
probably ignorant enough not to understand that part either.
(Google for "Goodwins Law" will help you out there)
...but don't waste my time responding to a post by not
answering a question...
You may want to consider the fact that you have wasted other peoples
time just the same. I did give you a correct answer btw.
...I was not here to ask for your high and mighty bullshit answers...
You are on Usenet, the place where _discussions_ takes place, it's not
your private helpdesk.
...I'm not going to visit this list anymore.
This is not a /list/ you started a thread in a Usenet News newsgroup,
go figure.
...people who are trying to learn real CSS.
I gave you the best CSS pointer you can find for starters.
And what's with this "I don't do Javascript" bullshit?!


Consider the fact that not all people will allow /you/ to execute /your/
code on /their/ computers. Your page should be authored so that it is
usable with javascript disabled in the users browser.

--
Rex
Nov 23 '05 #8
S wrote:
Well.

I don't know what a top post is, so I'm not going to worry about it.

Also, to other posters, I was not asking for a critique of web design.
You
guys can be layout nazis if you want, but don't waste my time responding
to a post by not answering a question, and then doubling the insult by
criticizing a design. I was not here to ask for your high and mighty
bullshit answers to design questions I never asked. You stop telling me
how to be a designer, and I'll stop telling you how to be an ass hole.

I'm not going to visit this list anymore. You pricks are more interested
in advertising your own design principals rather than actually helping
people who are trying to learn real CSS.

And what's with this "I don't do Javascript" bullshit?! I was not asking
for help with javascript.

Eh - fuck you all.

------------S


On 11/23/05 9:02 AM, in article
i9********************************@n...utvinternet.ie,
"Spartanicus" <in*****@invalid.invalid> wrote:
Please do not top post here, corrected this once.

S <ju*******@gmail.com> wrote:
> I have a DIV that contains content that I need to be
> bottom-justified.
>
> What is the CSS code to do that?

Provide the context please, what is it that you are actually trying to
do?

http://www.dorseygraphics.com/review/ginsberg/

When you mouse over the word "series" at the bottom of the page, a menu
pops up.


Sorry, I don't do Javascript.

Btw, before asking others to help you with a code problem it's
considered good form not to expect them to have to correct basic syntax
errors to see if that has any baring on the problem you are having.
http://validator.w3.org/check?uri=ht...review/ginsber g/


For a webpage that implies that it is about "art" and/or "design",
Mr./Ms. "S" seems to be awfully closed-minded, and arrogant...and
unwilling to accept *other's* opinions regarding design. Oh well, no
big surprise...as it is the exact behavior one would *expect* from an
"artist".

--

Greg Heilers
Registered Linux user #328317 - SlackWare 10.1 (2.6.10)
.....

Burns: Good Lord, Smithers! You look atrocious. I thought I told you to
take a vacation.

Homer: Uh, Smithers already left, sir. I'm his replacement, Homer
Simpson.

Homer the Smithers

Nov 23 '05 #9
Jan Roland Eriksson wrote:
(Google for "Goodwins Law" will help you out there)


Google for "Godwin's Law" will help even more! :-)

--
-bts
-Warning: I brake for lawn deer
Nov 23 '05 #10
On Wed, 23 Nov 2005, Greg Heilers wrote:

[ repeats the whole damned mess that my killfile had saved me from
the first time around ... ]

I fear there's only one good answer to that.

bye
Nov 23 '05 #11
This is a top post. I'm putting it here to show you what it is. This
style of posting creates a lot of havoc, so years of experience has
taught us not to do it.

S wrote:
Well.

I don't know what a top post is, so I'm not going to worry about it.

Anything interspersed in the text you are replying to,like this, is
called bottom posting. This is how its supposed to be done. People who
don't do it are generally considered rude or too dumb to understand how
to post correctly.

Its not hard to understand why top posting is avoided and bottom posting
is preffered. Just look at any thread with a few top posts. Its hard to
understand who is saying what and what they are replying to.

Also, to other posters, I was not asking for a critique of web design. You
guys can be layout nazis if you want, but don't waste my time responding to
a post by not answering a question, and then doubling the insult by
criticizing a design. I was not here to ask for your high and mighty
bullshit answers to design questions I never asked. You stop telling me how
to be a designer, and I'll stop telling you how to be an ass hole.

Carefull. For all its faults, this newsgroup is often the only place
where people will answer some of the harder CSS questions. If you tell
them to go to hell, you might very well end up with your questions
unanswered and no where else to turn.

This is usenet, a place where total experts spend hours answering
questions just because they like to do it. They know what they are
talking about and they don't get paid. Thats who you are telling to go
to hell.

I'm not going to visit this list anymore. You pricks are more interested
in advertising your own design principals rather than actually helping
people who are trying to learn real CSS.

And what's with this "I don't do Javascript" bullshit?! I was not asking
for help with javascript.
You are free to disagree, but I hardly think its bullshit. Even if its
wrong for you, its offered as advice, not an insult. There are quite few
newsgroups where some of the regulars are know-it-alls just looking for
trouble, but this is not one of them.

Eh - fuck you all.

------------S


On 11/23/05 9:02 AM, in article
i9********************************@n...utvinternet.ie,
"Spartanicus" <in*****@invalid.invalid> wrote:

Please do not top post here, corrected this once.

S <ju*******@gmail.com> wrote:

> I have a DIV that contains content that I need to be bottom-justified.
>
> What is the CSS code to do that?

Provide the context please, what is it that you are actually trying to
do?

http://www.dorseygraphics.com/review/ginsberg/

When you mouse over the word "series" at the bottom of the page, a menu pops
up.


Sorry, I don't do Javascript.

Btw, before asking others to help you with a code problem it's
considered good form not to expect them to have to correct basic syntax
errors to see if that has any baring on the problem you are having.
http://validator.w3.org/check?uri=ht...review/ginsber
g/



Nov 23 '05 #12
"S" wrote in message news:BF*********************@gmail.com...
Well.

I don't know what a top post is, so I'm not going to worry about it.
you should, because it adds to the nettiquette.
Also, to other posters, I was not asking for a critique of web design.
while you are correct on that, you did ask for help, and for others to
look into your website. If someone isn't able to see through your code because
af all the unnecessary data in the source, or because it doesn't validate
as HTML or CSS in the first place, I would heed those comments.
If someone says he doesn't do Javascript, it could be that his browser
doesn't have javascript capabilities and is unable to see what your problem
is.
You guys can be layout nazis if you want, but don't waste my time http://en.wikipedia.org/wiki/Godwins_Law
responding to a post by not answering a question, and then doubling
the insult by criticizing a design.
How long have you been posting in this group? when you was told not to top-post,
did you take the time and look it up?
http://en.wikipedia.org/wiki/Top-posting

If I can't see your text, even if I try to increase the text size in my browser,
but am not able to do so because you have your text size fixed to a size you
like and think is acceptable, criticism is in order, IMHO, because it is
basically a design flaw.
I was not here to ask for your high and mighty
bullshit answers to design questions I never asked. You stop telling me how
to be a designer, and I'll stop telling you how to be an ass hole.
this kind of reply does exactly the opposite of getting help. Strike #1
I'm not going to visit this list anymore.
uhm... this is not a list, this is a news group, where people discuss problems
relevant to the group. If one of the problems is your design, although you think
the design is ok, someone will point out to fix that first and then return to
work on the relevant part. If I'm farsighted, and need glasses or a larger text
size to be able to read, but would understand your problem if I could see it,
then you are at a loss by your nearsightedness (pun intended).
You pricks are more interested
Strike #2
in advertising your own design principals rather than actually helping
people who are trying to learn real CSS.

And what's with this "I don't do Javascript" bullshit?! I was not asking
for help with javascript.
as I already mentioned before, some people have plain text browsers which do
not run javascript, and others have javascript disabled due to security reasons
and/or bias or prejudice.
Eh - fuck you all.


Strike #3

and you're out.

Google groups and gmail abuse have been contacted.

Nov 24 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Listerofsmeg | last post by:
Hi all, Is this possible? I have a simple DIV with some text and an image inside. I want the text to wrap around the image, but I want the bottom of the image to sit on the bottom of the DIV. ...
4
by: tfs | last post by:
I have a table that is putting the object in the middle of my cell (<td>). I want to have the objects, such as my asp:textbox, to align towards the top of the cell. I don't want it to center...
6
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...
3
by: Paul Watt | last post by:
Hi, How can I get the menu text to sit at the bottom of the Div? http://www.paulwatt.info/test/anna/ -- Paul Watt http://www.paulwatt.info
11
by: designkitt | last post by:
Hello, I am having a problem aligning a cell in a table and have tried everything I can think of to correct this without any luck: It appears that the white area, which is an image in the background...
2
by: jason | last post by:
I have two <DIVareas side by side of different sizes. I've tried lining them up so that both bottoms are on the same line, but when I render the page they are not. Outside of putting these in a...
1
by: john | last post by:
Hi to All, I am new to html authoring, so sorry if my terminology is not correct or exact. I would like to position a footer div to the bottom of the browser window. As I research in the web...
3
by: kk.simhadri | last post by:
Hi, I want to align some text to the bottom of page.I am doing this by a CSS class.It contains position:absolute; bottom:0; this does the purpose. but when I resize my page to smaller...
4
by: Corey Walker | last post by:
Hello: I am a webmaster for a non-profit organization. I do know some HTML, but I'm by no means an expert. Recently, many pages on our site were redesigned by a professional web designer, who...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: 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$) { } ...
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: 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
1
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 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.