image and text line in same row centered.. |
image and text line in same row centered.. |
fensi88 |
Jun 5 2012, 10:34 AM
Post
#1
|
Newbie Group: Members Posts: 17 Joined: 2-December 11 From: Beograd Member No.: 15,993 |
In CSS how do I get that TEXT (GDE JE LUKA ROCCO MAGNOTTA?) and image are in the same row and centered horizontally and vertically like here?
My Webpage I do it using table but there is sure some easier way! Please tell me what I have to write in <head> and what in<body> to get the same "thing" as with table. |
Frederiek |
Jun 5 2012, 10:42 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
You can use the CSS float property.
See: - http://css.maxdesign.com.au/floatutorial/ - http://css-discuss.incutio.com/wiki/Main_Page (search for float on the page) As for the centering, look for "Centering objects" at css-discuss.incutio.com in the link above. |
fensi88 |
Jun 5 2012, 02:26 PM
Post
#3
|
Newbie Group: Members Posts: 17 Joined: 2-December 11 From: Beograd Member No.: 15,993 |
You can use the CSS float property. See: - http://css.maxdesign.com.au/floatutorial/ - http://css-discuss.incutio.com/wiki/Main_Page (search for float on the page) As for the centering, look for "Centering objects" at css-discuss.incutio.com in the link above. Thanks, I will read. |
Lo-Fi Version | Time is now: 24th April 2024 - 05:30 PM |