This is a discussion on "Newbie :-Trouble aligning text within div tag" within the Web Page Design section. This forum, and the thread "Newbie :-Trouble aligning text within div tag are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Newbie :-Trouble aligning text within div tag
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Newbie :-Trouble aligning text within div tag
hi.
Following is the stylesheet part thats giving me trouble
the idea is to have a feather pic as background... and allow the author's name appear over the picture. and I want to have the text at the bottom-right corner . Cant figure out what am i doing wrong here Must be really simple and stupid.. that i must be missing.. but cant spot it Please helpme thanks in advance Deepa |
|
|
|
|||
|
Re: Newbie :-Trouble aligning text within div tag
Thanks marc for the quick response
..the bloc is just 20% wide and i want the author name toi be displayed in bottom right coner... would padding-top work with names that are both long and shot ? ? There must be someway to do this.... |
|
|||
|
Re: Newbie :-Trouble aligning text within div tag
The closest I think you can come is something like this:
|
|
|||
|
Re: Newbie :-Trouble aligning text within div tag
Well, afer several trial and error.. i gaveup on css for this
I used table and gave teh feater as background for the cell .. .. not happy.. but works thanks guys for the response Deepa |
|
|||
|
Re: Newbie :-Trouble aligning text within div tag
Table huh?? If you thinks it solved your entire problem, you are wrong. By using table, you will have loading problem (slow loading) compare if you just use css.
That's how everyone learn in here! Find a problem and beat the hell of it until they solved it! We not encourage you to take the short easy way by using table for your layout. Hope that encourage you Cheers..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Newbie :-Trouble aligning text within div tag
yes monie.. i know.. table is not a wise way to do
but this is a stopgap arrangement for me .. for that matter.. i hate tables myself... i used css div at all times ... but i am tottally exhaused.. i could not go any futher on this.. |
|
||||
|
Re: Newbie :-Trouble aligning text within div tag
Deepa,
Never give up, take a few hours / days away from the problem then come back to it with fresh eyes. That seems to work for me. Anyway, try the following, it seems to work for me in FF, IE7 an IE6 but you will need to test in Safari and Opera (if you are interested to see if it works across all browsers.
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
Last edited by welshstew; Nov 29th, 2007 at 08:57. |
|
|||
|
Re: Newbie :-Trouble aligning text within div tag
Have a look here.
http://www.the-art-of-web.com/css/textoverimage/ scroll down to CSS section. Hope it helps. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS Aligning | Wesley | Web Page Design | 15 | Jan 20th, 2008 19:49 |
| GD Aligning? | PicoDeath | PHP Forum | 3 | Aug 2nd, 2007 16:14 |
| Vertically aligning text at the bottom | Donny Bahama | Web Page Design | 6 | Apr 16th, 2007 02:44 |
| Text formatting trouble | BGarner | Web Page Design | 4 | Jan 8th, 2007 11:47 |
| Formatting Text - XML newbie wants everything! | AceTutor | Other Programming Languages | 0 | Apr 28th, 2006 13:53 |