The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> image and text line in same row centered..
fensi88
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
fensi88
post Jun 5 2012, 02:26 PM
Post #3


Newbie
*

Group: Members
Posts: 17
Joined: 2-December 11
From: Beograd
Member No.: 15,993



QUOTE(Frederiek @ Jun 5 2012, 10:42 AM) *

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 04:55 AM