|
| |
|
|
Mike_R
Posts: 124 Joined: 1/15/2003 Status: offline
|
CSS Absolute Positioning Question . . . I think? - 9/27/2003 20:20:38
When it comes to CSS, I know little more than what I've picked up in a couple of brief tutorials. I'm not quite ready to go there for my entire site yet, but I would like to incorporate one facet of CSS to solve a dilemma. Currently, I have my page content very far down the page. You have to get by my inordinate number of header images and left menu bar before the content appears. This, as I understand it, is not good for the SE spiders and getting indexed. So, what I would like to do is use some absolute positioning (please tell me if I'm using the wrong term here) to move the code for the content up in the page's code, but have it appear where it currently does when rendered. Is there a way to do this? Thanks Mike R
|
|
|
|
Boo
Posts: 136 Joined: 9/20/2002 Status: offline
|
RE: CSS Absolute Positioning Question . . . I think? - 9/28/2003 4:44:22
use a <div> to position the search text
|
|
|
|
Mike_R
Posts: 124 Joined: 1/15/2003 Status: offline
|
RE: CSS Absolute Positioning Question . . . I think? - 9/28/2003 9:21:38
Thanks, Boo. Forgive my ignorance, but how do you do that? I know DIV tags apply an effect to an entire section of code, but how would I use DIV to mark several lines of text and have them show up at a certain place on the page? Mike R
|
|
|
|
Mike_R
Posts: 124 Joined: 1/15/2003 Status: offline
|
RE: CSS Absolute Positioning Question . . . I think? - 9/30/2003 0:06:52
Donkey, thanks for the coding tips. I gave it a try and it works perfectly as long as the screen size is 1024 x 768. But when I try it in different size browsers, the contents shift right into my right sidebar. Is there a way to avoid that? Also, I placed my contents in a table. Is that the best way, or is it better to use boxes? I've never used them before. Mike
< Message edited by Mike_R -- 9/30/2003 12:08:07 AM >
|
|
|
|
Mike_R
Posts: 124 Joined: 1/15/2003 Status: offline
|
RE: CSS Absolute Positioning Question . . . I think? - 9/30/2003 14:56:08
Bobby, thanks for the advice. I think part of the problem is that I'm adding one CSS element to an essentially table-based layout. To give you a rough idea, I have a 770px wide table that is centered in the browser window and has 4 columns: 171px, 445px, 4px, and 150px. The 445px column is my "content column" and is where I am trying to absolutely position my content. But my content isn't centered on the page. When the content is absolutely positioned, however, it seems to want to "auto-center." This is, I think, what's throwing it off. I am probably going to have to redesign this layout, right? Mike
< Message edited by Mike_R -- 9/30/2003 3:25:39 PM >
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|