I have 1 picture link on my main page and it sits center horizontally. How can I also get it to sit centered vertically?
anyone know the html to make it sit at the center rather than the top of the screen.
thanks
azpix Goldmember 3,335 posts Likes: 19 Joined Oct 2006 Location: Chandler, Arizona USA More info | Mar 27, 2007 03:14 | #1 I have 1 picture link on my main page and it sits center horizontally. How can I also get it to sit centered vertically? Gear- 7d, 24-70L, sigma 70-200, Sigma 120-400, canon 50 1.4, Canon 100 2.0,sigma 10-20 and a DJI Mavic Pro Drone
LOG IN TO REPLY |
CrazyPuma Member 84 posts Joined Jun 2005 More info | Mar 27, 2007 22:16 | #2 If I understand what you're wanting correctly, there is no simple html command to achieve that. Canon EOS 20D / EF100mm F2.8 USM Macro / +the kit lens that I now feel like throwing away.
LOG IN TO REPLY |
DoubleNegative *sniffles* 10,533 posts Likes: 11 Joined Mar 2006 Location: New York, USA More info | Mar 28, 2007 00:35 | #3 There are a few ways to do this - CSS, DHTML and Javascript would be my guesses, offhand. La Vida Leica!
LOG IN TO REPLY |
rlrouse Senior Member 884 posts Likes: 1 Joined Jan 2005 Location: Southwestern Virginia More info | Try creating a table with one cell and set the vertical alignment of the cell to middle (VALIGN).
LOG IN TO REPLY |
jrotello Member 104 posts Likes: 1 Joined Nov 2005 Location: Roscoe, IL More info | This should do it for you.
-Jason
LOG IN TO REPLY |
CrazyPuma Member 84 posts Joined Jun 2005 More info | Mar 28, 2007 14:36 | #6 Using the html height attribute to set the height of a table is generally not recommended, as it isn't considered valid code. Which isn't to say that it cannot work - particularly if you don't put that "doc type" line at the top of your scripted pages - but it may be inconsistent. And of course, if you ever decide to put content in that table other than that single image, and thus the content becomes "taller" than a users browser window, it can all go phooley. Canon EOS 20D / EF100mm F2.8 USM Macro / +the kit lens that I now feel like throwing away.
LOG IN TO REPLY |
![]() | x 1600 |
| y 1600 |
| Log in Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!
|
| ||
| Latest registered member is Thunderstream 1863 guests, 100 members online Simultaneous users record so far is 15,144, that happened on Nov 22, 2018 | |||