Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 08-02-2008, 06:41 PM CSS help, please!
kline11's Avatar
SearchBliss Web Tools

Latest Blog Post:
Oracle Embraces the Cloud
Posts: 1,724
Name: John
Location: USA
Trades: 0
I want a left block, center content, and a right block. If you look at SearchBliss.com now it looks fine, but I want to change the actual page order so the center content is at the top (for SE's).

Example:
content
sidebar-left
sidebar-right

When I change "content" margin to auto, it centers as it should, but the sidebars show on either side BELOW IT. What am I missing? Or is this impossible to do having "content" at the top of the page?


CSS code:

#page {
width: 890px;
margin: 0 auto;
padding: 10px 0;
}
#content {
margin: 0 auto;
width: 395px;
}
#sidebar-right {
float: right;
width: 240px;
}
#sidebar-left {
float: left;
width: 240px;
}

HTML code:

<div id="page">
<div id="content">THE CONTENT</div>
<div id="sidebar-left ">LEFT SIDE ADS</div>
<div id="sidebar-right ">RIGHT SIDE ADS</div>
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
kline11 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-02-2008, 10:42 PM Re: CSS help, please!
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 8,936
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
I'm not sure I understand, then, what you're wanting to do. Are you wanting content at the top while still having your three-column layout below it? If that's the case just create another div above what you have.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-03-2008, 03:31 AM Re: CSS help, please!
Junior Talker

Posts: 1
Trades: 0
so.... what i would do is just float everything 'left' and just put left-padding on the content and the sidebar-right.

You are just gunna have to make sure that the width and and margins of the sidebars and content add up to to 890px + the padding of the #page

so your divs would prolly look something like this:

CSS code:

#page {
width: 890px;
margin: 0 auto;
padding: 10px 0;
height:auto;
}
#content {
float:left;
margin-left:20px;
width: 395px;
height:auto;
}
#sidebar-right {
float: left;
margin-left:20px;
width: 240px;
height:auto;
}
#sidebar-left {
float: left;
width: 240px;
height:auto;
}

HTML code:

<div id="page">
<div id="sidebar-left ">LEFT SIDE ADS</div>
<div id="content">THE CONTENT</div>
<div id="sidebar-right ">RIGHT SIDE ADS</div>

** this is just how i would do it but feel free to make changes.... and you might have to adjust width and to make it compatible with the annoying IE6

Last edited by LadynRed; 08-03-2008 at 05:19 PM..
kenjwho11 is offline
Reply With Quote
View Public Profile
 
Old 08-03-2008, 09:07 AM Re: CSS help, please!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You are wasting your time and effort John.

It make zero difference for SEs where content is placed in the source code.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-03-2008, 01:49 PM Re: CSS help, please!
kline11's Avatar
SearchBliss Web Tools

Latest Blog Post:
Oracle Embraces the Cloud
Posts: 1,724
Name: John
Location: USA
Trades: 0
Quote:
Originally Posted by chrishirst View Post
You are wasting your time and effort John.

It make zero difference for SEs where content is placed in the source code.
The problem is the left sidebar are all outgoing links, as well as the right sidebar. This doesn't make a difference with SE's? I was under the impression that it does or may.

To clarify, here is what I want (UNLESS YOU ARE CORRECT, CHRIS, about SE's not factoring this as far as on page SEO is concerned):

I want
*CONTENT *
*LEFT SIDEBAR*
*RIGHT SIDEBAR*
in order on the HTML page, but have it display as
* LEFT SIDEBAR *| *CONTENT* | *RIGHT SIDEBAR*
in the browser. Is this possible?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
kline11 is offline
Reply With Quote
View Public Profile
 
Old 08-03-2008, 05:20 PM Re: CSS help, please!
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Yes, it's possible, but as Chris mentioned, it's a waste of time, SE's don't care!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-04-2008, 02:42 PM Re: CSS help, please!
kline11's Avatar
SearchBliss Web Tools

Latest Blog Post:
Oracle Embraces the Cloud
Posts: 1,724
Name: John
Location: USA
Trades: 0
I beleive it may in Google, so I would like to test the theory. I just can't get it to work. You say it is possible, so do you know how?
Thanks
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
kline11 is offline
Reply With Quote
View Public Profile
 
Old 08-04-2008, 03:07 PM Re: CSS help, please!
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Google doesn't care either.

http://css-discuss.incutio.com/?page=FloatLayouts

http://webhost.bridgew.edu/etribou/layouts/skidoo_too/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-04-2008, 09:56 PM Re: CSS help, please!
Skilled Talker

Posts: 77
Name: Bill Benson
Location: Florida
Trades: 0
Search engines including Y and G read the source from top to bottom and only read so many lines. Eventually they get around to reading the entire page. It is a good SEO practice to make their life easier. This includes keeping style sheets and js off page as well as putting the most important content at the top of the page. Unless the most important content is the navigation, its best to put the navigation after the important content.
bill benson is offline
Reply With Quote
View Public Profile
 
Old 08-05-2008, 09:53 AM Re: CSS help, please!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
I have mixed feelings about this one. I have been told that the navigation generally IS the most important thing to the search engines, and that it BELONGS at the top of the page BEFORE the content. Generally speaking, however, the search engines are able to easily differentiate between your site navigation and the main content.

After all, your main content should be structured, starting with headers, and with important text in <strong>, perhaps. As search engines become more intelligent, where you actually put your content matters less, as long as it is displayed in a logical, hierarchical manner. I doubt Google, or anyone else, wants to penalize sites that have their navigation in a sidebar, for example, vs those who have it at the top.

Google can translate Chinese into English. I think they are smart enough to figure out where your content is.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-05-2008, 10:02 AM Re: CSS help, please!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Search engines including Y and G read the source from top to bottom and only read so many lines. Eventually they get around to reading the entire page.
Totally wrong. Search engines have NEVER read "x" no of lines then stopped. 3 - 4 years ago there was a physical limit on the number of kilobytes that would be loaded back to the DC by the crawler. This was 101Kb for Google and over 200Kb for Yahoo!. That limit went the way of the Dodo a long while ago and SEs will load and index much larger pages. There is still a physical limit of the KB that will be cached. However, this does not have any negative effect on the page indexing.
DO NOTE: This was a HTML source code limit so did NOT include images, Flash etc.
See the file sizes in these screenshots
file-size.png file-size2.png

Quote:
Unless the most important content is the navigation, its best to put the navigation after the important content.
No it isn't.
This whole mis-information seems to have come about because a site: query will show text snippets from the navigation (which is often first on the page). If you want to disprove this idea, simply add a word or phrase that is shown in the site footer and rerun the site search.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-05-2008, 02:15 PM Re: CSS help, please!
Skilled Talker

Posts: 77
Name: Bill Benson
Location: Florida
Trades: 0
Don't agree. I don't know many independent webmasters that do either.
bill benson is offline
Reply With Quote
View Public Profile
 
Old 08-05-2008, 07:01 PM Re: CSS help, please!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Well there are plenty that drink the CSS/SEO magic KoolAid rather than actually testing something.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-05-2008, 08:42 PM Re: CSS help, please!
Skilled Talker

Posts: 77
Name: Bill Benson
Location: Florida
Trades: 0
Yep, and I've tested it and I think that proper placement of code on your source page has an effect. If you do it right, it could help you, if you do it wrong it can hurt you, and tomorrow the SEO's may change the way they look at things.

If something may help you why not do it. Placing your key coding at the top has been shown to have a positive effect on SEO. I have tested it. Its also easy to see that on new sites G takes a casual look at a page. They come back later to make a more thorough exam. On new sites you will place faster by TELLING GOOGLE what the page is about, not making them go fetch.

So make Googles life easier by giving them better code that is easier to index. It won't hurt you and may help you. Its all the little stuff combined that will help you place better.
bill benson is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS help, please!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44776 seconds with 13 queries