CSS - The Single Best Rule No One Told Me

Jun 20, 2005 - 1:39 pm 0 by
Filed Under Coding

CSS or Cascading Style Sheets have some amazing implications to help the SEO create better optimized pages without tables in addition to a fluid and clean design that not only helps visitors put helps search engines get to the content of your page. There is a very good thread on Crea8site Forums I wanted to highlight as its got some gems to take away for those that use CSS to design websites. Barry Welford started the thread with a tip that helps many browsers deal with DIV tags by using a containing block to help get the positioning right. He says "It's so simple too. It's always to use two divs one inside the other." He goes into detail that his tip works well for many browsers such as Firefox and IE that might treat the width, padding, and borders differently.

Some of the members go into detail why this is and not useful in most cases. Adrian goes into saying that unfortunately we wouldn't need to use the hack unless all browsers handled div's correctly, basically stating that the hack is using 2 div's to do the job of one. Most designers I run into don't go as far as the hack mentioned in the thread but instead use container div's for overall page layout as Adrian mentions. There are some good posts and information from some experts on how they design. Plus some nice resources for other sites to help with CSS. Felt this thread deserved a mention for its great content.

Check out CSS, Style, and Positioning - The Single Best Rule No One Told Me

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Rumbling, Manual Actions FAQs, Core Web Vitals Updates, AI, Bing, Ads & More - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Updates

Google Urges Patience As The March 2024 Core Update Continues To Rollout

Mar 18, 2024 - 7:51 am
Google

Official: Google Replaces Perspective Filter With Forums Filter

Mar 18, 2024 - 7:41 am
Google Maps

Google Business Profiles Now Offers Additional Review After Appeal Is Denied

Mar 18, 2024 - 7:31 am
Google Maps

EU Searchers Complaining About Google Maps Features Changes Related To DMA

Mar 18, 2024 - 7:21 am
Google

Google Showing Fewer Sitelinks Within Search

Mar 18, 2024 - 7:11 am
Search Forum Recap

Daily Search Forum Recap: March 15, 2024

Mar 15, 2024 - 4:00 pm
Previous Story: Yahoo! to Update Index Tonight