This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > November 2005 > CSS - Aligning to the bottom of a DIV
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
CSS - Aligning to the bottom of a DIV
|
|
|
| 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
| |
| Spartanicus 2005-11-23, 6:28 am |
| S <junksolid@XXXXXXXXXX> 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
| |
|
| 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
2r88o114u0uku1vioa9s83sp3drd925q48@news.spartanicus.utvinternet.ie,
"Spartanicus" <invalid@invalid.invalid> wrote:
> S <junksolid@XXXXXXXXXX> wrote:
>
>
> Provide the context please, what is it that you are actually trying to
> do?
| |
| Jan Roland Eriksson 2005-11-23, 6:36 pm |
| On Tue, 22 Nov 2005 21:04:56 -0800, S <junksolid@XXXXXXXXXX> 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
| |
| Jan Roland Eriksson 2005-11-23, 6:36 pm |
| On Wed, 23 Nov 2005 07:46:12 -0800, S <junksolid@XXXXXXXXXX> 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
| |
| Spartanicus 2005-11-23, 6:36 pm |
| Please do not top post here, corrected this once.
S <junksolid@XXXXXXXXXX> wrote:
[color=darkred]
>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=h...eview/ginsberg/
--
Spartanicus
| |
|
| 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 XXX 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 - XXXX you all.
------------S
On 11/23/05 9:02 AM, in article
i949o19ajggd9s197olpilbjjn378b1ekk@news.spartanicus.utvinternet.ie,
"Spartanicus" <invalid@invalid.invalid> wrote:
> Please do not top post here, corrected this once.
>
> S <junksolid@XXXXXXXXXX> wrote:
>
>
>
> 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=h.../review/ginsber
> g/
| |
| Jan Roland Eriksson 2005-11-23, 6:36 pm |
| On Wed, 23 Nov 2005 10:48:20 -0800, S <junksolid@XXXXXXXXXX> 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
| |
| Greg Heilers 2005-11-23, 6:36 pm |
| S wrote:
[color=darkred]
> 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 XXX 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 - XXXX you all.
>
> ------------S
>
>
>
>
>
>
> On 11/23/05 9:02 AM, in article
> i949o19ajggd9s197olpilbjjn378b1ekk@news.spartanicus.utvinternet.ie,
> "Spartanicus" <invalid@invalid.invalid> wrote:
>
http://validator.w3.org/check?uri=h.../review/ginsber[color=darkred]
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
| |
| Beauregard T. Shagnasty 2005-11-23, 6:36 pm |
| 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
| |
| Alan J. Flavell 2005-11-23, 6:36 pm |
| 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
| |
| meltedown 2005-11-23, 6:36 pm |
| 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 XXX 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 - XXXX you all.
>
> ------------S
>
>
>
>
>
>
> On 11/23/05 9:02 AM, in article
> i949o19ajggd9s197olpilbjjn378b1ekk@news.spartanicus.utvinternet.ie,
> "Spartanicus" <invalid@invalid.invalid> wrote:
>
>
>
>
| |
|
| "S" wrote in message news:BFA9F974.1FE9%junksolid@XXXXXXXXXX...
> 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 XXX 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 - XXXX you all.
Strike #3
and you're out.
Google groups and gmail abuse have been contacted.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|