![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
emperor of my world
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
|
css: aligning text on bottom of div id box
i wonder why this is so hard to do... Im having a text in a div id, i have the text floating to the right with a div class assigned to it, and now i want it aligned on the bottom of the div id box. Someone got any suggestions?
vertical-align: bottom, baseline or text-bottom all don't work. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2002
Location: Keystone State
Posts: 316
|
vertical-align's a PITA in some instance. Check out this page for what will possibly explain why you're seeing what you're seeing and how to get the result you want.
http://phrogz.net/CSS/vertical-align/index.html
__________________
ŻOverscoreŻ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Leaner, Meaner, Faster
Industry Role:
Join Date: Aug 2002
Location: Vegas
Posts: 20,959
|
Bro, css is turning out to be the biggest cluster fuck of all times. I changed all my shit over to pure css a few months ago. Then spent a tremendous amount of man hours trying to get it to work correctly in all browsers. Then...when I finally got it (three colum layout is the hardest of them all) I realized that the columns made in css DON'T resize when the browser window does! So if someone had the window not full screen then parts of the fucking content was overlapping itself.
After researching, reading, consulting, experimenting, and basically wasting a huge part of my life...I went back to a table setup using css for styles. But with the tables still intact. Guess what? The site looks like it should in every browser and at every screen resolution, etc. My thought is that until they come up with a single standard for browsers, markup language (there is a new html coming), and css...nothing is ever gonna work "right" |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
emperor of my world
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
|
yea these kinda small things can be such a pain in the ass...
Anyway, found some new shit i didnt know about, the 'bottom: ...', 'right: ..' , etc. so called 'positioning properties': http://www.w3schools.com/Css/css_positioning.asp So i did this inside another div id (and inside another div class), to position a link in the bottom right: .commentslink a { position: absolute; bottom: 18px; right: 18px; } and its working perfect ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |