Aug 18, 2014 03:07 PM
(This post was last modified: Aug 18, 2014 03:08 PM by yasje.)
hello,
i am trying to put some text links to center it
where the red lines are i want it there, i hope you guys can help me
Screenshot example
May want to fix your title, it says center twice.
Also the image isn't loading for me.
(Aug 18, 2014 03:08 PM)Grievοus Wrote: May want to fix your title, it says center twice.
Also the image isn't loading for me.
screenshot now working and the title is right :P
.yourclass {
text-align:center;
}
(Aug 18, 2014 03:19 PM)theAbsolute Wrote: .yourclass {
text-align:center;
}
Thanks but now they moved to the right but i want to center in the middle...
i want this:P
Center
DO NOT DEAL WITH THIS MEMBER
Aug 18, 2014 04:11 PM
(This post was last modified: Aug 18, 2014 04:11 PM by idkwhatimdoing.)
(Aug 18, 2014 03:27 PM)yasje Wrote: Thanks but now they moved to the right but i want to center in the middle...
i want this:P
Center
You could use
Change 50px to whatever you want.
Aug 19, 2014 02:12 AM
(This post was last modified: Aug 19, 2014 02:14 AM by yasje.)
(Aug 18, 2014 04:11 PM)idkwhatimdoing Wrote: You could use
Change 50px to whatever you want.
Thanks for your answer, but it destroys the layout but thanks for the thinkin 🤝
PS: i got the answer!
Just use enter code in the html section where the navigaiton text is: <br>
And it will go to the place where you want it.
Thanks all for the help!
Yours sincerely.
~this can close
DO NOT DEAL WITH THIS MEMBER
just enter
<center><img src="yourimagepath.jpg"></center>.....
(Aug 18, 2014 04:11 PM)idkwhatimdoing Wrote: You could use
Change 50px to whatever you want. lmao
Use margin: 0px auto; to center with CSS.
Aug 19, 2014 06:16 AM
(This post was last modified: Aug 19, 2014 06:17 AM by yasje.)
(Aug 19, 2014 05:53 AM)simbe1 Wrote: just enter
<center><img src="yourimagepath.jpg"></center>.....
are you serious -.- its about texts not about images...
(Aug 19, 2014 05:58 AM)earthoX Wrote: lmao
Use margin: 0px auto; to center with CSS.
that is a center that only center in the line them self, i center it middle of the middle.
not middle of a line.
DO NOT DEAL WITH THIS MEMBER
I assume you're looking for vertical alignment which isn't as simple as you'd think.
Here's some help for you: css-tricks.com/centering-in-the-unknown/
DO NOT DEAL WITH THIS MEMBER
(Aug 19, 2014 04:58 PM)I Am Groot Wrote: Vertical alignment is actually pretty easy using absolute positioning, if you're using a fixed width and height.
View the fiddle I made
Ironically your fiddle shows content that isnt vertically aligned.
DO NOT DEAL WITH THIS MEMBER
(Aug 19, 2014 05:05 PM)I Am Groot Wrote: It's an example. The UL, given a fixed height and width, is centered.
Also - Why did you down rep me? I smell a bit of rep abuse. I was trying to help a fellow member, and I get negative reinforcement? Thanks a lot. No wonder why other forums are getting more popular now.
Provided a false example and duplicated anothers post without consulting the OP. It was justified.
Guys thanks both of you for the new tricks, i didnt know some of this methods!
Thank you very much! 🤝
DO NOT DEAL WITH THIS MEMBER
(Aug 20, 2014 08:40 AM)I Am Groot Wrote: That's not a false example. I guess I need to color code it for you. http://jsfiddle.net/5y9m85zc/2/. The ul, is clearly centered.
I was basing it off of the content rather than the block itself. It'd be a good idea to resize the block or to centralise the content within the block.
|