inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 5, 2010 20:52:16 GMT -8
This isn't related to any code and it isn't programming per say (as far as I'm concerned) so not sure if this goes here or not. This page I'm using "Make Your Own HTML Page" but it isn't the problem. I've used it many times before. I'm going crazy on how to get the page to stay vertically centered when clicking on a word or a letter. I realize that is what anchors do, bring you to that portion of the page but surely there is still a way to keep the page in the same spot as when you first go there. I've tried css positioning and perhaps I was doing it wrong. I've added <div>'s to try to keep it there with padding and margins and nothing works. Forgive me, I am not a coder but I'm trying to learn a little. I prefer figuring things out myself but in this case, I give up. O.K. I don't really give up but rather than spend hours trying things that don't work I thought I'd come here. Any ideas? (If it is something simple and obvious, I'm going to kick myself hard!, lol) Thanks.
|
|
inherit
39608
0
Nov 26, 2011 18:53:00 GMT -8
iDunk
Previously Computerpros
2,533
April 2005
computerpros
|
Post by iDunk on Sept 5, 2010 21:40:01 GMT -8
Didn't look at the page, but you should set both your left and right margins to auto, and alignment to center on the parent container.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 6, 2010 7:45:20 GMT -8
Thanks idunk,
This is what I have:
<div style="margin:0;text-align:center;"><div style="margin:0px auto; padding:0;width:728px;height:408px;text-align:center;">
I tried adding valign: center; which does nothing. The only time I got close to what I wanted was using absolute positioning but then I had difficulties getting other things lined up, probably because I don't know what I'm doing even though I think I do know what I'm doing. lol
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 13, 2010 23:15:16 GMT -8
O.K. I guess I'm on my own, dang nab it.
|
|
inherit
130228
0
Jul 11, 2024 19:19:59 GMT -8
Charles Stover
1,731
August 2008
gamechief
|
Post by Charles Stover on Sept 15, 2010 4:13:54 GMT -8
There is no standard for vertical align for text that is longer than one line. If it word-wraps, you're SOL. So don't vertical align.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 15, 2010 14:41:58 GMT -8
Charles, Did you happen to look at the page? I'm not talking text, I'm talking the whole page. I know I said I want it centered vertically but I actually want it to stay at the top instead of jumping down as soon as click on a letter. You have to look at the page and then click on a word or letter or you won't know what I'm talking about.
Maybe I should have put this on a test site. Maybe this is considered advertising. Sorry if I did this wrong.
I do appreciate you trying to help.
|
|
inherit
fishgomoo
85493
0
Nov 19, 2012 13:59:58 GMT -8
dude
cows go glug
2,539
July 2006
dudelicious
|
Post by dude on Sept 15, 2010 15:27:29 GMT -8
The way you're doing it at the moment isn't particularly elegant anyway - I think it would be nicer if when you click a letter just the words under that letter show up in the left column then when you click on the word, just that definition shows up. This could be easily done with javascript and I suspect if you asked nicely someone could help you with that (I'm trying to be careful how I word this as asking me would not be helpful as my javascript knowledge is ... limited). I don't think there's really any other way just to fix your code without js.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 16, 2010 1:11:34 GMT -8
Thanks for your response Dude. You are dead right, I don't like it this way either and I was working on fixing that until I got fixated on this jumping thing. I did get IE to at least show my banner (instead of cutting it off)on my test site. There is no jumping at all in FF, it is near perfect and how I wish it would look in IE....except one stupid thing, all the proboards ads and text overlaps the bottom of my last table. Now on IE it doesn't. Fix one thing ya break another. I think I may just rethink the whole lay out since we both know it isn't so pretty anyway. And I so badly wanted to keep it simplistic. Frustrating. Thanks so much for your input.
|
|