May 24, 2012, 09:03:37 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Mobile users - Our forum is Tapatalk enabled.
http://www.tapatalk.com/
Home
Help
Search
Login
Register
DotDragnet
>
The Creative Side
>
On the web
>
Images wont stay aligned, WP
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Images wont stay aligned, WP (Read 646 times)
Matt
DDN Contribs
Hero Member
Posts: 1710
Images wont stay aligned, WP
«
on:
December 15, 2011, 09:18:01 AM »
This is probably a CSS error of mine
But these three images are set left, centre and right alligned, and appear on a level in the WP editor, but not on the page:
http://www.reproglass.co.uk/2011/12/05/tulip-oil-lamp-shades/
Can anyone please let me know why?
Thanks
Logged
Mattian - IT Support & Website Design
|
@mattian
|
@msetchell
Jem
Sr. Member
Posts: 469
Re: Images wont stay aligned, WP
«
Reply #1 on:
December 15, 2011, 09:30:28 AM »
It's because of the 'display:block;' on .aligncenter
Take off aligncenter, give it a margin-left of 100px ish to artificially push it into the middle.
Logged
oi.
Matt
DDN Contribs
Hero Member
Posts: 1710
Re: Images wont stay aligned, WP
«
Reply #2 on:
December 15, 2011, 09:35:42 AM »
Quote from: Jem on December 15, 2011, 09:30:28 AM
It's because of the 'display:block;' on .aligncenter
Take off aligncenter, give it a margin-left of 100px ish to artificially push it into the middle.
Thing is its set at that through the 'middle' align through the editor, so how can I make it do that for everything middle aligned?
Thanks Jem!
Logged
Mattian - IT Support & Website Design
|
@mattian
|
@msetchell
sarahA
DDN Contribs
Hero Member
Posts: 2184
Re: Images wont stay aligned, WP
«
Reply #3 on:
December 15, 2011, 09:55:55 AM »
remove display: block on the class aligncenter? Or don't use centre/middle in the editor.
alternatively put a div around the images, give than an ID and override the settings for #id .aligncenter
Logged
Stuff By Me
:
Photos
Matt
DDN Contribs
Hero Member
Posts: 1710
Re: Images wont stay aligned, WP
«
Reply #4 on:
December 15, 2011, 10:50:26 AM »
Quote from: sarahA on December 15, 2011, 09:55:55 AM
remove display: block on the class aligncenter? Or don't use centre/middle in the editor.
alternatively put a div around the images, give than an ID and override the settings for #id .aligncenter
Thanks, that CSS change did it, Client likes to move stuff around, so needed it to be easy as possible
Logged
Mattian - IT Support & Website Design
|
@mattian
|
@msetchell
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Jee's Forum of Appalling Jokes
-----------------------------
The Creative Side
-----------------------------
=> Arty stuff
=> Photography
=> On the web
-----------------------------
The Tech Side
-----------------------------
=> Tech stuff
=> Hardware & Software
-----------------------------
The Business Side
-----------------------------
=> Anything business related
-----------------------------
The Practical Side
-----------------------------
=> Practical Advice
DotDragnet
>
The Creative Side
>
On the web
>
Images wont stay aligned, WP
Loading...