Forum Moderators: not2easy
I have a 3-column CSS layout with a header. The header is only my logo. Digitalhost recommends the H1 and the 1st sentence of the first paragraph contain keywords used in the title.
Here's the problem: My real first sentence is in the center content div. But with a 3-column layout, the HTML shows the leftnav div column as the first sentence.
So can you put the center content div before the leftnav div in the HTML to accomplish the digitalhosts' first sentence/first paragraph recommendation?
Thanks in advance, WFN :)
CSS:
body { height: 100%; }
.center { width: 400px; float: right; height: 100%; }
.leftcol { width: 580px; float: left; height: 100%; }
.rightcol { width: 180px; float: right; height: 100%; }
.head { position: absolute; top: 0; width: 760px; height: 70px; }
HTML:
<body>
<div style="width: 760px;margin-top:70px;height: 100%">
<div class="leftcol">
<div class="center"> /* Main Content */ </div>
/* Left Column Content*/
</div>
<div class="rightcol"> /* Right Column Content*/ </div>
</div>
<div style="clear: both"></div>
<div class="head">
/* Header tag - positioned absolute to the top of this page */
</div>
<div>
/* Footer tag */
</div>
</body>
In my original CSS, I used markup to be able to automatically change the header and center content width as you change the browser view window width (using the glish technique). Now I have some adjusting to do, but better now than later!
Thank you very much! WFN :)