Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
vertical text align ?
Old 12-25-2010, 02:00 PM vertical text align ?
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
I work with HTML and wonder is there some code to put text near image(only one row, image author), but vertical alignment on right side of pic from bottom to top?
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE

Last edited by fensi88; 12-25-2010 at 02:01 PM..
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
 
Register now for full access!
Old 12-25-2010, 05:06 PM Re: vertical text align ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,391
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.candsdesign.co.uk/referen...ertical-align/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-25-2010, 06:16 PM Re: vertical text align ?
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
No, I want something like this:

So, I want that text "photo" to be near pic vertical as on this image. Is there some html code for that purpose?
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE

Last edited by fensi88; 12-25-2010 at 06:17 PM..
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 12-25-2010, 07:41 PM Re: vertical text align ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,391
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Nope. ...

Well, apart from setting a single character width element, writing the text in reverse and adding a linebreak (<br />) after each letter.


Which would NOT orientate the text as you require.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 12-25-2010 at 07:42 PM..
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-26-2010, 06:15 AM Re: vertical text align ?
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Nope. ...

Well, apart from setting a single character width element, writing the text in reverse and adding a linebreak (<br />) after each letter.


Which would NOT orientate the text as you require.
OK, let's try this: Is there some HTML code to rotate text for 90degree, then I will get what I want I think?
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 12-26-2010, 07:34 AM Re: vertical text align ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,391
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
HTML? Absolutely not .........



HOWEVER

With CSS
You could create your own font and embed that into for the page using font-face properties


Alternatively, for the browsers that support the CSS3 transfom properties

http://www.zenelements.com/blog/css3-transform/
http://snook.ca/archives/html_and_css/css-text-rotation

Current status is

webkit browsers (Safari and Chrome) do with webkit-transform. IE9 will have full support for transform, for Mozilla browsers you can use the moz-transform and some versions of Opera

Happy reading.

Or you could just use an image editor
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-26-2010, 11:40 AM Re: vertical text align ?
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
Thanks for answer and all these ideas!
Quote:
Originally Posted by chrishirst View Post
HTML? Absolutely not .........



HOWEVER

With CSS
You could create your own font and embed that into for the page using font-face properties


Alternatively, for the browsers that support the CSS3 transfom properties

http://www.zenelements.com/blog/css3-transform/
http://snook.ca/archives/html_and_css/css-text-rotation

Current status is

webkit browsers (Safari and Chrome) do with webkit-transform. IE9 will have full support for transform, for Mozilla browsers you can use the moz-transform and some versions of Opera

Happy reading.

Or you could just use an image editor
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 12-27-2010, 01:38 AM Re: vertical text align ?
Banned

Posts: 17
Name: Dhirendra kumar
Trades: 0
Hi,

The vertical-align property may be used to alter the vertical positioning of an inline element, relative to its parent element or to the element's line. (An inline element is one which has no line break before and after it, for example, EM, A, and IMG in HTML.)
The value may be a percentage relative to the element's line-height property, which would raise the element's baseline the specified amount above the parent's baseline. Negative values are permitted.
The value may also be a keyword. The following keywords affect the positioning relative to the parent element:
  • baseline (align baselines of element and parent)
  • middle (align vertical midpoint of element with baseline plus half the x-height--the height of the letter "x"--of the parent)
  • sub (subscript)
  • super (superscript)
  • text-top (align tops of element and parent's font)
  • text-bottom (align bottoms of element and parent's font)
  • The vertical-align property is particularly useful for aligning images. Some examples follow:
  • IMG.middle { vertical-align: middle }
    IMG { vertical-align: 50% }
    .exponent { vertical-align: super }
dhirendra.gvt is offline
Reply With Quote
View Public Profile
 
Old 12-27-2010, 08:50 AM Re: vertical text align ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,391
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
And after copy and pasting what skill are you going to try and master next?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to vertical text align ?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.53408 seconds with 12 queries