What Do I Have To Change? |
What Do I Have To Change? |
dsmith916 |
Sep 30 2013, 01:07 PM
Post
#1
|
Advanced Member Group: Members Posts: 162 Joined: 5-December 12 Member No.: 18,203 |
http://blog.duncansphotos.com/2012/07/blog-post_31.html
This should be an easy one for someone to knock out of the park... I can't get the image in this post to be centered on my blog. I want images this size to be equal on the left and the right, not sticking way out on the right like it is now. What do I need to change in my code to get this image to be centered? I'm also not sure why the lines in the nav bar do not span the page. |
pandy |
Oct 1 2013, 04:36 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,732 Joined: 9-August 06 Member No.: 6 |
Not that easy. For this specific image a left margin of -400px would do it. Of course the image will then cover the left side bar on most screens. I can't think if a broadbrush way to this so it will work with any and all images.
Basically, it's hard to center something that's 1600 pixels wide inside a much more narrow container. |
dsmith916 |
Oct 2 2013, 10:08 PM
Post
#3
|
Advanced Member Group: Members Posts: 162 Joined: 5-December 12 Member No.: 18,203 |
Not that easy. For this specific image a left margin of -400px would do it. Of course the image will then cover the left side bar on most screens. I can't think if a broadbrush way to this so it will work with any and all images. Basically, it's hard to center something that's 1600 pixels wide inside a much more narrow container. well how do I change the size of the container? which line of code is that? |
Frederiek |
Oct 3 2013, 08:07 AM
Post
#4
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
I just stumbled upon http://www.cssplay.co.uk/menu/scroller.html which might be of help to you.
|
Lo-Fi Version | Time is now: 26th April 2024 - 09:41 PM |